add TM1637 writing commands

This commit is contained in:
eddyem
2019-06-05 17:04:50 +03:00
parent eb1b91cee5
commit a4c08dc741
15 changed files with 1023 additions and 1 deletions

26
F0-nolib/TM1637/Readme.md Normal file
View File

@@ -0,0 +1,26 @@
4-digit "time" LED indicator based on TM1637
=============================
FOR STM32F051!!!
WARNING! Only writing data!!! Can't read keys state.
## GPIO
- I2C: PB6 (SCL) & PB7 (SDA)
- USART1: PA9/PA10
## UART
115200N1, not more than 100ms between data bytes in command.
To turn ON human terminal (without timeout) send "####".
## Protocol
All commands are in brackets: `[ command line ]`.
'[' clears earlier input; '\n', '\r', ' ', '\t' are ignored.
All messages are asynchronous!
## Commands
0..9 - send data
A - display 'ABCD'
G - get keyboard status (don't work)
Hhex - display 'hex' as hex number
Nnum - display 'num' as decimal number