Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 9 months ago.
Source code for on-board demo program
My FRDM-KL46Z came with a demo program that tests the slider, compass and accelerometer with output to the built-in segment LCD.
Where can I find the source code for this program?
(I have found libraries for the slider, compass and accelerometer, but I can't find anything for the segment lcd. Can I drive it like a segment LED display (multiplexing the com lines and setting the segments I want to light up high), are there restrictions on timing (i.e. will a segment burn out if the multiplexing frequency is too slow?)
Question relating to:
1 Answer
9 years, 9 months ago.
It cannot be used like that, there is a seperate peripheral on-chip which drives that LCD, and it has stuff like charge pumps on board to generate the required higher voltages for the LCD display.
There is a simple library for the display, and here are all programs which use that: https://developer.mbed.org/users/Sissors/code/SLCD/dependents. The top one is a good choice to try it out, but you can also look at others.