Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Arduino.h>
- #include <TM1637Display.h>
- #define CLK 2
- #define DIO 3
- const uint8_t SEG_HELL[] = {
- SEG_B | SEG_C | SEG_E | SEG_F | SEG_G, // H
- SEG_A | SEG_D | SEG_E | SEG_F | SEG_G, // E
- SEG_F | SEG_E | SEG_D, // L
- SEG_F | SEG_E | SEG_D, // L
- };
- TM1637Display display(CLK, DIO);
- void setup()
- {
- }
- void loop()
- {
- display.setBrightness(7, true);
- display.setSegments(SEG_HELL);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement