Skip to content

Commit

Permalink
Hotfix to specify baud rate
Browse files Browse the repository at this point in the history
  • Loading branch information
mchadwick-iqt authored Jul 27, 2023
1 parent 11bf59a commit 90823d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion daisy/dAISy_pub_sub.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ def _connect_serial(self: Any) -> None:
to the port specified in the constructor.
"""
# Setup serial connection without blocking
self.serial = serial.Serial(self.serial_port, timeout=0)
# dAISy default baud is 38400
self.serial = serial.Serial(self.serial_port, timeout=0, baudrate=38400)
logging.info(f"Connected to Serial Bus on {self.serial_port}")

def _disconnect_serial(self: Any) -> None:
Expand Down

0 comments on commit 90823d7

Please sign in to comment.