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.
8 years, 8 months ago.
Connecting a button to PTB18 pin on K64F board
On EAGLE (pcb design softeare), I connected the button to the PTB18 pin. I did this accidently and meant to connect it to an AnalogIn pin. Now i cant change the pcb design. How do i account for this in my code?
Thanks
1 Answer
8 years, 8 months ago.
It is just a switch button? So you only need a DigitalIn? Just change the pin number of your input in your code?