From ef662477d9a8cf44bbdef9139669ca7fdbdd8610 Mon Sep 17 00:00:00 2001 From: olikraus Date: Sat, 26 Nov 2016 09:31:46 +0100 Subject: [PATCH] removed st7920 rw line setting (fixed this in the hardware itself) --- sys/arduino/u8g2_page_buffer/FPS/FPS.ino | 4 ---- sys/arduino/u8g2_page_buffer/U8g2Logo/U8g2Logo.ino | 4 ---- 2 files changed, 8 deletions(-) diff --git a/sys/arduino/u8g2_page_buffer/FPS/FPS.ino b/sys/arduino/u8g2_page_buffer/FPS/FPS.ino index f02fffa0..0a37e863 100644 --- a/sys/arduino/u8g2_page_buffer/FPS/FPS.ino +++ b/sys/arduino/u8g2_page_buffer/FPS/FPS.ino @@ -375,10 +375,6 @@ void show_result(const char *s, uint16_t fps) { void setup(void) { 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 // u8g2.setRot180(); diff --git a/sys/arduino/u8g2_page_buffer/U8g2Logo/U8g2Logo.ino b/sys/arduino/u8g2_page_buffer/U8g2Logo/U8g2Logo.ino index 9e0fd18e..b22c2e41 100644 --- a/sys/arduino/u8g2_page_buffer/U8g2Logo/U8g2Logo.ino +++ b/sys/arduino/u8g2_page_buffer/U8g2Logo/U8g2Logo.ino @@ -120,10 +120,6 @@ void setup(void) { //pinMode(18, OUTPUT); //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.setFlipMode(0);