Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit82e69f1

Browse files
authored
Open ulp file in binary mode instead of text mode
Avoid rising "unicode exception" when running from mp1.24
1 parent37e68c5 commit82e69f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/index.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ That file can then be loaded directly without assembling the source again.
118118
from esp32importULP
119119
120120
ulp= ULP()
121-
withopen('test.ulp','r')as f:
121+
withopen('test.ulp','rb')as f:
122122
# load the binary into RTC memory
123123
ulp.load_binary(0, f.read())
124124

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp