summaryrefslogtreecommitdiff
path: root/examples/hwapi
AgeCommit message (Collapse)Author
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.