yashwanthshady / u8glib

Automatically exported from code.google.com/p/u8glib
Other
0 stars 0 forks source link

support st7920 for chipkit #127

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
it has been reported (chipkit forum) that this does not work.
--> maybe polarity has to be changed (like for hw spi)

Original issue reported on code.google.com by olikr...@gmail.com on 20 Dec 2012 at 9:53

GoogleCodeExporter commented 8 years ago
fixed: port access expanded to 16 bit, clock polarity changed

Original comment by olikr...@gmail.com on 21 Dec 2012 at 5:30

Attachments:

GoogleCodeExporter commented 8 years ago
fixed

Original comment by olikr...@gmail.com on 21 Dec 2012 at 9:16

GoogleCodeExporter commented 8 years ago
still not working, retest with
U8GLIB_ST7920_128X64 u8g(2,7,6, U8G_PIN_NONE);

Original comment by olikr...@gmail.com on 22 Dec 2012 at 8:04

GoogleCodeExporter commented 8 years ago

Original comment by olikr...@gmail.com on 22 Dec 2012 at 8:04

GoogleCodeExporter commented 8 years ago
The following pin assignments are working without problems:
U8GLIB_ST7920_192X32 u8g(13, 11, 10, U8G_PIN_NONE);                  // SPI 
Com: SCK = en = 13, MOSI = rw = 11, CS = di = 10
U8GLIB_ST7920_192X32 u8g(5, 3, 2, U8G_PIN_NONE);                  // SPI Com: 
SCK = en = 13, MOSI = rw = 11, CS = di = 10
U8GLIB_ST7920_192X32 u8g(7, 5, 4, U8G_PIN_NONE);                  // SPI Com: 
SCK = en = 13, MOSI = rw = 11, CS = di = 10
U8GLIB_ST7920_192X32 u8g(6, 4, 3, U8G_PIN_NONE);                  // SPI Com: 
SCK = en = 13, MOSI = rw = 11, CS = di = 10
U8GLIB_ST7920_192X32 u8g(11, 9, 8, U8G_PIN_NONE);                  // SPI Com: 
SCK = en = 13, MOSI = rw = 11, CS = di = 10

closing this issue again

Original comment by olikr...@gmail.com on 22 Dec 2012 at 1:51