PsiSwarm Library  0.8
settings.h File Reference

Header file containing PsiSwarm define headings. More...

Go to the source code of this file.

Macros

#define USE_MOTOR_CALIBRATION   1
 
#define OFFSET_MOTORS   1
 
#define ENABLE_DEMO   1
 
#define ENABLE_BASIC   1
 
#define ENABLE_BLUETOOTH   1
 Enable if the BlueSmirf module is being used. 0=off 1=on.
 
#define ENABLE_PC_SERIAL   1
 
#define BLUETOOTH_BAUD   115200
 
#define PC_BAUD   115200
 
#define DEBUG_MODE   1
 
#define SHOW_VR_WARNINGS   0
 
#define USE_LED3_FOR_INTERRUPTS   1
 
#define USE_LED4_FOR_VR_WARNINGS   1
 
#define HALT_ON_GPIO_ERROR   1
 
#define HALT_ON_ALL_VREGS_LOW   0
 
#define DEBUG_OUTPUT_STREAM   1
 

Detailed Description

Header file containing PsiSwarm define headings.

USE_MOTOR_CALIBRATION Enable motor calibration using stored values. If enabled, the actual motor speeds will be adjusted from the requested values using the motor calibration values stored in EPROM. OFFSET_MOTORS Enable PWM offset to prevent stalling at low speeds. The motors typically stall when the PWM output is below around 0.2. Enabling the offset shifts the actual PWM range so that the motor speed 0.0 -> 1.0 actually sets a PWM output of 0.2 -> 1.0

Definition in file settings.h.