How do you feel about this article? Help us to provide better content for you.
Thank you! Your feedback has been received.
There was a problem submitting your feedback, please try again later.
What do you think of this article?
The Hitachi type LCD displays are used in many designs. They work with an Arduino sketch on the IOT2020. If you're building a C++ project, this driver class can help.
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
The full source code is attached. It contains an example that uses the SainSmart LCD shield - because I happen to have that one. It works with the typical one and two row LCD displays. Check that the pins you're passing to the init() method match the ones of your design. If you are able to use your display on the Arduino UNO, use the same pin numbers here (I don't use the RW pin, so no need to pass that one).
MethodsÂ
void init( uint32_t u_rs, uint32_t u_enable, uint32_t u_d0, |
Â
ExampleÂ
int main(void) { Â lcd->init(8, 9, 4, 5, 6, 7); |
Â
The library that is used as the inspiration for this work has the following licence (full version in the attached source). Please adhere to that:
GNU Lesser General Public License
Copyright (C) 2006-2008 Hans-Christoph Steiner. All rights reserved.
Copyright (c) 2010 Arduino LLC. All right reserved.
Have fun!