aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/comm/HardwareSerial.h
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/comm/HardwareSerial.h')
-rw-r--r--wirish/comm/HardwareSerial.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/wirish/comm/HardwareSerial.h b/wirish/comm/HardwareSerial.h
index 5e86f79..934db23 100644
--- a/wirish/comm/HardwareSerial.h
+++ b/wirish/comm/HardwareSerial.h
@@ -50,7 +50,8 @@ class HardwareSerial : public Print {
public:
HardwareSerial(usart_dev *usart_device,
uint8 tx_pin,
- uint8 rx_pin);
+ uint8 rx_pin,
+ uint32 clock_speed);
void begin(uint32 baud);
void end(void);
uint32 available(void);
@@ -62,6 +63,7 @@ private:
usart_dev *usart_device;
uint8 tx_pin;
uint8 rx_pin;
+ uint32 clock_speed;
};
extern HardwareSerial Serial1;