Advertisement
Guest User

Untitled

a guest
Dec 13th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. uint8_t digit[10] = {
  2. B00111111, // "0"
  3. B00000110, // "1"
  4. B01011011, // "2"
  5. B01001111, // "3"
  6. B01100110, // "4"
  7. B01101101, // "5"
  8. B01111101, // "6"
  9. B00000111, // "7"
  10. B01111111, // "8"
  11. B01101111, // "9"
  12. };
  13.  
  14. seg7.writeGPIO(digit[i]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement