Initialize NHD-0216AW-SB3 (SPI)
The example initialization sequence in data sheet references functions command( ); & data( );. Would someone please point me to where these are defined?
-
Hello m_ozzie,
The command and data functions are your main Write procedure routines that manipulate the state of the control pins in your selected interface for proper data transfer per the US2066 controller specs. The only difference between the functions are the state of the D/C bit.
More information on the D/C bit functionality is on pg. 6 of the controller specs, while more information on proper data transfer between parallel, serial, and I2C interface can be found on pgs. 8-14 of the controller specs.
https://support.newhavendisplay.com/hc/en-us/articles/4414485495703--US2066
Hope this information is helpful!
Best,0 -
Hi m_ozzie,
Please see the github code from the following link that shows the Command() and Data() function definitions.
https://github.com/NewhavenDisplay/NHD_US2066/blob/master/NHD_US2066.cpp
Regards,0
Please sign in to leave a comment.
Comments
2 comments