Lucas Bremgartner
690daebcd1
microbitmatrix: add smoke test for microbitmatrix with microbit-v2
2022-10-29 22:49:31 +02:00
Rafael Badiale
c00cb3abdd
qmi8658c: Add support for the QMI8658C sensor ( #467 )
...
* Add support for the QMI8658C sensor
* qmi8656c: update ReadTemperature signature
* Update README devices count
2022-10-02 14:14:37 +02:00
Lucas Matte
4061adf6db
Add GC9A01 Driver ( #452 )
...
* Added driver for gc9a01 round display and example code
2022-09-18 15:22:07 +02:00
Daniel Esteban
6f05615f3e
Initial support for VL6180x sensor
...
required changes
2022-09-05 16:04:30 +02:00
Neil Davis
810888ce42
Makefile recursively finds unit-tests
...
This commit modifies how the Makefile selects dirs for the unit-test target
Instead of assuming all dirs have tests and manually excluding those that don't,
it now recursively finds all dirs containing files with names matching "*_test.go"
A manual exclusion list is maintained for operational use.
2022-07-19 11:58:37 +02:00
deadprogram
cafe8df620
makeybutton: add driver for MakeyMakey-like button
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2022-07-18 20:44:46 +02:00
Daniel Esteban
ec00fdef9b
initial support for UC8151 driver, used in Pimoroni's badger2040 e-paper ( #416 )
2022-05-24 17:43:07 +02:00
deadprogram
c235509580
scd4x: implement driver for CO2 sensor
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2022-05-15 07:41:39 +02:00
Ayke van Laethem
06e298c514
ws2812: write inline assembly using C instead of Go
...
This is better for various reasons:
* I don't like the inline assembly implementation in TinyGo. It kinda
works, but it's hard to use correctly.
* The Go version had a subtle bug: the i and value variables weren't
marked as modified. The compiler produced correct code by chance. In
GCC-style inline assembly, it's possible to correctly mark it as an
input+output operand.
* LLVM 14 has some changes to inline assembly that change how memory
operands can be created. Instead of supporting that, I'd like to get
rid of memory operands entirely (and possibly inline assembly in
general).
I did some light testing: the ARM assembly changed a bit but not in any
way that should have a practical effect, and the RISC-V assembly didn't
change at all.
2022-04-21 11:10:18 +02:00
Neil Davis
01fed475e1
Add 'irremote' package as a basic infra-red driver
...
Currently contains an IR Receiver device only.
An IR Sender device will be added shortly
Supports receiving only NEC (extended address) protocol including repeat codes so far
2022-04-11 22:05:57 +02:00
soypat
5e54f08605
pca9685: add buffered one shot write
2022-04-04 17:12:39 +02:00
Anton Fisher
9a98d1be55
drivers: add driver for IS31FL3731 matrix LED driver ( #370 )
...
IS31FL3731: add driver for IS31FL3731 matrix LED driver
2022-03-09 13:54:07 +01:00
Donia Chaiehloudj
02e4548966
dht: fix humidity and temperature extraction for DHT22 ( #358 )
2022-03-08 12:42:28 +01:00
Steven Pearson
b3c0315a09
Driver for SSD1289 LCD
2022-02-18 06:01:55 +01:00
Olivier Fauchon
b6c750ccd1
sx126x: Driver for Semtech sx126x radio modules and optional RF Switch.
...
This first version of the driver has been tested with STM32WL SoC,
which embeddeds SX1262 radio on the same die.
2022-01-15 17:22:36 +01:00
deadprogram
43899e1330
build: remove smoketest for Arduino keyboard4x4 for now
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2022-01-12 18:26:10 +01:00
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
spearson78
43099c5d5f
XPT2046 Touch driver ( #350 )
...
Co-authored-by: Steven Pearson <steven.pearson.78@gmail.com >
2021-12-14 09:14:10 +09: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
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
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
bd42656644
i2csoft: add support for software I2C
2021-11-04 15:02:21 +01: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
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
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
0bc3702dd0
rtl8720dn: add support for rtl8720dn
2021-06-27 16:33:32 +02:00
sago35
6b914f7af7
sdcard: add support for fatfs
2021-05-31 17:26:21 +02:00
sago35
d07ad40373
sdcard: add support for spi sdcard driver
2021-05-23 11:22:42 +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
Kenneth Bell
f65bce6d36
ina260: add new i2c device
2021-05-11 11:13:29 +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
Quentin Smith
1345bc2161
p1am: documentation and example program
2021-04-02 17:23:38 +02:00
Quentin Smith
2cec480fb8
p1am: initial driver for the base controller
...
All the driver can currently do is initialize the base controller and enumerate
the connected modules.
2021-04-02 17:23:38 +02:00
deadprogram
75c15d5d0b
build: correct error in Makefile from invalid merge
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-03-26 18:28:12 +01:00
Nerzal
e1deb45aac
add 4x4 keypad driver ( #226 )
...
add 4x4 keypad driver
2021-03-26 18:19:40 +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
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
Austen LeBeau
c1c05cbef7
Add bmp388 support ( #219 )
...
bmp388: add support
2021-01-08 11:32:49 +01:00
deadprogram
b6aa674b2a
test: run unit tests against i2c drivers and any spi drivers without direct gpio
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2020-12-15 06:08:59 +01:00
Ayke van Laethem
df64ce8f50
ws2812: make AVR support more robust
...
* Merge AVR support for Digispark and non-Digispark
* Fix the error "inline assembly requires more registers than available"
* Use a single file for all AVR targets, in a similar style as the
Xtensa support.
2020-10-16 18:36:32 +02:00