diff --git a/include/st7735.h b/include/st7735.h index 275db83..66704a5 100644 --- a/include/st7735.h +++ b/include/st7735.h @@ -16,10 +16,11 @@ enum ST7735_DISPLAY_TYPE { ST7735_RED_18_GREENTAB, ST7735_RED_18_REDTAB, ST7735_RED_18_BLACKTAB, - ST7735_RED144_GREENTAB + ST7735_RED144_GREENTAB, + ST7735_RED144_JAYCAR }; -static const enum ST7735_DISPLAY_TYPE st7735_type = ST7735_RED_18_BLACKTAB; +static const enum ST7735_DISPLAY_TYPE st7735_type = ST7735_RED144_JAYCAR; // ST7735 commands diff --git a/spi.c b/spi.c index 3c0813d..ff3f25e 100644 --- a/spi.c +++ b/spi.c @@ -2,10 +2,10 @@ void spi_init(void) { // Set MOSI and SCK, SS/CS output, all others input - DDRB = (1<