fixed comments on uarts in config.h
This commit is contained in:
parent
db9194e9bd
commit
ac87327ebe
|
@ -14,13 +14,12 @@
|
||||||
|
|
||||||
// ################################################################################
|
// ################################################################################
|
||||||
|
|
||||||
#define DEBUG_SERIAL_USART3 // left sensor board cable, disable if ADC or PPM is used!
|
|
||||||
//#define DEBUG_SERIAL_USART3 // right sensor board cable, disable if I2C (nunchuck) is used!
|
//#define DEBUG_SERIAL_USART3 // right sensor board cable, disable if I2C (nunchuck) is used!
|
||||||
#define DEBUG_BAUD 115200 // UART baud rate
|
#define DEBUG_BAUD 115200 // UART baud rate
|
||||||
//#define DEBUG_SERIAL_SERVOTERM
|
//#define DEBUG_SERIAL_SERVOTERM
|
||||||
#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 // left sensor board cable, disable if ADC or PPM is used!
|
||||||
#define CONTROL_BAUD 19200 // 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 void loop(void){ Serial.write((uint8_t *) &steer, sizeof(steer)); Serial.write((uint8_t *) &speed, sizeof(speed));delay(20); }
|
// for Arduino, use void loop(void){ Serial.write((uint8_t *) &steer, sizeof(steer)); Serial.write((uint8_t *) &speed, sizeof(speed));delay(20); }
|
||||||
|
|
||||||
|
|
2042
build/hover.hex
2042
build/hover.hex
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue