FIX: Arduino example code in config file
This commit is contained in:
parent
1d4dd42bde
commit
db9194e9bd
|
@ -21,8 +21,8 @@
|
||||||
#define DEBUG_SERIAL_ASCII // human readable output. i.e. "345;1337;0;0\n\r"
|
#define DEBUG_SERIAL_ASCII // human readable output. i.e. "345;1337;0;0\n\r"
|
||||||
|
|
||||||
#define CONTROL_SERIAL_USART2
|
#define CONTROL_SERIAL_USART2
|
||||||
#define CONTROL_BAUD 9600 // control via usart from eg an Arduino or raspberry
|
#define CONTROL_BAUD 19200 // control via usart from eg an Arduino or raspberry
|
||||||
// for Arduino, use: while(1) {Serial.write((int16_t) steer); Serial.write((int16_t) speed); delay(10);} or so
|
// for Arduino, use void loop(void){ Serial.write((uint8_t *) &steer, sizeof(steer)); Serial.write((uint8_t *) &speed, sizeof(speed));delay(20); }
|
||||||
|
|
||||||
//#define DEBUG_I2C_LCD // standard 16x2 or larger text-lcd via i2c-converter on right sensor board cable
|
//#define DEBUG_I2C_LCD // standard 16x2 or larger text-lcd via i2c-converter on right sensor board cable
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue