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.
11 years, 2 months ago.
textLCD and Serial on KL25Z
Can I use textLCD and Serial simultaneously? I can not use serial on KL25Z when I use textLCD.(Maybe, it is the problem of "printf"?) Do you have any solution?
1 Answer
11 years, 2 months ago.
How do you have your LCD connected? I.e., what pins does on the KL25Z are you using?
If you're using PTA1 and/or PTA2 for the LCD, then textLCD will conflict with the default Serial pins (PTA2 and PTA1 /USBTX and USBRX).
You can either use other serial pins (but you'll have to remove R5 and R6 and jumper over to the other pins) or use different pins for the LCD.