Looking for a Generic Sketch that will print Floating Variable Values of 6 numbers on the
4"192x64 LCD Module Graphic Display w/KS0107+KS0108 Black on White
Can anyone point me in the Right Direction ?
Looking for a Generic Sketch that will print Floating Variable Values of 6 numbers on the
4"192x64 LCD Module Graphic Display w/KS0107+KS0108 Black on White
Can anyone point me in the Right Direction ?
There won't be any such thing as a "Generic Sketch" since each graphic library is a bit different.
Most graphic libraries support the Print class so can just call the print() method to print a floating point variable.
openGLCD should support that display.
If you are using an Arduino with something other than the AVR processor, then openGLCD also has a Printf() method that can be used to provide better more personalized output formatting like a fixed number of digits and left/right justification.
The issue with the AVR is that by default floating point is disable in the xxprintf() functions.
While it can be enabled, it requires going into the IDE recipe files and making a few changes.
--- bill
How can i plug in this openGLCD?
openGLCD is a graphics library that supports the ks0107/ks0108 modules.
There are other libraries that support that module as well like
Read about the libraries. Pick the library you want to use.
Wire up the glcd according to the library documentation.
Write to the display using the API functions provided by the library.
--- bill
Thank you for the rapid response.
So if I understand this right, the ATmega2560 should work fine utilizing the Open GLCD Library.
Simply Use print commands using a floating variable ?
Thank You
Homefire.