1
0
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:
David A. Mellis
2006-01-16 09:55:09 +00:00
parent 211f76e86c
commit 55dc23e859
3 changed files with 11 additions and 19 deletions

View File

@ -176,7 +176,7 @@ void analogWrite(int pin, int val)
digitalWrite(pin, HIGH);
}
void beginSerial(int baud)
void beginSerial(long baud)
{
uartInit();
uartSetBaudRate(baud);

View File

@ -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();