/C-OSD/trunk/max7456_software_spi.c |
---|
25,6 → 25,7 |
#include <string.h> |
#include <stdlib.h> |
#include "max7456_software_spi.h" |
#include "usart0.h" |
char conv_array[7]; // general array for number -> char conversation |
70,6 → 71,15 |
// end sending |
MAX_CS_HIGH |
#ifdef SERIALDEBUGDRAW |
uint8_t c = address + byte; |
usart0_puts("#3"); |
usart0_putc(address); |
usart0_putc(byte); |
usart0_putc(c); |
usart0_puts("\n"); |
#endif |
} |
/** |