UPD: usart control now with steer and speed as control values. Btw this is not tested yet but I don't see why it shouldn't work ;)

This commit is contained in:
Niklas Fauth
2018-06-11 14:48:58 +02:00
parent b3fe48a832
commit 2d2a9c4d11
3 changed files with 380 additions and 377 deletions

View File

@@ -21,7 +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
#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 DEBUG_I2C_LCD // standard 16x2 or larger text-lcd via i2c-converter on right sensor board cable