Hi Franziska,
hi voy ager,
thanks for using our TestBed! The button inputs are p8 and p14. They are "high" when released and "low" when pressed. This is what voy ager's code does with if(!BTN1) {..}.
Due to the GPIO limitations of mbed, we shared signal p14 with the Chip Select signal of the SD-Card slot. So you can't proper use BTN2 when using SD cards. Chapter 3 "Combination of peripherals" in the TestBed manual doesn't mention the input buttons as a TestBed function, sorry about that.
Best regards,
Stefan.
PS: You can always contact us at support@elmicro.com!
Hey! Is anyone here there using the testbed for mbed? I don't know how the pin's are named and it isn't in the manuals. I want to use the two buttons.
DigitalIn buttonA (p?); DigitalIn buttonB (p?);
That's the only thing I've found and the pin's are not p8 and p14, respectively it does not work this way.
(Sorry for the bad grammar ;) )
Please help me. :)