|  | Erriez DHT22 library for Arduino
    1.2.0
    AM2302/AM2303 DHT22 temperature and humidity sensor library for Arduino | 
TM1637 library for Arduino. More...
#include <Arduino.h>

Go to the source code of this file.
| Classes | |
| class | TM1637 | 
| TM1637 class.  More... | |
| Macros | |
| #define | TM1637_CMD_DATA 0x40 | 
| Display data command. | |
| #define | TM1637_CMD_CTRL 0x80 | 
| Display control command. | |
| #define | TM1637_CMD_ADDR 0xc0 | 
| Display address command. | |
| #define | TM1637_DATA_WRITE 0x00 | 
| Write data. | |
| #define | TM1637_DATA_READ_KEYS 0x02 | 
| Read keys. | |
| #define | TM1637_DATA_AUTO_INC_ADDR 0x00 | 
| Auto increment address. | |
| #define | TM1637_DATA_FIXED_ADDR 0x04 | 
| Fixed address. | |
| #define | TM1637_CTRL_PULSE_1_16 0x00 | 
| Pulse width 1/16. | |
| #define | TM1637_CTRL_PULSE_2_16 0x01 | 
| Pulse width 2/16. | |
| #define | TM1637_CTRL_PULSE_4_16 0x02 | 
| Pulse width 4/16. | |
| #define | TM1637_CTRL_PULSE_10_16 0x03 | 
| Pulse width 10/16. | |
| #define | TM1637_CTRL_PULSE_11_16 0x04 | 
| Pulse width 11/16. | |
| #define | TM1637_CTRL_PULSE_12_16 0x05 | 
| Pulse width 12/16. | |
| #define | TM1637_CTRL_PULSE_13_16 0x06 | 
| Pulse width 13/16. | |
| #define | TM1637_CTRL_PULSE_14_16 0x07 | 
| Pulse width 14/16. | |
| #define | TM1637_CTRL_DISPLAY_OFF 0x00 | 
| Display off. | |
| #define | TM1637_CTRL_DISPLAY_ON 0x08 | 
| Display on. | |
| #define | TM1637_NUM_GRIDS 6 | 
| Number of grid registers. | |
| #define | TM1637_CLK_LOW() { digitalWrite(_clkPin, LOW); } | 
| CLK pin low. | |
| #define | TM1637_CLK_HIGH() { digitalWrite(_clkPin, HIGH); } | 
| CLK pin high. | |
| #define | TM1637_CLK_INPUT() { pinMode(_clkPin, INPUT); } | 
| CLK pin input. | |
| #define | TM1637_CLK_OUTPUT() { pinMode(_clkPin, OUTPUT); } | 
| CLK pin output. | |
| #define | TM1637_DIO_LOW() { digitalWrite(_dioPin, LOW); } | 
| DIO pin low. | |
| #define | TM1637_DIO_HIGH() { digitalWrite(_dioPin, HIGH); } | 
| DIO pin high. | |
| #define | TM1637_DIO_INPUT() { pinMode(_dioPin, INPUT); } | 
| DIO pin input. | |
| #define | TM1637_DIO_OUTPUT() { pinMode(_dioPin, OUTPUT); } | 
| DIO pin output. | |
| #define | TM1637_DIO_READ() ( digitalRead(_dioPin) ) | 
| DIO pin read. | |
| #define | TM1637_PIN_DELAY() | 
| Delay between pin changes. | |
TM1637 library for Arduino.
Source: https://github.com/Erriez/ErriezTM1637 Documentation: https://erriez.github.io/ErriezTM1637
Command / register definitions MSB LSB 7 6 5 4 3 2 1 0 ----------------- 0 1 - - - - - - Data command 1 0 - - - - - - Display control command 1 1 - - - - - - Address command 7.1 Data Command Set MSB LSB 7 6 5 4 3 2 1 0 ----------------- 0 1 0 0 0 - 0 0 Write display data 0 1 0 0 0 - 1 0 Read key scan data 0 1 0 0 0 0 - - Auto address increment 0 1 0 0 0 1 - - Fixed address 7.2 Address command set MSB LSB 7 6 5 4 3 2 1 0 ----------------- 1 1 0 - A A A A Address 0x00..0x0F 7.3 Display Control MSB LSB 7 6 5 4 3 2 1 0 ----------------- 1 0 0 0 - 0 0 0 Set the pulse width of 1 / 16 1 0 0 0 - 0 0 1 Set the pulse width of 2 / 16 1 0 0 0 - 0 1 0 Set the pulse width of 4 / 16 1 0 0 0 - 0 1 1 Set the pulse width of 10 / 16 1 0 0 0 - 1 0 0 Set the pulse width of 11 / 16 1 0 0 0 - 1 0 1 Set the pulse width of 12 / 16 1 0 0 0 - 1 1 0 Set the pulse width of 13 / 16 1 0 0 0 - 1 1 1 Set the pulse width of 14 / 16 1 0 0 0 0 - - - Display off 1 0 0 0 1 - - - Display on
Definition in file ErriezTM1637.h.
 1.8.13
 1.8.13