项目作者: Radulfus

项目描述 :
AVR ASM Library to drive TM1638 from Titan Micro Electronics. It's a special circuit for LED control.
高级语言: Assembly
项目地址: git://github.com/Radulfus/TM1638.git
创建时间: 2017-07-06T14:21:26Z
项目社区:https://github.com/Radulfus/TM1638

开源协议:GNU General Public License v3.0

下载


TM1638

AVR ASM Library to drive the TM1638 chip from Titan Micro Electronics.

TM1638 is an IC dedicated to LED (light emitting diode display) drive control and equipped
with a keypad scan interface. It integrates MCU digital interface, data latch, LED drive, and
keypad scanning circuit.

Features
• CMOS technology
• 10 segments × 8 bits display
• Keypad scanning (8 × 3 bits)
• Brightness adjustment circuit (8-level adjustable duty ratio)
• Serial interfaces (CLK, STB, DIO)
• Oscillation mode: RC oscillation
• Built-in power-on reset circuit
• Package type: SOP28

This project claims the development of a driver in AVR assembly language.

Under Linux you can checkout the project as follows:

git clone https://github.com/Radulfus/TM1638.git

Assemble:

avra tm1638cc.asm

Upload to the MCU:

avrdude -c usbasp -p m32 -P usb -U flash:w:tm1638cc.hex

In the example above I use an ATMega32 and a USBASP.