mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Fixed beginSerial() to take baud rates above 19200; adjusted Serial Monitor Baud Rate menu items accordingly.
This commit is contained in:
@ -176,7 +176,7 @@ void analogWrite(int pin, int val)
|
||||
digitalWrite(pin, HIGH);
|
||||
}
|
||||
|
||||
void beginSerial(int baud)
|
||||
void beginSerial(long baud)
|
||||
{
|
||||
uartInit();
|
||||
uartSetBaudRate(baud);
|
||||
|
@ -66,7 +66,7 @@ int analogRead(int);
|
||||
unsigned long millis(void);
|
||||
void setup(void);
|
||||
void loop(void);
|
||||
void beginSerial(int);
|
||||
void beginSerial(long);
|
||||
void serialWrite(unsigned char);
|
||||
int serialAvailable();
|
||||
int serialRead();
|
||||
|
Reference in New Issue
Block a user