Merge pull request #391 from ToniA/development
Set the serial port speed of the Serial Gateway to 38400 on Arduino's running on 8MHz oscillator
This commit is contained in:
@@ -51,6 +51,11 @@
|
|||||||
// Enable serial gateway
|
// Enable serial gateway
|
||||||
#define MY_GATEWAY_SERIAL
|
#define MY_GATEWAY_SERIAL
|
||||||
|
|
||||||
|
// Define a lower baud rate for Arduino's running on 8 MHz (Arduino Pro Mini 3.3V & SenseBender)
|
||||||
|
#if F_CPU == 8000000L
|
||||||
|
#define MY_BAUD_RATE 38400
|
||||||
|
#endif
|
||||||
|
|
||||||
// Flash leds on rx/tx/err
|
// Flash leds on rx/tx/err
|
||||||
#define MY_LEDS_BLINKING_FEATURE
|
#define MY_LEDS_BLINKING_FEATURE
|
||||||
// Set blinking period
|
// Set blinking period
|
||||||
|
|||||||
Reference in New Issue
Block a user