its a template, it uses public code
Dependencies: Glue MODSERIAL Scissors m3pi mbed
Diff: main.cpp
- Revision:
- 2:db4f4bf756b9
- Parent:
- 1:71777756a0c2
--- a/main.cpp Fri Jul 05 13:16:20 2013 +0000 +++ b/main.cpp Mon Jul 15 12:24:45 2013 +0000 @@ -6,6 +6,20 @@ #include "Glue.h" + +Serial pc(USBTX, USBRX); // tx, rx +MODSERIAL xBee( p28 , p27 ); // tx, rx +MODSERIAL pi ( p9, p10 ); // tx, rx --> connect to 3pi base + +// need to set up the call back so that mBed can buffer messages -- need one on each port +// one copy of scissors should suffice. + + +Scissors s; +Glue g; + + + void loop ( void ); void main () {