Code Monkey home page Code Monkey logo

ledc68's Introduction

TM1637 TM1637
TM1637 is a simple C library for working with 7-segment LED controllers from Titan Micro Electronics. It features a 2-wire interface (Clock + Data), but doesn't conform to I2C nor SPI standards. It can control up to 6 7-segment digits along with decimal points or colons as well as has 16 button/keyboard inputs. The datasheet says that it runs on 5V with 5V logic, but I've run it on 3.3V (both Vcc and signals) and it seems to behave correctly. Since the communication protocol is custom, it requires "bit-banging" of 2 IO pins to control it.
This repo contains both an Arduino Library + demo sketch as well as a Linux library + demo app. It allows controlling the display with 3 simple functions:

  1. Init
  2. Set Brightness
  3. Display string (formatted text)

Building on Linux

make
make -f make_demo
sudo ./demo

Copyright (c) 2018 BitBank Software, Inc.
Written by Larry Bank
[email protected]

ledc68's People

Contributors

bitbank2 avatar

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.