Git Product home page Git Product logo

tm1638plus_pico's Introduction

Website Rss Donate

TM1638plus_PICO

Table of contents

Overview

  • Name: TM1638plus_PICO

  • Author: Gavin Lyons.

  • Description:

A Raspberry pi PICO, C++ SDK, RP2040 library to display data on a 8-digit TM1638 seven segment module.

  • Developed on
    1. Raspberry pi PICO RP2040
    2. SDK C++ complier G++ for arm-none-eabi
    3. CMAKE VScode

Examples

There are three examples files(main.cpp) in example folder, To select the one that builds comment it's path in, in the CMakeLists.txt file section add_executable section. Comment one path in and one only.

List No example file name Model Num Desc
1 Model1_TESTS/main.cpp 1 test routines for model 1
2 Model2_TESTS/main.cpp 2 test routines for model 2
3 Model3_TESTS/main.cpp 3 test routines for model 3

Hardware

Connections to RPI-PICO, pick any GPIO you want and change it the main.cpp:

  1. GPIO = STB = Strobe
  2. GPIO = CLK = Clock
  3. GPIO = DIO = Data input / output
  4. GND
  5. VCC 3.3V ( If VCC is set to 5V, level shift GPIO to 3.3V or damage could result.)

This library supports three variants of the TM1638, which for purposes of this documentation, will be named Model 1 ,Model 2 and Model 3. Pictured below from left to right.

 module pics

Model No Module Name LEDS Push buttons
1 TM1638 LED & KEY 8 red only 8
2 TM1638 KEYS, QYF 0 16
3 TM1638 V1.3 or LKM1638 8 bi color, red and green 8

See Also

This library is a port of my Arduino Library. There you will find the full documentation including the API, which is near identical to PICO except ::

  1. Extra examples files for Arduino and examples are .ino files.
  2. High freq data member flag is not needed in PICO library.
  3. PICO constructor has GPIO parameters in base class.
  4. In file dependancy graphs ,High level file includes will differ. #include "pico/stdlib.h" will be missing etc.

Arduino github Link

tm1638plus_pico's People

Contributors

gavinlyonsrepo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

koson

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.