2015-02-14 05:11:43 -08:00
|
|
|
#ifndef COMMS_H
|
|
|
|
#define COMMS_H
|
|
|
|
|
2015-06-05 00:28:31 -07:00
|
|
|
#define veMapPage 1
|
|
|
|
#define veSetPage 2
|
|
|
|
#define ignMapPage 3
|
|
|
|
#define ignSetPage 4
|
|
|
|
#define afrMapPage 5
|
|
|
|
#define afrSetPage 6
|
|
|
|
#define iacPage 7
|
2015-09-24 13:24:40 -07:00
|
|
|
#define boostvvtPage 8
|
2013-07-08 21:06:45 -07:00
|
|
|
|
|
|
|
byte currentPage;
|
|
|
|
|
2013-07-08 17:43:41 -07:00
|
|
|
void command();
|
|
|
|
void sendValues();
|
2015-06-05 00:28:31 -07:00
|
|
|
void receiveValue(int 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
|