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: CRC16 FreescaleIAP FreescaleWatchdog GGSProtocol LM75B PIMA Parameters PersistentCircularQueue SerialNumberV2COM mbed-dev-watchdog_2016_03_04
Fork of smartRamalKW by
announce.h
00001 #ifndef ANNOUNCE_H 00002 #define ANNOUNCE_H 00003 00004 #include "ggs.h" 00005 #include "pima.h" 00006 #include "appCommands.h" 00007 #include "debug.h" 00008 00009 class Announce{ 00010 int announceDelayAngCoef; 00011 int announceDelayLinCoef; 00012 int announceIntervalSec; 00013 int silenceIntervalSec; 00014 int delay; 00015 Timeout announceTimeout; 00016 bool sendNow; 00017 char announceBuffer[30]; 00018 void triggerAnnounceSending(); 00019 00020 public: 00021 Announce(); 00022 void setDelayCoefs(int delayAngCoef, int delayLinCoef); 00023 void setIntervals(int announce, int silence); 00024 void startAnnounceTimer(); 00025 void stopAnnounceTimer(); 00026 void handleAnnounceSending(); 00027 00028 }; 00029 00030 extern SerialNumber sn; 00031 extern CommandExecutor exec; 00032 #ifndef RAMAL 00033 extern Pima pima; 00034 #endif 00035 extern void enviaRespostaGGS(char * dados, int tamanho); 00036 00037 #endif
Generated on Thu Jul 14 2022 00:24:57 by
1.7.2
