ystrem / u8glib

Automatically exported from code.google.com/p/u8glib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support st7920 for chipkit

GoogleCodeExporter opened this issue · comments

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

fixed: port access expanded to 16 bit, clock polarity changed

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

Attachments:

fixed

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

  • Changed state: Fixed
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

  • Changed state: Started

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

  • Added labels: Type-Defect
  • Removed labels: Type-Enhancement
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

  • Changed state: Verified