I would like to interface my Espruino Pico with an NHD-C0220BiZ LCD from Newhaven display. It is quite easy to drive. I used to do it with an Electricimp a few months ago ( https://forums.electricimp.com/discussion/3198/using-the-newhaven-i2c-2x20-char-display-nhd-c0220biz-fsw-fbw-3v3m ) but now I have some problem for the reset waveform generation (optional, but it is a good practice). I would like to drive the reset pin HIGH, LOW for some time, and finally HIGH (´´´´´______/´´´´´´´´´´´). This is really easy to do with some kind of a "delay()" function, but Espruino is not intended to work this way... I though to use 2 setTimeout() in order to control the positive&negative pulses duration, but finally I ask you if someone could give me a cleaner method?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi,
I would like to interface my Espruino Pico with an NHD-C0220BiZ LCD from Newhaven display. It is quite easy to drive. I used to do it with an Electricimp a few months ago ( https://forums.electricimp.com/discussion/3198/using-the-newhaven-i2c-2x20-char-display-nhd-c0220biz-fsw-fbw-3v3m ) but now I have some problem for the reset waveform generation (optional, but it is a good practice). I would like to drive the reset pin HIGH, LOW for some time, and finally HIGH (´´´´´______/´´´´´´´´´´´). This is really easy to do with some kind of a "delay()" function, but Espruino is not intended to work this way... I though to use 2 setTimeout() in order to control the positive&negative pulses duration, but finally I ask you if someone could give me a cleaner method?