kopia lustrzana https://github.com/jamesgao/kiln_controller
13 wiersze
192 B
Python
13 wiersze
192 B
Python
![]() |
import time
|
||
|
import stepper
|
||
|
|
||
|
def test_noblock():
|
||
|
reg = Regulator(ignite_pin=None)
|
||
|
reg.start()
|
||
|
|
||
|
reg.ignite()
|
||
|
reg.set(.5)
|
||
|
time.sleep(.5)
|
||
|
reg.set(.1)
|
||
|
time.sleep(.5)
|
||
|
reg.set(.5, block=True)
|