Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ jobs:
awk -F '\/' '{ print tolower($2) }' |
tr '_' '-'
)
- name: Set up Python 3.x
- name: Set up Python 3.11
# Hard code to 3.11 to fix setuptools bug in 3.12
uses: actions/setup-python@v2
with:
python-version: "3.x"
python-version: "3.11"
- name: Versions
run: |
python3 --version
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
version: 2

build:
os: ubuntu-20.04
os: ubuntu-latest
tools:
python: "3"

Expand Down
2 changes: 1 addition & 1 deletion mindwidgets_df1201s.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def _send_query(self, command: str, arg=None) -> str:
print("DFPlayer Command: ", at_command)

# send the AT command
self._uart.write(bytearray(f"{at_command}\r\n"))
self._uart.write(bytearray(f"{at_command}\r\n", "ascii"))

# read the response and strip the \r\n
response = self._uart.readline()
Expand Down