SPI mode for module HD44780 #956
Replies: 3 comments
-
Posted at 2017-11-22 by @gfwilliams Hi! You should be able to do:
That'll work even without touching the module - but if you get something working it'd be great if you could contribute your code so I can stick it in the main one :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-11-22 by @allObjects @gordon, did you just change the module per this occasion? ...because when I look at it I see: ...straight out of the 'Header' of modules/HD44780.js: //////////////////////////// If you have one of the LCDs with an I2C backpack, just use:
You can specify device address following way:
Otherwise try:
... The implementation is:
So there is a plain |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-11-22 by @gfwilliams ... and right at the bottom there's |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-11-22 by @yerpj
Hi guys,
I am planning to interface my Pico with a 20x4 character OLED display OLED-020N004B from Vishay (info here: https://www.vishay.com/displays/list/product-37706/). It seems to behave like a HD44780-like display: the built-in controller is a "OLED-0010", doc here: http://docs-europe.electrocomponents.com/webdocs/1401/0900766b814011cc.pdf
This controller has the ability to interract with 6800, 8080 and SPI interface. SPI seems to be mapped on DB7(MOSI), DB6(MISO), DB5(SCK) and E(CS).
I had a look at the HD44780 module (http://www.espruino.com/modules/HD44780.js); it does not seem to support SPI mode right now.
Does anyone have any idea of how I could add a
.connectSPI
method on this module?Beta Was this translation helpful? Give feedback.
All reactions