LCD Driver, some teensy code, SDCard code, MBR/FAT32
This commit is contained in:
@@ -195,7 +195,7 @@ public:
|
||||
uint32_t res = 0xFFFFFFFF;
|
||||
readBytes(buf, 5); // dummy-byte + 4 data bytes
|
||||
chipDeselect();
|
||||
ESP_LOGI(MOD, "%d %d %d %d", buf[1],buf[2],buf[3],buf[4]);
|
||||
//ESP_LOGI(MOD, "%d %d %d %d", buf[1],buf[2],buf[3],buf[4]);
|
||||
read();
|
||||
}
|
||||
|
||||
@@ -216,7 +216,7 @@ public:
|
||||
void draw(uint16_t x, uint16_t y, uint16_t w, uint16_t h, const uint16_t* data) {
|
||||
chipSelect();
|
||||
setAddrWindow(x,y,w,h);
|
||||
const int len = w*h;
|
||||
// const int len = w*h;
|
||||
// for (int i = 0; i < len; ++i) {
|
||||
// spi::writeWord(data[i]);
|
||||
// }
|
||||
@@ -289,7 +289,8 @@ private:
|
||||
}
|
||||
|
||||
void wait() {
|
||||
vTaskDelay(100 / portTICK_PERIOD_MS);
|
||||
//vTaskDelay(100 / portTICK_PERIOD_MS);
|
||||
DELAY_MS(100);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user