sago35
45c68ef0fc
ft6336: add support for ft6336
2022-01-04 15:54:35 +01:00
Olivier Fauchon
025a66655f
shtc3: Sensirion SHTC3 Relative Humidity / Temperature i2c sensor
2021-12-28 16:02:10 +01:00
deadprogram
121e8147f7
hd44780i2c: clean up for go fmt
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-12-24 16:00:39 +01:00
Alan Wang
b48bc5ac5d
Update hd44780i2c.go
2021-12-24 11:54:00 +01:00
Alan Wang
0d40c99d1f
Add files via upload
2021-12-22 16:49:54 +01:00
Alan Wang
bee7422c3a
Fix Nano 33 BLE drivers ( #351 )
...
Fix HTS221, LPS22HB and APDS9960 drivers and their examples for Arduino Nano 33 BLE:
* Update hts221_nano_33_ble.go
* Update lps22hb_nano_33_ble.go
* Update apds9960_nano_33_ble.go
2021-12-20 09:57:37 +01:00
spearson78
43099c5d5f
XPT2046 Touch driver ( #350 )
...
Co-authored-by: Steven Pearson <steven.pearson.78@gmail.com >
2021-12-14 09:14:10 +09:00
Yurii Soldak
0f9b9d873b
wifinina: avoid busy wait
2021-12-10 12:15:56 +01:00
sago35
114e24870e
ili9341, ili9342: add support for m5stack
2021-11-27 13:03:07 +01:00
soypat
b33c84ff78
add PCA9685 driver
2021-11-21 14:46:15 +01:00
sago35
966210f1b0
ili9341, ili9342: add support for m5stack-core2
2021-11-20 12:20:34 +01:00
deadprogram
90a13a697b
release: prepare for v0.18.0
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
v0.18.0
2021-11-18 15:25:24 +01:00
deadprogram
d632eb888f
docs: add LSM9DS1 to list
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-11-18 11:39:27 +01:00
Yurii Soldak
f6761a9079
lsm9ds1: minimal implementation
2021-11-18 11:36:16 +01:00
sago35
51c3aa271b
axp192: add support for AXP192 single Cell Li-Battery and power system management IC
2021-11-18 11:18:30 +01:00
soypat
520234e9f8
mcp3008: fix bitshift bug
2021-11-14 18:10:48 +01:00
Yurii Soldak
334ed57373
wifinina: control nina pins, for example leds
2021-11-12 15:32:21 +01:00
Sam Lader
3637033fec
Fix broken link for SHT3x datasheet ( #327 )
...
docs: fix broken link for SHT3x datasheet
2021-11-06 21:26:08 +01:00
deadprogram
233866443c
docs: update list of supported drivers with recent additions
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-11-06 18:34:08 +01:00
Alan Wang
65fd7aa1a1
Add support for APDS-9960, Digital Proximity, Ambient Light, RGB and Gesture Sensor ( #308 )
...
apds9960: add support for apds9960
2021-11-06 11:22:39 +01:00
Alan Wang
82e9e4a7f3
Add support for LPS22HB MEMS nano pressure sensor ( #297 )
...
lps22hb: add support for lps22hb
2021-11-06 11:14:21 +01:00
deadprogram
76ff632134
hts221: update build tags for Go 1.17+
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-11-06 11:05:25 +01:00
Alan Wang
cd2694e85f
Add support for HTS221 capacitive digital sensor for relative humidity and temperature ( #295 )
...
hts221: Add support for hts221.go
2021-11-06 11:02:30 +01:00
sago35
734adb6df8
i2csoft: fix Configure()
2021-11-04 15:02:21 +01:00
sago35
2492fcb322
i2csoft: gofmt
2021-11-04 15:02:21 +01:00
sago35
4f82c231cb
i2csoft: add source code for each target
2021-11-04 15:02:21 +01:00
sago35
2c9a05a413
i2csoft: remove the return value
2021-11-04 15:02:21 +01:00
sago35
a89a26112e
i2csoft: fix baudrate handling
2021-11-04 15:02:21 +01:00
sago35
bd42656644
i2csoft: add support for software I2C
2021-11-04 15:02:21 +01:00
Ayke van Laethem
94729a4f7d
ws2812: add support for RISC-V
...
This commit adds support for two new chips using the RISC-V
architecture: the FE310 (used in the HiFive 1) and the ESP32-C3 from
Espressif.
2021-11-03 19:14:32 +01:00
Ayke van Laethem
050cf4dbbc
ws2812: make assembly generator architecture independent
2021-11-03 19:14:32 +01:00
sago35
49c8810432
ili9341: refactor examples/ili9341
2021-10-31 20:12:50 +01:00
Yurii Soldak
4b38841f71
net: fix raddr of tcp conn
2021-10-26 11:22:45 +02:00
Yurii Soldak
3fe3fc64e4
wifinina: fix warnings
2021-09-19 13:05:38 +02:00
Yurii Soldak
0565a15b17
net: fix raddr typo
2021-09-19 13:05:38 +02: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
Ayke van Laethem
259593e608
ws2812: add support for 168MHz (e.g. Adafruit Feather STM32F405)
2021-09-17 10:19:21 +02:00
Ayke van Laethem
7a2b1b8c90
ws2812: improve timings to be compatible with the WS2811
...
The WS2811 has a slightly slower data rate, but it is close enough that
a single library can support both LEDs at the same time. In my testing,
this package was already compatible with WS2811 LEDs before this change
when running at 4-5V, but when the voltage dropped to 3V or so the LEDs
started misbehaving. With these improved timings, the LEDs remained of
the correct color even at very low voltages (although blue was starting
to fade due to lack of voltage - that's not a software/protocol issue).
2021-09-17 10:08:46 +02:00
Ayke van Laethem
cad03a7d4e
ws2812: fix generated build tags
2021-09-17 09:42:28 +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
deadprogram
b35496dd1b
make: correct fmt-check to look in all subdirectories
...
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
Ayke van Laethem
b3af3f594e
ws2812: generate assembly instead of handwriting it
...
Previously, a new implementation had to be written for each processor
speed. This is tedious and error-prone, therefore I've rewritten all of
the assembly code using a tool that will calculate exactly how many NOP
instructions are required.
I've also switched from build tags to a switch statement over all
processor speeds.
All in all, this means that:
- Chips with a supported CPU performance will automatically be
supported (no build tags necessary).
- Adding a new chip is as easy as adding the MHz count to the
generator script and to the switch statement.
Right now this is only for the Cortex-M, but it's certainly feasible to
extend this to other architectures such as the AVR.
2021-09-07 18:00:55 +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
Yurii Soldak
feb1c63656
Instructions on how to flash nina-fw on nano rp2040 connect w/o Arduino IDE
2021-09-05 11:57:07 +02:00
Yurii Soldak
0691ed5205
wifinina: nina-fw update docs
2021-09-05 11:57:07 +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