mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-17 06:52:18 +01:00
Add a define for baudrate configuration.
This commit is contained in:
parent
d2a38f23a8
commit
ff1158a1b9
@ -138,6 +138,13 @@
|
||||
#endif
|
||||
|
||||
|
||||
// Configure the baud rate:
|
||||
|
||||
#define BAUDRATE 19200
|
||||
// #define BAUDRATE 115200
|
||||
// #define BAUDRATE 1000000
|
||||
|
||||
|
||||
#define HWVER 2
|
||||
#define SWMAJ 1
|
||||
#define SWMIN 18
|
||||
@ -211,7 +218,7 @@ static BitBangedSPI SPI;
|
||||
#endif
|
||||
|
||||
void setup() {
|
||||
SERIAL.begin(19200);
|
||||
SERIAL.begin(BAUDRATE);
|
||||
|
||||
pinMode(LED_PMODE, OUTPUT);
|
||||
pulse(LED_PMODE, 2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user