summaryrefslogtreecommitdiff
path: root/examples/hwapi
AgeCommit message (Collapse)Author
2023-10-03all: Fix various spelling mistakes found by codespell 2.2.6.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2023-08-16examples/hwapi: Add missing import for 96Boards Carbon example.Angus Gratton
Found by Ruff checking F821. Signed-off-by: Angus Gratton <angus@redyak.com.au>
2023-06-19examples/hwapi: Rename uasyncio to asyncio.Jim Mussared
This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-06-08all: Replace all uses of umodule in Python code.Jim Mussared
Applies to drivers/examples/extmod/port-modules/tools. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-04-27all: Fix spelling mistakes based on codespell check.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2022-09-30top: Replace upip with mip everywhere.Jim Mussared
Updates all README.md and docs, and manifests to `require("mip")`. Also extend and improve the documentation on freezing and packaging. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
This is run with uncrustify 0.70.1, and black 19.10b0.
2017-10-09examples: hwconfig_console: Add .on()/.off() methods.Paul Sokolovsky
Add these methods to this "GPIO output emulated with console prints" config.
2017-05-17examples/hwapi/soft_pwm2_uasyncio: Update for call_later_ms().Paul Sokolovsky
Following finalized naming in uasyncio.
2017-05-12examples/hwapi/hwconfig*: Use inline Signal() args where possible.Paul Sokolovsky
2017-04-27examples/hwapi: Add config for Zephyr port of 96Boards Carbon.Paul Sokolovsky
2017-04-15extmod/machine_signal: Rename "inverted" arg to "invert", it's shorter.Damien George
A shorter name takes less code size, less room in scripts and is faster to type at the REPL. Tests and HW-API examples are updated to reflect the change.
2017-02-14examples/hwapi/soft_pwm: Use Signal on()/off() methods.Paul Sokolovsky
Just one sample is updated with on()/off() for now, there should be remaining sample(s) showing .value() use (but more can be converted later, as long as 1 or so good samples of .value() remains).
2017-02-09examples/hwapi: Be sure to import Signal when it's used.Damien George
2017-02-09examples/hwapi: Add hwconfig_pyboard.py for pyboard.Kai Fricke
2017-02-05examples/button_reaction: Update for time_pulse_us() no longer raising exc.Paul Sokolovsky
2017-01-29examples/hwapi: Consistently use Signal class to define LEDs.Paul Sokolovsky
2017-01-29examples/hwapi: Use Signal for inverted LED on ESP-12.Paul Sokolovsky
2016-12-23examples/hwapi/hwconfig_console: Don't alloc memory in value().Paul Sokolovsky
2016-11-18examples/hwapi: Add hwconfig for console tracing of LED operations.Paul Sokolovsky
2016-11-17examples/hwapi: Add example for machine.time_pulse_us().Paul Sokolovsky
2016-11-14examples/hwapi: Add uasyncio example of fading 2 LEDs in parallel.Paul Sokolovsky
2016-11-13examples/hwapi: Add soft_pwm example converted to uasyncio.Paul Sokolovsky
2016-11-12examples/hwapi: button_led: Add GPIO pin read example.Paul Sokolovsky
Requires BUTTON defined in hwconfig, so far tested on DragonBoard 410c.
2016-11-10examples/hwapi: Add hwconfig for DragonBoard 410c.Paul Sokolovsky
This requires recently added implementation of machine.Pin from micropython-lib.
2016-11-06examples/hwapi: Example showing best practices for HW API usage in apps.Paul Sokolovsky
Showing and providing detailed instructions and motivation.