christophe vermaelen
/
Matrix_8x8_4_afficheurs
Programme de démo pour la gestion de 4 afficheurs 64 leds
lib_matrix.h@1:61f61158c345, 2022-03-28 (annotated)
- Committer:
- vermaelen
- Date:
- Mon Mar 28 10:11:31 2022 +0000
- Revision:
- 1:61f61158c345
- Child:
- 2:675b923da5d2
v1;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vermaelen | 1:61f61158c345 | 1 | const unsigned char led_H[]= { |
vermaelen | 1:61f61158c345 | 2 | 0xFF,0x18,0x18,0x18,0x18,0x18,0x18,0xFF |
vermaelen | 1:61f61158c345 | 3 | }; //H |
vermaelen | 1:61f61158c345 | 4 | const unsigned char led_E[]= { |
vermaelen | 1:61f61158c345 | 5 | 0xFF,0xFF,0x99,0x99,0x99,0x99,0x99,0x99 |
vermaelen | 1:61f61158c345 | 6 | }; //E |
vermaelen | 1:61f61158c345 | 7 | const unsigned char led_L[]= { |
vermaelen | 1:61f61158c345 | 8 | 0xFF,0xFF,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0 |
vermaelen | 1:61f61158c345 | 9 | }; //L |
vermaelen | 1:61f61158c345 | 10 | const unsigned char led_O[]= { |
vermaelen | 1:61f61158c345 | 11 | 0x7E,0x81,0x81,0x81,0x81,0x81,0x81,0x7E |
vermaelen | 1:61f61158c345 | 12 | }; //O |
vermaelen | 1:61f61158c345 | 13 | const unsigned char led_W[]= { |
vermaelen | 1:61f61158c345 | 14 | 0x1F,0x60,0x80,0x40,0x40,0x80,0x60,0x1F |
vermaelen | 1:61f61158c345 | 15 | }; //W |
vermaelen | 1:61f61158c345 | 16 | const unsigned char led_blank[]= { |
vermaelen | 1:61f61158c345 | 17 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 |
vermaelen | 1:61f61158c345 | 18 | }; //blank |
vermaelen | 1:61f61158c345 | 19 | const unsigned char led_heart[]= { |
vermaelen | 1:61f61158c345 | 20 | 0x18,0x7E,0x7E,0xF8,0xF8,0x7E,0x7E,0x18 |
vermaelen | 1:61f61158c345 | 21 | }; //heart |
vermaelen | 1:61f61158c345 | 22 | |
vermaelen | 1:61f61158c345 | 23 | void disp(char c); |
vermaelen | 1:61f61158c345 | 24 | void SPI_Write2(unsigned char MSB, unsigned char LSB); |
vermaelen | 1:61f61158c345 | 25 | void Init_MAX7219(void); |