4
4
* File Created: Monday, 29th March 2021 11:04:59 pm
5
5
* Author: Peter Harrison
6
6
* -----
7
- * Last Modified: Wednesday, 14th April 2021 1:12:15 pm
7
+ * Last Modified: Thursday, 29th April 2021 9:44:34 am
8
8
* Modified By: Peter Harrison
9
9
* -----
10
10
* MIT License
36
36
#include <arduino.h>
37
37
38
38
// force rewrite of EEPROM settings. Set this when developing
39
- #define ALWAYS_USE_DEFAULT_SETTINGS 1
39
+ #define ALWAYS_USE_DEFAULT_SETTINGS 0
40
40
//***************************************************************************//
41
- const bool USER_MODE = false ;
41
+ const bool USER_MODE = true ;
42
42
43
43
//***************************************************************************//
44
44
// We need to know about the drive mechanics.
@@ -128,7 +128,7 @@ const int RIGHT_THRESHOLD = 40; // minimum value to register a wall
128
128
// Some physical constants that are likely to be board -specific
129
129
130
130
// with robot against back wall, how much travel is there to the cell center?
131
- const int BACK_WALL_TO_CENTER = 47 ;
131
+ const int BACK_WALL_TO_CENTER = 48 ;
132
132
133
133
//***************************************************************************//
134
134
@@ -138,14 +138,14 @@ const float LOOP_INTERVAL = (1.0 / LOOP_FREQUENCY);
138
138
139
139
//***************************************************************************//
140
140
// change the revision if the settings structure changes to force rewrte of EEPROM
141
- const int SETTINGS_REVISION = 10319 ;
141
+ const int SETTINGS_REVISION = 10429 ;
142
142
const uint32_t BAUDRATE = 115200 ;
143
143
const int DEFAULT_DECIMAL_PLACES = 5 ;
144
144
const int EEPROM_ADDR_SETTINGS = 0x0000 ;
145
145
146
146
//***************************************************************************//
147
147
// set this to zero to disable profile data logging over serial
148
- #define DEBUG_LOGGING 1
148
+ #define DEBUG_LOGGING 0
149
149
// time between logged lined when reporting is enabled (milliseconds)
150
150
const int REPORTING_INTERVAL = 10 ;
151
151
0 commit comments