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.
5 years, 2 months ago.
Reading V_In pin on KL25z
What is the correct syntax for reading the 5V-9V analog input voltage on the V_in pin? I am trying to write the code for this, but the compiler tells me the pin I am referencing is undefined. This tells me that I am not using its correct name. But according to all pinout schematics of the KL25z, that Vin pint is called either "P5-9V_VIN" or "J9 P16", which is the exact header and pin. Is what I am trying to do possible?