many many small changes
switched to the new logging here and there some cleanups worked on i2S base class for files id3 parsing
This commit is contained in:
@@ -189,6 +189,15 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void fill(uint16_t x, uint16_t y, uint16_t w, uint16_t h, uint16_t color) {
|
||||
setAddrWindow(x,y,w,h);
|
||||
modeDATA();
|
||||
const uint32_t entries = uint32_t(w) * uint32_t(h);
|
||||
for (uint32_t i = 0; i < entries; ++i) {
|
||||
writeByte(color>>8); writeByte(color>>0);
|
||||
}
|
||||
}
|
||||
|
||||
/** draw 5-6-5 encoded input data */
|
||||
void draw(uint16_t x, uint16_t y, uint16_t w, uint16_t h, const uint16_t* data) {
|
||||
setAddrWindow(x,y,w,h);
|
||||
|
||||
Reference in New Issue
Block a user