tinygo/src/examples
Ayke van Laethem 72acda22b0 machine: refactor PWM support
This commit refactors PWM support in the machine package to be more
flexible. The new API can be used to produce tones at a specific
frequency and control servos in a portable way, by abstracting over
counter widths and prescalers.
2021-04-06 20:36:10 +02:00
..
adc accept configuration struct for ADC parameters (#1533) 2021-01-31 14:54:27 -06:00
blinkm machine: redesign I2C interface 2018-11-16 23:08:41 +01:00
blinky1 machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
blinky2 machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
button avr: add support for PinInputPullup 2020-05-22 13:17:04 +02:00
button2 machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
dac machine/samd51: add DAC support (#1198) 2020-07-06 14:02:51 +02:00
echo machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
gba-display targets: add support for GameBoy Advance 2019-08-05 09:19:49 +02:00
i2s machine/samd21: Initial implementation of I2S hardware interface using Circuit Playground Express 2019-05-12 21:51:07 +02:00
mcp3008 machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
microbit-blink machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
pininterrupt Seeed WioTerminal support (#1124) 2020-06-06 12:00:26 +02:00
pwm machine: refactor PWM support 2021-04-06 20:36:10 +02:00
serial examples: re-add hello world serial communication 2018-09-21 14:33:39 +02:00
systick runtime: make channels work in interrupts 2020-07-04 08:34:39 +02:00
test examples/test: make unicode example more interesting 2018-09-21 14:37:11 +02:00
wasm all: change //go:export to //export 2020-04-05 16:16:57 +02:00