tinygo/src/examples
Ayke van Laethem 70b3ece6ec rp2040: add machine.ReadTemperature
Replace ADCChannel.ReadTemperature() with a simple ReadTemperature
function.

Not all chips will have a temperature sensor that is read by sampling an
ADC channel. The replacement ReadTemperature is simpler and more generic
to other chip families.

This breaks chips that were relying on the previous ReadTemperature
method. I hope it won't break a lot of existing code. If it does, a
fallback can be added.
2022-09-21 08:26:56 +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
can all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
caninterrupt all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
dac all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
echo machine: define Serial as the default output 2021-05-13 16:43:37 +02:00
echo2 os, runtime: enable os.Stdin for baremetal target 2022-06-01 07:56:25 +02:00
gba-display targets: add support for GameBoy Advance 2019-08-05 09:19:49 +02:00
hid-keyboard samd21,samd51,nrf52840: add support for USBHID (keyboard / mouse) 2022-06-11 09:44:09 +02:00
hid-mouse samd21,samd51,nrf52840: add support for USBHID (keyboard / mouse) 2022-06-11 09:44:09 +02:00
i2s all: format code according to Go 1.19 rules 2022-08-04 12:18:32 +02:00
mcp3008 machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
memstats runtime: expose memory stats 2021-06-10 22:03:00 +02:00
microbit-blink machine: refactor pins to be of Pin type 2019-05-26 20:48:50 +02:00
pininterrupt all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
pwm all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
rand examples: add example to exercise random number generation 2021-12-14 14:55:19 +01: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
temp rp2040: add machine.ReadTemperature 2022-09-21 08:26:56 +02:00
test examples/test: make unicode example more interesting 2018-09-21 14:37:11 +02:00
uart atmega2560: support UART1-3 2022-06-18 09:26:12 +02:00
usb-midi usb/midi: add definition of MIDI note number 2022-07-27 16:19:13 +02:00
wasm examples: adds summary of wasm examples and fixes callback bug 2022-09-07 13:31:21 +02:00