Rev 515 | Rev 728 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 515 | Rev 518 | ||
---|---|---|---|
Line 5933... | Line 5933... | ||
5933 | * put the above chars in the memory of the MAX7456 |
5933 | * put the above chars in the memory of the MAX7456 |
5934 | * TODO: read out character, compare and write only if different |
5934 | * TODO: read out character, compare and write only if different |
5935 | */ |
5935 | */ |
5936 | void learn_all_chars_pgm(void) { |
5936 | void learn_all_chars_pgm(void) { |
5937 | char *pointer; |
5937 | char *pointer; |
5938 | for (uint16_t c = 0; c < 255; c++) { |
5938 | for (uint16_t c = 0; c < 256; c++) { |
5939 | LED3_ON |
5939 | LED3_ON |
5940 | // select character to write (CMAH) |
5940 | // select character to write (CMAH) |
5941 | spi_send_byte(0x09, c); |
5941 | spi_send_byte(0x09, c); |
Line 5942... | Line 5942... | ||
5942 | 5942 |