Newhaven Products > OLEDs

[STM32] [NHD-0420W-Ax3] [US2066] Problem Arduino to C

(1/1)

arrgon:
Hi,

I use a display NHD-0420CW-AY3

Common Driver with Controller : US2066.

I want to use it in I2C but i don't know how to do that.

I took that in arduino : 

Wire.beginTransmission(SLAVE2W);

Wire.write(tx_packet[ix]);

Wire.endTransmission();

but how I can translate this in C ?

Thanks a lot, sorry for my english.

Ted_M:
Hi Arrgon,

Use the US2066 code for examples using the #include "NHD_US2066.h"  for I2C mode.

https://github.com/NewhavenDisplay/NHD_US2066/blob/master/NHD_US2066.cpp

Navigation

[0] Message Index

Go to full version