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.
10 years, 11 months ago.
RE: 4x8 segment LCD on KL-46Z comX pins
How do I find out if the com0-3 pins are common anode or cathode ?
Question relating to:

2 Answers
10 years, 11 months ago.
From the schematic/module number? But do you mean the integrated LCD? This library exists for it already: https://mbed.org/users/Sissors/code/SLCD/
10 years, 11 months ago.
LCDs should not be driven with DC voltages. The terms common cathode/common anode make no sense in this context. The common electrodes are used to multiplex the segment pins but they will have a waveform that reverses polarity for every other frame. This is needed to prevent damage to the LCD. Dont try to drive an LCD directly from the processor pins unless you understand how it needs to be done.
Thanks for the explanation. Question: I have done 4 digit seven segment before with AVR/arduino.
Are you saying that the built in 4 digit LCD that comes with KL-46 is different from the regular 7 segment LED ? So, I can not use the multiplexing method/ Persistent of Vision(POV) technique ie. turn on/off each digit very fast ? I am awaiting your answer before I will try it. Thanks again for your prompt response. I REALLY appreciate Erik Olieman and your helps. It has helped me a lot.
posted by 25 Mar 2014A regular 7-segment LED is as it already says, just 7 LEDs in parallel. The LCD display of the KL46Z is an LCD display, and are not just straight forward LEDs. They require different control, there is also for example a charge pump to make the required voltages.
But at the same time it consumed only very little power. The multiplexing method still works, but it is not as straight forward as for 7-segment LEDs. The display is connected to a specific peripheral of the KL46Z which can generate the required signals, and the SLCD library controls that peripheral so you don't need to worry about anything. (It is example code from Freescale modified for mbed).
posted by 25 Mar 2014