A simple example that uses the GPIO group and pin interrupts. LED1 turns on when P21 and P22 are grounded (using group 0 interrupt) LED1 turns of when P23 or P24 are grounded (using group 1 interrupt) LED2 turns on when P19 is grounded (using GPIO interrupt 0) LED2 turns off when P18 is grounded (using GPIO interrupt 1)
mbed.bld
- Committer:
- alexan_e
- Date:
- 2012-05-24
- Revision:
- 2:7c8d0f7dd79f
- Parent:
- 0:03be1abca74e
File content as of revision 2:7c8d0f7dd79f:
http://mbed.org/users/mbed_official/code/mbed/builds/737756e0b479