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.
9 years, 5 months ago.
PB0 and PB1 interrupt
Giant Gecko PB0 and PB1 do not support interruptin ??
Question relating to:
1 Answer
9 years, 5 months ago.
Just posting here to let people see that this has been successfully answered in the comments section.
Short answer: If you want to use the buttons on the board that are labeled "PB0" and "PB1", use "SW0"/"BTN0" and "SW1"/"BTN1" in mbed.
Do you mean the pushbuttons located on the front, labeled "PB0" and "PB1" on the board? If so, those are actually mapped to the pins "PB9" and "PB10". The pins "PB0" and "PB1"(not to be confused with the buttons) are used for the display. you can also use "BTN0" and "BTN1" in mbed, in place of "PB9" and "PB10"
posted by Srod Karim 12 Jun 2015The labels are probably short for Push Button 0 / 1. Poor naming choice given the names of the port pins.
posted by Andy A 12 Jun 2015Thanks guys, this is it, now running program
posted by Cicero Matos 13 Jun 2015