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, 8 months ago.
how to display values FRDM-KL25Z
How can I display, on my screen, the values of a potentiometer connected to the FRDM-KL25Z?
I want to see the values like I can see them on the serial screen in the Arduino IDE.
2 Answers
10 years, 8 months ago.
I have used a printf in %f format with the Freescale Cup shield for the FRDM-KL25Z using AnalogIn.
10 years, 8 months ago.
Thanks for the response david! I actually figured it out. I have a mac, and I was have trouble getting my terminal to output the serial feed. I ended up downloading a serial terminal program, and after adjusting some of the settings I was able to get an output printed on my screen!!
I have Macs at home but have not bothered attempting to use the serial port over USB.
What did you download to do serial comms on a Mac?
posted by 12 Sep 2013i used an app called CoolTerm. When you open the app, click on the OPTIONS tab, then configure accordingly. I left the baud rate at 9600, and I chose the appropriate port. Once I was done with the options I clicked the connect tab, and I was able to see the print from my mbed program.
posted by 12 Sep 2013