Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: ili9163lcd.cpp
- Revision:
- 4:016fae067de1
- Parent:
- 3:9caa79f40909
- Child:
- 5:570ba49da81c
diff -r 9caa79f40909 -r 016fae067de1 ili9163lcd.cpp
--- a/ili9163lcd.cpp Sat Jan 02 01:42:56 2021 +0000
+++ b/ili9163lcd.cpp Sat Jan 02 01:49:33 2021 +0000
@@ -271,11 +271,6 @@
lcdWriteCommand(WRITE_MEMORY_START);
for(uint16_t page = 0;page < 160;page++){
for(pixel = 0; pixel < 128; pixel++){
- //if(pixel < 32) colour = decodeRgbValue((pixel&0b11111)>>1, 0, 0);
- //else if(pixel < 64) colour = decodeRgbValue(0, (pixel&0b11111)>>1, 0);
- //else if(pixel < 96) colour = decodeRgbValue(0, 0, (pixel&0b11111)>>1);
- //else colour = 0;
- //lcdWriteData(colour >> 8, colour);
lcdWriteData(line_buf[pixel] >> 8, line_buf[pixel]);
}
}