You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: inc/config.h
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -260,6 +260,10 @@
260
260
#defineTEMP_POWEROFF 65 // overheat poweroff. (while not driving) [°C]
261
261
#endif
262
262
263
+
#ifndefENABLE_INACTIVITY_TIMEOUT
264
+
#defineENABLE_INACTIVITY_TIMEOUT 1
265
+
#endif
266
+
263
267
#ifndefINACTIVITY_TIMEOUT
264
268
#defineINACTIVITY_TIMEOUT 8 // minutes of not driving until poweroff. it is not very precise.
265
269
#endif
@@ -354,8 +358,9 @@
354
358
// left sensor board cable. keep cable short, use shielded cable, use ferrits, stabalize voltage in nunchuck, use the right one of the 2 types of nunchucks, add i2c pullups. use original nunchuck. most clones does not work very well.
355
359
//#define CONTROL_NUNCHUCK // use nunchuck as input. disable DEBUG_SERIAL_USART3!
356
360
357
-
358
-
//#define WHEEL_SIZE_INCHES 8.5 - set to your wheelsize to override the default 6.5
361
+
#ifndefWHEEL_SIZE_INCHES
362
+
#defineWHEEL_SIZE_INCHES 6.5 //set to your wheelsize to override the default 6.5
363
+
#endif
359
364
360
365
361
366
// ############################### SOFTWARE SERIAL ###############################
@@ -403,7 +408,10 @@
403
408
#defineSWITCH_WHEELS 0 // switch right and left wheel. Watch out, you probably also need to invert directions.
404
409
#endif
405
410
#ifndefBEEPS_BACKWARD
406
-
#defineBEEPS_BACKWARD 0 // 0 or 1
411
+
#defineBEEPS_BACKWARD 0 // 0 or 1
412
+
#endif
413
+
#ifndefBEEPS_ON_OFF
414
+
#defineBEEPS_ON_OFF 1 // Beeps on starting/stopping hoverboard
0 commit comments