Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed TrapezoidControl Pulse QEI
ExternalInt.cpp
00001 #include "ExternalInt.h" 00002 #include "mbed.h" 00003 00004 #include "../../System/Process/InterruptProcess.h" 00005 00006 InterruptIn BoardInt[] = { 00007 InterruptIn(INT0_PIN), 00008 InterruptIn(INT1_PIN), 00009 }; 00010 00011 namespace EXTERNALINT { 00012 void Int::Initialize() { 00013 BoardInt[0].mode(PullUp); 00014 BoardInt[1].mode(PullUp); 00015 00016 BoardInt[0].fall(int0); 00017 BoardInt[1].fall(int1); 00018 } 00019 }
Generated on Sun Jul 17 2022 15:33:12 by
