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.
Fork of MainBoard2018_Auto_Master_A by
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 Tue Jul 12 2022 19:08:04 by
1.7.2
