4D display working with Gecko board STK3600
Fork of 4dGENIE by
Diff: mbed_genie.h
- Revision:
- 11:9196f72fc325
- Parent:
- 10:4d9f1be4a901
- Child:
- 12:78b783968b74
diff -r 4d9f1be4a901 -r 9196f72fc325 mbed_genie.h --- a/mbed_genie.h Tue Jul 08 18:34:47 2014 +0000 +++ b/mbed_genie.h Wed Mar 04 03:00:40 2015 +0000 @@ -136,6 +136,7 @@ in reset and kept reset until Start() is called */ Mbed4dGenie(PinName TxPin,PinName RxPin, PinName resetpin); + Mbed4dGenie(PinName TxPin,PinName RxPin, PinName resetpin,uint32_t baud); /* Deassert the reset pin and give some time to the lcd to initialise itself before sending any commands. @@ -183,9 +184,9 @@ // genieUserEventHandlerPtr _genieUserHandler; - Serial _screen; + RawSerial _screen; DigitalOut _reset; - Timer _t; + Timer _waitTimer,_receptionTimer; int state; int LastResponse; long RxMaxTimeout;