diff options
author | Sebastian Plamauer <oeplse@gmail.com> | 2014-05-04 12:53:01 +0200 |
---|---|---|
committer | Sebastian Plamauer <oeplse@gmail.com> | 2014-05-04 12:53:01 +0200 |
commit | 3526716a5b765ec71553198613660afc3eca2c85 (patch) | |
tree | 6d3d2bc320d0d8130de0f0ef9bfca29357c74073 /tests/pyb/switch.py | |
parent | 37936bebbf5f0e6046f25c6f5cf9e867b2b5d9ab (diff) | |
download | micropython-3526716a5b765ec71553198613660afc3eca2c85.tar.gz micropython-3526716a5b765ec71553198613660afc3eca2c85.zip |
updated to fit new acceleration and time/millis
Changed pyb.accel() and pyb.time() to the new pyb.Accel() object and pyb.millis() function.
Also shortened the loop so the writing is finished before the USB connection messes things up.
Diffstat (limited to 'tests/pyb/switch.py')
0 files changed, 0 insertions, 0 deletions