-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/add wifi connection #2
base: main
Are you sure you want to change the base?
Feature/add wifi connection #2
Conversation
deeabec
to
298001c
Compare
|
||
from ssd1306 import SSD1306_I2C | ||
|
||
from wifi_connection import connect_wifi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wifi connection不是一个标准库吧?另外,我不建议直接修改main文件,你可以单独开一个文件叫做mian_wifi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好嘞
DevelepSource/DesktopPet/main.py
Outdated
@@ -79,7 +92,7 @@ def servo_move(servo, angle): | |||
if servo_id == 1: | |||
servo_move(servo1, angle) | |||
elif servo_id == 2: | |||
servo_move(servo1, angle) | |||
servo_move(servo2, angle) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个问题比较严重,所以我直接在main分支修改了,感谢反馈~
21aa7cb
to
298001c
Compare
新增wifi连接