FIX: Arduino example code in config file

This commit is contained in:
Niklas Fauth 2018-06-13 09:55:34 +02:00
parent 1d4dd42bde
commit db9194e9bd
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@
#define DEBUG_SERIAL_ASCII // human readable output. i.e. "345;1337;0;0\n\r"
#define CONTROL_SERIAL_USART2
#define CONTROL_BAUD 9600 // 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
#define CONTROL_BAUD 19200 // control via usart from eg an Arduino or raspberry
// 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