OLED code cleanup

This commit is contained in:
ishtob 2017-03-22 15:19:01 -04:00 committed by GitHub
parent 80270a2791
commit d1865db599

View File

@ -216,7 +216,7 @@ bool iota_gfx_init(void) {
// the following Flip the display orientation 180 degrees // the following Flip the display orientation 180 degrees
send_cmd1(SegRemap); send_cmd1(SegRemap);
send_cmd1(ComScanInc); send_cmd1(ComScanInc);
*/end flip // end flip */
send_cmd2(SetComPins, 0x2); send_cmd2(SetComPins, 0x2);
send_cmd2(SetContrast, 0x8f); send_cmd2(SetContrast, 0x8f);
send_cmd2(SetPreCharge, 0xf1); send_cmd2(SetPreCharge, 0xf1);