A simple WIP that logs data from a Grove sensor, and can send and receive information over USB and SMS.
Dependencies: DHT DS_1337 SDFileSystem USBDevice mbed
Data Structures
AbstractHandler | Inherited by all handlers. It forms the basis of any handler, by having a simple run function, called in main.cpp, and a setRequest function which is used to set a request specific to the reimplemented class |
CircBuff | Writes in and reads out byte arrays into a circular buffer |
Dht22Result | The Dht22Result struct is the information read from a Dht22 Grove sensor |
GprsHandler | Saves recipients and looks after incoming and outgoing messages |
GroveDht22 | Handles the interface to the DHT22 humidity and temperature sensor |
MeasurementHandler | Forms the link between data generation and data output, and stores settings |
MyTimers | Creates a Ticker and decrements a collection of unsigned longs that act as timers across the program |
SdHandler | Writes messages to file and handles SD card status |
UsbComms | Handles input and output for the serial port connected to a PC The main run() function cycles through checking for input and copying to a buffer to be handled, and checking the output buffer to see if there is anything to be sent out |
Generated on Tue Jul 12 2022 23:07:44 by 1.7.2