Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
micropython-public
micropython-helper-scripts
Commits
7942ad55
Commit
7942ad55
authored
Jun 28, 2019
by
Klint Youngmeyer
Browse files
Update cutipy_power_test
parent
f2ba9964
Changes
1
Hide whitespace changes
Inline
Side-by-side
cutipy_power_test.py
View file @
7942ad55
...
...
@@ -41,10 +41,10 @@ class PowerTest():
self
.
standby
(
self
.
led2
)
break
elif
self
.
switch3
():
self
.
lcd_
init
(
self
.
led3
)
self
.
lcd_
sleep
(
self
.
led3
)
break
elif
self
.
switch4
():
self
.
lcd
_sleep
(
self
.
led4
)
self
.
wifi
_sleep
(
self
.
led4
)
break
pyb
.
wfi
()
...
...
@@ -82,7 +82,6 @@ class PowerTest():
pyb
.
delay
(
500
)
pyb
.
standby
()
return
None
...
...
@@ -118,3 +117,6 @@ class PowerTest():
lcd
.
write
(
'Going to standby'
)
pyb
.
delay
(
1500
)
lcd
.
sleep
()
pyb
.
delay
(
500
)
pyb
.
standby
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment