Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BMP280 ELEC350-Practicals-FZ429- TextLCD watchdog_RTOS BME280 ntp-client
Diff: SerialComms.hpp
- Revision:
- 12:88d33b87ecb2
- Parent:
- 11:b8e8630c7e3b
- Child:
- 13:37a7c57f4641
--- a/SerialComms.hpp Tue Dec 04 17:39:43 2018 +0000 +++ b/SerialComms.hpp Tue Dec 04 18:15:49 2018 +0000 @@ -26,13 +26,12 @@ public: EventQueue SERIAL_Queue; //Initialise the EventQueue - - void Rx_Interrupt(void) + + void Rx_Interrupt() { - SERIAL_Queue.call(callback(this, &Serialcomms::ReadData)); // Read data from the serial buffer -> Pushed onto the event queue + SERIAL_Queue.call(callback(this, &Serialcomms::ReadData)); // Read data from the serial buffer -> Pushed onto the event queue } - - + Serialcomms() { pc.baud(9600);