christophe vermaelen
/
Matrix_8x8
Afficher Hello
Diff: lib_matrix.h
- Revision:
- 1:61f61158c345
diff -r bd34a367f642 -r 61f61158c345 lib_matrix.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lib_matrix.h Mon Mar 28 10:11:31 2022 +0000 @@ -0,0 +1,25 @@ +const unsigned char led_H[]= { + 0xFF,0x18,0x18,0x18,0x18,0x18,0x18,0xFF +}; //H +const unsigned char led_E[]= { + 0xFF,0xFF,0x99,0x99,0x99,0x99,0x99,0x99 +}; //E +const unsigned char led_L[]= { + 0xFF,0xFF,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0 +}; //L +const unsigned char led_O[]= { + 0x7E,0x81,0x81,0x81,0x81,0x81,0x81,0x7E +}; //O +const unsigned char led_W[]= { + 0x1F,0x60,0x80,0x40,0x40,0x80,0x60,0x1F +}; //W +const unsigned char led_blank[]= { + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +}; //blank +const unsigned char led_heart[]= { + 0x18,0x7E,0x7E,0xF8,0xF8,0x7E,0x7E,0x18 +}; //heart + +void disp(char c); +void SPI_Write2(unsigned char MSB, unsigned char LSB); +void Init_MAX7219(void);