it did work %)
This commit is contained in:
parent
b861fecbc4
commit
890b63991c
|
@ -11,20 +11,10 @@
|
||||||
uint8_t lcdBuffer[RESX*RESY_B];
|
uint8_t lcdBuffer[RESX*RESY_B];
|
||||||
int inverted = 0;
|
int inverted = 0;
|
||||||
|
|
||||||
/*
|
#define CS RB_LCD_CS
|
||||||
//TODO FIXME why doenst that work ?
|
#define SCK RB_SPI_SCK
|
||||||
#define CS RB_LCD_CS
|
#define SDA RB_SPI_MOSI
|
||||||
#define SCK RB_SPI_SCK
|
#define RST RB_LCD_RST
|
||||||
#define SDA RB_SPI_MOSI
|
|
||||||
#define RST RB_LCD_RST
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define CS 2,1
|
|
||||||
#define SCK 2,11
|
|
||||||
//#define SCK 2,8
|
|
||||||
#define SDA 0,9
|
|
||||||
//#define SDA 2,8
|
|
||||||
#define RST 2,2
|
|
||||||
|
|
||||||
void lcdWrite(uint8_t cd, uint8_t data)
|
void lcdWrite(uint8_t cd, uint8_t data)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue