A fork of the mbed 4dgenie library with updated baud rate and reset function
Fork of 4dGENIE by
Revision 5:bf1df2d55307, committed 2014-07-04
- Comitter:
- langster1980
- Date:
- Fri Jul 04 18:28:14 2014 +0000
- Parent:
- 3:11c49c49cd1a
- Commit message:
- updated serial comms rate to 4D display to 115200 and inverted reset function pin toggle.
Changed in this revision
mbed_genie.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 11c49c49cd1a -r bf1df2d55307 mbed_genie.cpp --- a/mbed_genie.cpp Sun Feb 23 17:32:37 2014 +0000 +++ b/mbed_genie.cpp Fri Jul 04 18:28:14 2014 +0000 @@ -10,6 +10,8 @@ _reset = 1; wait(0.25); _reset = 0; + wait(0.25); + _reset = 1; _genieLinkStates[4] = GENIE_LINK_IDLE; _genieLinkStates[3] = GENIE_LINK_IDLE; _genieLinkStates[2] = GENIE_LINK_IDLE; @@ -22,6 +24,7 @@ rxframe_count = 0; _genieUserHandler = NULL; + _screen.baud (115200); //set screen baud rate to 9600 _screen.attach(this,&Mbed4dGenie::RxIrqHandler,Serial::RxIrq); _t.start(); } @@ -53,6 +56,7 @@ return (_screen.getc()); } + ///////////////////// _genieSetLinkState //////////////////////// // // Set the logical state of the link to the display.