MurphyBat_LPC
Dependencies: mbed
Diff: main.cpp
- Revision:
- 0:a20f005ea7ae
diff -r 000000000000 -r a20f005ea7ae main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun Aug 06 09:53:07 2017 +0000 @@ -0,0 +1,15 @@ +#include "mbed.h" +#include "MurphyBat.hpp" + +MurphyBat Bat(p15, p16, p17, p18, p21); + + +DigitalOut Led1(LED1); +int main() +{ + Led1 = 1; + while(true) + { + Bat.update(); + } +} \ No newline at end of file