ENSC3020-ELEC3020-des-car-2022/user_config.h
Peter e65b30830e New tree because of the TARGET_POSITION macro. Original is at
http://github.com/Alphurious007/DES. Copy of the `peterus` branch which
has my code. Original was adapted from MoBot but I have added many
changes and replaced many parts so it is almost completely different.
2022-10-24 20:50:42 +08:00

20 lines
553 B
C

#ifndef _USER_CONFIG_H
#define _USER_CONFIG_H
/*
* ADD YOUR TARGET LATITUDE AND LONGITUDE IN THE DEFINE.
* AS A FLOATING POINT NUMBER REPRESENTING THE COORDINATE IN DEGREES
*
* ADD A NEW LINE WITH "#define DEBUG" (NO QUOTES) TO ENABLE DEBUG MESSAGES
*/
#define TARGET_POSITION [LAT], [LON] // FORMAT [LAT], [LON] AS float OR int32_t
// COMPASS CALIBRATION PARAMETERS
#define COMPASS_CAL_MIN -470, -1083, +837
#define COMPASS_CAL_MAX +79, -495, +946
// DEBUG PRINTER
#define DEBUG
#define PRINTER_BAUD_RATE 115200
#endif