its a template, it uses public code
Dependencies: Glue MODSERIAL Scissors m3pi mbed
Revision 2:db4f4bf756b9, committed 2013-07-15
- Comitter:
- hex705
- Date:
- Mon Jul 15 12:24:45 2013 +0000
- Parent:
- 1:71777756a0c2
- Commit message:
- basic temp for this project --
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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 () {