summaryrefslogtreecommitdiff
path: root/shared-bindings/_pew/__init__.c
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2020-10-10Fix #3504: Don't use time module in pew.tick()Radomir Dopieralski
The time.sleep() and time.monotonic() functions break the timer interrupt on which PewPew10 display relies, so we can't use them anymore. Instead I'm adding a time-keeping function to the display code itself, which then can be used in pew.tick() internally.
2020-06-22_pew: move to common-halJeff Epler
I noticed that this code was referring to samd-specific functionality, and isn't enabled except in one samd board (pewpew10). Move it. There is incomplte support for _pew in mimxrt10xx which then caused build errors; adding a #if guard to check for _pew being enabled fixes it. The _pew module is not likely to be important on mimxrt but I'll leave the choice to remove it to someone else.
2020-05-12Swap sphinx to autoapi and the inline stubsScott Shawcroft
2020-05-08Did os, _pixelbuf, _pewdherrada
2019-03-01Apply review fixes:Radomir Dopieralski
* fix formatting * fix copyrights * fix CIRCUITPYTHON_GAMEPAD guards * add CIRCUITPYTHON_PEW guards to reset * fix module list order
2019-02-28Handle new buttonsRadomir Dopieralski
2019-02-28Add a _pew moduleRadomir Dopieralski