2015-02-14 05:11:43 -08:00
|
|
|
#ifndef COMMS_H
|
|
|
|
#define COMMS_H
|
|
|
|
|
2013-07-08 21:06:45 -07:00
|
|
|
#define vePage 1
|
|
|
|
#define ignPage 2
|
2015-02-03 02:33:22 -08:00
|
|
|
#define afrPage 3
|
2015-05-29 00:33:00 -07:00
|
|
|
#define iacPage 4
|
2013-07-08 21:06:45 -07:00
|
|
|
|
|
|
|
byte currentPage;
|
|
|
|
|
2013-07-08 17:43:41 -07:00
|
|
|
void command();
|
|
|
|
void sendValues();
|
2013-07-18 00:26:24 -07:00
|
|
|
void receiveValue(byte offset, byte newValue);
|
2013-07-08 17:43:41 -07:00
|
|
|
void saveConfig();
|
|
|
|
void sendPage();
|
2014-10-11 15:44:42 -07:00
|
|
|
void receiveCalibration(byte tableID);
|
|
|
|
void sendToothLog(bool useChar);
|
2013-07-08 17:43:41 -07:00
|
|
|
void testComm();
|
2015-02-14 05:11:43 -08:00
|
|
|
|
|
|
|
#endif // COMMS_H
|