InterruptIn program for mbed NXP LPC11U24 beta
Revision 1:2885d2e0189f, committed 2011-10-20
- Comitter:
- chris
- Date:
- Thu Oct 20 11:12:10 2011 +0000
- Parent:
- 0:8ee2824fa192
- Child:
- 2:39371bbdf5a6
- Commit message:
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Oct 20 11:07:07 2011 +0000 +++ b/main.cpp Thu Oct 20 11:12:10 2011 +0000 @@ -4,9 +4,7 @@ InterruptIn din(p14); void int_handler () { - led3 = 1; - wait(0.25); - led3 = 0; + led3 = !led3; } int main () {