Programme de démo pour la gestion de 4 afficheurs 64 leds

Dependencies:   mbed

lib_matrix.h

Committer:
vermaelen
Date:
2022-03-28
Revision:
1:61f61158c345
Child:
2:675b923da5d2

File content as of revision 1:61f61158c345:

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);