Author Topic: [STM32] [NHD-0420W-Ax3] [US2066] Problem Arduino to C  (Read 980 times)

arrgon

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
[STM32] [NHD-0420W-Ax3] [US2066] Problem Arduino to C
« on: February 20, 2018, 08:59:33 AM »
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

  • Administrator
  • Jr. Member
  • *****
  • Posts: 47
  • Karma: 3
    • View Profile
Re: [STM32] [NHD-0420W-Ax3] [US2066] Problem Arduino to C
« Reply #1 on: February 21, 2018, 10:13:12 AM »
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
« Last Edit: February 21, 2018, 10:16:10 AM by Ted_M »

 

NHD‐3.5‐320240MF‐ATXL#‐CTP‐1 Problem with standby mode

Started by guenterBoard TFTs

Replies: 0
Views: 4208
Last post June 16, 2016, 12:14:36 PM
by guenter
NHD‐2.4‐240320SF‐CTXL#‐FTN1 touch-screen problem

Started by hbcelebiBoard TFTs

Replies: 5
Views: 7662
Last post December 10, 2014, 11:19:05 AM
by Michael_L
Working on NHD‐2.4‐240320SF‐CTXL#‐FTN1, have problem in initialization

Started by sli25Board TFTs

Replies: 6
Views: 6953
Last post June 04, 2015, 09:52:25 PM
by sli25
Problem in bringing up NHD‐2.4‐240320SF‐CTXL#‐FTN1 on Renesas RL78/G14

Started by sli25Board TFTs

Replies: 3
Views: 5619
Last post May 28, 2015, 02:59:03 PM
by Michael_L
problem with NHD‐2.23‐12832UCB3

Started by luisvalsecaBoard OLEDs

Replies: 1
Views: 2992
Last post January 24, 2017, 02:52:53 PM
by Saurabh_B