Newhaven Display Forum

Newhaven Products => OLEDs => Topic started by: avsa242 on January 08, 2018, 05:53:23 PM

Title: NHD-0420CW-Ax3 Driver (w/demo) written for Parallax P8X32A/Propeller MCU
Post by: avsa242 on January 08, 2018, 05:53:23 PM
HI folks,

I recently bought one of these in yellow and wanted to get it running with Parallax's P8X32A microcontroller (https://www.parallax.com/downloads/p8x32a-propeller-datasheet (https://www.parallax.com/downloads/p8x32a-propeller-datasheet)). I wrote a driver/object for interfacing with the display over I2C (tested ~1kHz-400kHz), but plan to try an SPI version as well. It includes demo code, as well (for the uninitiated, everything is written in SPIN - a language of Parallax's design).

I've put the code up on github for anyone that may be interested (MIT license) at: https://github.com/avsa242/nhd-0420 (https://github.com/avsa242/nhd-0420) as well as a video of the demo code, for those that may not have a Prop:
https://youtu.be/3UX8yH5YcDk (https://youtu.be/3UX8yH5YcDk)

Cheers, and thanks Newhaven for these nice display modules!
Title: Re: NHD-0420CW-Ax3 Driver (w/demo) written for Parallax P8X32A/Propeller MCU
Post by: Paul_B on January 09, 2018, 04:48:45 PM
Hey Jesse,

Thanks for sharing your demo code, it will definitely help others  8)