sago35
bd42656644
i2csoft: add support for software I2C
2021-11-04 15:02:21 +01:00
sago35
49c8810432
ili9341: refactor examples/ili9341
2021-10-31 20:12:50 +01:00
deadprogram
fad9d12e0b
examples/ili9341: correct go format
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-09-18 15:06:56 +02:00
sago35
f2e5278965
image: add support for image/jpeg and image/png ( #303 )
...
* Copy from go1.17 image package
* Remove unnecessary files
* Reduce memory usage
* Add examples/ili9341/slideshow
* image: add ./image/README.md
* image: change convert2bin to . /cmd
* Makefile: add ./cmd to NOTEST
2021-09-18 12:18:02 +02:00
deadprogram
98f5396625
examples/sdcard: correct invalid build tag noticed by @aykevl
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-09-16 18:31:33 +02:00
deadprogram
3b16972ed8
all: use build directives for both Go1.17 and earlier versions
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-09-16 18:31:33 +02:00
Yurii Soldak
ad6be40966
lsm6dox: minimal correct implementation
2021-09-14 12:10:59 +02:00
sago35
9a3bfd4826
wifinina: add comments
2021-09-06 11:06:59 +02:00
sago35
1ba9ba3143
wifinina: add examples/wifinina/http-get
2021-09-06 11:06:59 +02:00
deadprogram
e70beede1c
ws2812: update examples to use go:build tags required by go 1.17
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-09-03 11:11:40 +02:00
sago35
a0119ffc6f
rtl8720dn: add examples/rtl8720dn/tcpclient
2021-08-09 21:11:47 +02:00
sago35
58106b5942
Add examples/rtl8720dn/udpstation
2021-08-05 22:18:24 +02:00
sago35
2537c69b0f
rtl8720dn: add support for http.Get(), http.Post() and cookie
2021-08-05 08:10:52 +02:00
sago35
633f19c4ac
rtl8720dn: add examples/rtl8720dn/mqtt*
2021-07-31 11:02:45 +02:00
sago35
6a4cd9d8e7
rtl8720dn: add examples/rtl8720dn/webserver
2021-07-24 09:44:17 +02:00
sago35
8a4a0ff017
rtl8720dn: add info when debug mode is enabled
2021-07-24 09:28:46 +02:00
deadprogram
f7ae6fac6d
modules: switch to use tinygo-org version of tinyfs package
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-07-01 20:00:52 +02:00
sago35
0bc3702dd0
rtl8720dn: add support for rtl8720dn
2021-06-27 16:33:32 +02:00
sago35
b53a8a17e7
ili9341: add standard SPI driver
2021-06-27 08:08:27 +02:00
sago35
5e117c162c
ws2812: rename the pin to ws2812
2021-06-26 14:04:13 +02:00
sago35
24dfd8795a
sdcard: add write functionality to examples/sdcard/tinyfs
2021-06-23 18:34:26 +02:00
sago35
5645eb3f91
ws2812: add support for qtpy and atsame5x
2021-06-01 21:09:08 +02:00
sago35
6b914f7af7
sdcard: add support for fatfs
2021-05-31 17:26:21 +02:00
Ayke van Laethem
5a02fe068b
apa102: use 4-byte buffer to improve speed
...
Instead of sending the APA102 data byte by byte, it's more efficient to
send multiple bytes at once (especially when the SPI peripheral uses
DMA). This requires the apa102.Device object to be a pointer receiver to
avoid excessive heap allocations.
This commit also just happens to work around a hardware bug on the
nrf52832:
https://infocenter.nordicsemi.com/index.jsp?topic=%2Ferrata_nRF52832_Rev2%2FERR%2FnRF52832%2FRev2%2Flatest%2Fanomaly_832_58.html&anchor=anomaly_832_58
2021-05-30 22:39:50 +02:00
Yurii Soldak
9adbde99a2
wifinina: avoid fmt package
2021-05-28 18:09:29 +02:00
Yurii Soldak
a09ec31e7a
Fix RSSI command for WiFiNINA
...
+ Print current SSID
+ Wait for correct time before printing it out
+ Cleanup
2021-05-27 08:00:13 +02:00
sago35
d07ad40373
sdcard: add support for spi sdcard driver
2021-05-23 11:22:42 +02:00
sago35
aa17ffd1cb
uart: use machine.Serial as the default output
2021-05-14 13:26:59 +02:00
Ayke van Laethem
c765ef3970
servo: add driver using PWM
...
This PR adds support for controlling servos. For example, on the Arduino
Uno it should be able to control up to 6 servos jitter-free when using
all available PWM pins.
I haven't added support for setting a position in degrees, mainly
because this varies by servo and it's probably necessary to configure
the bounds in some way. Therefore, I added just SetMicroseconds. This
makes the API possible to use and leaves the possibility of adding a
SetPosition in the future.
2021-05-12 15:29:18 +02:00
akif999
428db3cd12
mcp2515: add support for mcp2515 CAN device
2021-05-12 13:37:02 +02:00
Kenneth Bell
d1ace44754
aht20: add device
2021-05-12 09:21:52 +02:00
Yurii Soldak
bd2530abee
Example of ssd1306 with 128x64 display over I2C
2021-05-12 09:14:51 +02:00
deadprogram
351700e48d
wifinina: add information about Adafruit boards with ESP32 wifi coprocessors, and modify examples to remove code that was both not being used, and also prevented many Adafruit boards from being able to be targeted by the examples
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-05-12 09:13:09 +02:00
Yurii Soldak
19bb773e5b
fix println + cleanup
2021-05-12 09:11:18 +02:00
Yurii Soldak
69cc0b22c4
Example that connects to AP and prints ip addresses, time and mac
2021-05-12 09:11:18 +02:00
Kenneth Bell
f65bce6d36
ina260: add new i2c device
2021-05-11 11:13:29 +02:00
Yurii Soldak
67b8a341a6
Make TLS work over WiFiNINA
...
Verified on Arduino Nano33 IoT and nina fw v1.4.5
2021-05-11 10:59:52 +02:00
sago35
761bcfc4db
pcf8563: add support for pcf8563 real time clock
2021-05-10 14:35:01 +02:00
Alan Wang
f7dc106fc8
tm1637: add support for tm1637 7-segment LED
2021-05-07 18:05:44 +02:00
Ayke van Laethem
df343190c2
tone: add package for producing tones using the PWM interface
2021-05-05 14:49:23 +02:00
deadprogram
6bc466f79b
pwm: update drivers with PWM to use new interface
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-05-05 14:44:24 +02:00
Quentin Smith
1345bc2161
p1am: documentation and example program
2021-04-02 17:23:38 +02:00
deadprogram
33ec7fc98f
examples: correct go fmt error
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-03-26 18:28:41 +01:00
Ayke van Laethem
0b6bfda8cf
all: do not take the pointer of an I2C object
...
This is in preparation of PR
https://github.com/tinygo-org/tinygo/pull/1693 , which makes machine.I2C0
and similar objects of pointer type, so they can be freely passed
around.
2021-03-26 18:10:39 +01:00
Nerzal
84408279de
add 4x4 keypad driver ( #226 )
...
add 4x4 keypad driver
2021-03-26 18:10:39 +01:00
pleomaxx3002
ee44900c25
DHTXX driver ( #235 )
...
dhtXX: add new driver for dht thermometer
2021-03-26 18:09:48 +01:00
Tobias Theel
a771641339
max7219: add driver support
2021-03-26 18:03:15 +01:00
Ayke van Laethem
5d3ad4ba52
all: fix main package in examples
...
The package with the main function should always have the name main.
This was not the case in three packages.
This was silently allowed before, but since a TinyGo change
(https://github.com/tinygo-org/tinygo/pull/1592 ) this now results in a
linker failure.
Perhaps this should result in a better error message in TinyGo. However,
the example code also needs to be fixed, so hence this PR.
2021-01-27 23:50:58 +01:00
Roger Peppe
ce5e443084
mcp23017: implement pin toggling
...
Also add an example for using multiple devices.
2021-01-20 12:56:22 +01:00
Roger Peppe
edf9ba92be
mcp23017: new driver for MCP23017 (I2C port expander)
2021-01-20 12:56:22 +01:00