8 years, 7 months ago.

Which pins of the F103RB are compatible with InterruptIn?

Every time i try a pin other than PC_13 (User Pushbutton) i receive a message saying that ("This pin is incompatible with InterruptIn") through serial at execution time.

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F103RBT6 microcontroller.

1 Answer

8 years, 7 months ago.

Right mouse button on the mbed library, click on update. While I don't have this one myself, all STM32 targets should be able to handle every button as interruptin, only when they were just introduced STM was a bit lazy with the code.

A limitation is that you cannot have multiple interruptins on pins with the same number, so for example not on PA_1 and PB_1 at the same time.

Accepted Answer

Thanks, that solved it. Regretably i accidentaly updated the whole program and since it was based on a example program and i never commit my changes, i lost my code. is there a way to recover it?

posted by Sergio Barrios 14 Apr 2016

You can try mailing to the support e-mail address (mentioned somewhere around here).

posted by Erik - 14 Apr 2016