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: Adafruit_GFX Adafruit_ST7735 INA219 MODSERIAL MbedJSONValue mbed-rtos mbed
MailBoxes.h
00001 #ifndef MAILBOXES_H 00002 #define MAILBOXES_H 00003 00004 00005 // this is file defines all mail boxes for inter thread comminication 00006 00007 //////////////// data transfer from User Interface to Serial Port /////////////////////// 00008 typedef struct{ 00009 00010 bool activateSerial; // this allows the user interface to start/stop serial comms 00011 00012 } ui_serial_letter; 00013 ////////////////////////////////////////////////////////////////////////////////////// 00014 00015 /////////////////// data transfer from Serial Port to User Interface ///////////////// 00016 Mail<ui_serial_letter,2> ui_serial_mail; 00017 00018 typedef struct{ 00019 00020 bool piStat; // status of the serial connection 00021 bool camStat; // determines whether the camera is active 00022 bool cloudStat; // detemines when the pi is connected to the cloud 00023 bool detectionStat; // determines whether the object detection system is functional 00024 } serial_ui_letter; 00025 00026 Mail<serial_ui_letter,2> serial_ui_mail; 00027 00028 ////////////////////////////////////////////////////////////////////////////////// 00029 00030 #endif
Generated on Wed Jul 13 2022 02:31:29 by
