removed st7920 rw line setting (fixed this in the hardware itself)
This commit is contained in:
parent
3b6d1fc794
commit
ef662477d9
|
@ -375,10 +375,6 @@ void show_result(const char *s, uint16_t fps) {
|
||||||
void setup(void) {
|
void setup(void) {
|
||||||
u8g2.begin();
|
u8g2.begin();
|
||||||
|
|
||||||
/* U8g2 Project: ST7920 128x64 Test Board: Set R/W to 0 */
|
|
||||||
pinMode(16, OUTPUT); // R/W
|
|
||||||
digitalWrite(16, 0);
|
|
||||||
|
|
||||||
// flip screen, if required
|
// flip screen, if required
|
||||||
// u8g2.setRot180();
|
// u8g2.setRot180();
|
||||||
|
|
||||||
|
|
|
@ -120,10 +120,6 @@ void setup(void) {
|
||||||
//pinMode(18, OUTPUT);
|
//pinMode(18, OUTPUT);
|
||||||
//digitalWrite(18, 1);
|
//digitalWrite(18, 1);
|
||||||
|
|
||||||
/* U8g2 Project: ST7920 128x64 Test Board: Set R/W to 0 */
|
|
||||||
//pinMode(16, OUTPUT); // R/W
|
|
||||||
//digitalWrite(16, 0);
|
|
||||||
|
|
||||||
|
|
||||||
u8g2.begin();
|
u8g2.begin();
|
||||||
u8g2.setFlipMode(0);
|
u8g2.setFlipMode(0);
|
||||||
|
|
Loading…
Reference in New Issue