micropython/micropython — pull request #561 by turbinenreiter (2014-05-04 10:53:38+00:00)
Title: 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.