summaryrefslogtreecommitdiffstatshomepage
path: root/examples/hwapi/button_reaction.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-12-22 00:29:32 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-12-22 00:29:32 +0300
commitd02f6a9956760425188f517f3708c76123e53d2a (patch)
tree91b60d0baa22fbd9ee1b39162289143b2d80f328 /examples/hwapi/button_reaction.py
parentef23399e32f03d251942b7a29c720a9cf72a1c26 (diff)
downloadmicropython-d02f6a9956760425188f517f3708c76123e53d2a.tar.gz
micropython-d02f6a9956760425188f517f3708c76123e53d2a.zip
extmod/modutimeq: Refactor into optimized class.
import utimeq, utime # Max queue size, the queue allocated statically on creation q = utimeq.utimeq(10) q.push(utime.ticks_ms(), data1, data2) res = [0, 0, 0] # Items in res are filled up with results q.pop(res)
Diffstat (limited to 'examples/hwapi/button_reaction.py')
0 files changed, 0 insertions, 0 deletions