Dan Halbert
c478c10923
Do not allow a *io object to be used after deinit().
...
Fixes #278 , #277 , #276 , #275 .
2017-10-03 12:07:17 -07:00
Dan Halbert
c679c80c71
Modernize module and class static dicts; update freetouch
2017-08-27 15:02:50 -04:00
Scott Shawcroft
42156484ae
shared-bindings/atmel-samd: Fix and improve trigger duration timing on PulseIn.resume.
2017-08-10 11:55:34 -07:00
Scott Shawcroft
f37ce1c595
atmel-samd: Turn off PulseIn interrupts on reset. Can hardfault otherwise.
2017-04-13 17:50:06 -07:00
Scott Shawcroft
f0e24bd812
atmel-samd: Account for pending ticks in PulseIn. Fixes #116 .
2017-04-13 14:47:34 -07:00
Scott Shawcroft
1e8fc15a41
atmel-samd: Fix PulseIn duration math to handle case when current us time is after the last one but more than a ms has passed.
2017-04-11 16:55:42 -07:00
Scott Shawcroft
f28f8ba568
Split up nativeio.
...
This was done to allow greatly granularity when deciding what functionality
is built into each board's build. For example, this way pulseio can be
omitted to allow for something else such as touchio.
2017-04-10 13:32:19 -07:00