Olivier Fauchon
d57d9b6c74
sx127x: fix typos, provide corrections
2023-01-31 23:54:43 +01:00
Olivier Fauchon
07ba9ec0fd
fix bandwidth,tx power in lora/sx126x/lora_continuous example
2023-01-31 23:54:20 +01:00
Olivier Fauchon
fa0cf6ec7f
lorawan cleanup and optimizations:
...
- Remove all default loraconf default initialisation in lorawan examples (Region Settings takes care of this now)
- Remove retries while receiving JoinAccept and increase LoraRX to 10s (no need to wait more than 10s)
- Add constants for RegionSetting default frequencies
- Standardize all lora default configurations in lora examples
- Add new AT+LW=NET,(ON|OFF) command in atcmd example
2023-01-31 23:54:13 +01:00
Olivier Fauchon
d473b9e1dc
lorawan/basic-demo: add debug logs at compile time with ldflags
2023-01-29 23:56:19 +01:00
Olivier Fauchon
7cc32dffed
lorawan/basic-demo : fix in lorawan debug informations
2023-01-29 23:56:19 +01:00
Olivier Fauchon
78cc1afe46
lorawan: Basic implementation of Lorawan Regional Settings and EU868/AU915 regions
2023-01-29 23:56:19 +01:00
deadprogram
e6cde8f7ae
bmp180: add ReadAltitude() function copied from BMP280 driver
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-01-27 21:42:08 +01:00
deadprogram
89f113c0ca
examples: lora/lorawan add needed build tags for lgt92/featherwing
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-01-27 00:49:38 +01:00
deadprogram
3b8a808a52
examples: lora/lorawan pin mapping for lgt92 and Adafruit Featherwing
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-01-27 00:49:38 +01:00
deadprogram
7506a895a2
examples: update lora/lorawan common setup to use sx127x RadioControl
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-01-27 00:49:38 +01:00
deadprogram
4a950a4474
sx127x: add RadioController interface to match sx126x
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-01-27 00:49:38 +01:00
deadprogram
390854ee45
examples: set pin mappings for sx126x external board
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-01-16 09:33:13 +01:00
deadprogram
9e70ecbe64
sx126x: there is no dio0 just dio1
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-01-16 09:33:13 +01:00
deadprogram
d6d06396b4
sx126x: refactor to RadioController interface to more easily handle non-STM32WL boards and remove duplicated code
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-01-16 09:33:13 +01:00
deadprogram
556aa9e6d3
examples: lorawan atcmd outputs needed info after Join to reuse, aka 'OTAA provisioning'
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-01-16 09:33:13 +01:00
Olivier Fauchon
889536f7f0
Lorawan uplink support and new lorawan 'basic-demo' example
2023-01-11 07:48:30 +01:00
deadprogram
301e6bc35b
examples: improvements to README for LoRaWAN atcmd example
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-01-10 22:45:01 +01:00
deadprogram
49b390f7bc
examples: lorawan atcmd able to join
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-01-10 22:45:01 +01:00
deadprogram
36dfdf568e
examples: move atcmd into lorawan
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-01-10 22:45:01 +01:00
deadprogram
3433364586
examples: example with LoRa AT command set implementation
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-01-10 22:45:01 +01:00
deadprogram
338be928c9
sx126x, sx127x: remove extra Lora in functions to avoid stuttering
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-01-09 07:36:07 +01:00
deadprogram
9b14ee3ec5
sx127x: lora rx/tx example working, now assumes pybadge+featherwing
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-01-09 07:36:07 +01:00
deadprogram
2005d7d483
lora: move shared config for sx126x/sx127x to single package
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-01-09 07:36:07 +01:00
Olivier Fauchon
f15eec822f
sx127x: Ajout du support d'interruptions RXTimeout (DIO1)
2023-01-09 07:36:07 +01:00
Olivier Fauchon
dc4f0c974a
sx127x: Major cleanup/rewrite, and tests pass with lorawan stack tests
2023-01-09 07:36:07 +01:00
Olivier Fauchon
28ddb2681d
sx127x: Driver for Semtech sx127x radio modules
...
This first version of the driver has been tested with BB-FRM9x module
2023-01-09 07:36:07 +01:00
BCG
877342d0ff
add suport for SH1106 display driver
2022-12-23 09:30:37 +01:00
deadprogram
8b3075fdba
build: remove older format build tags
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2022-12-21 17:47:14 -05:00
Damian Gryski
0ccd979f23
examples: fix odd if sequence found by static analysis
2022-12-04 21:26:47 +01:00
Scott Feldman
0ec887c9d8
wifinina: add support for http server ( #480 )
...
* wifinina: add support for http server
This adds http.ListenAndServe() implementation for wifinina. Included
is an example webserver, basically copied from the rtl8720dn/webserver.
Tested on Arduino Nano RP2040 Connect. Also tried testing on Arduino
Nano33 IoT but test panics with "out of memory". There's only 32K of
SRAM on the Nano33, vs 264K on the rp2040 Connect.
2022-11-14 22:24:15 +01: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
deadprogram
1bb1b621c6
all: correct go fmt
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2022-09-25 13:23:16 +02:00
sago35
5af2512901
espat,wifinina,rtl8720dn: change ssid/pass from const to var
2022-09-24 11:34:29 +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
deadprogram
0ea72e7f1e
makeybutton: revise to better match the algorithm defined by the original
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2022-09-16 18:34:36 +02:00
sago35
7396a5be43
examples/rtl8720dn: remove wifi setting
2022-09-06 13:51:46 +02:00
deadprogram
c409e8f3cf
examples/rtl8720dn: add call to optional debug setting
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2022-09-06 13:29:15 +02:00
deadprogram
a6a8d478b9
examples/rtl8720dn: update all remaining examples for refactored API
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2022-09-06 13:29:15 +02:00
deadprogram
54ddb895cc
rtl8720dn: refactor by bringing this driver more in line with wifinina and espat
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2022-09-06 13:29:15 +02:00
Daniel Esteban
6f05615f3e
Initial support for VL6180x sensor
...
required changes
2022-09-05 16:04:30 +02:00
Kenneth Bell
749b2f6726
epd: add waveshare 2.9in (v1)
2022-08-05 21:01:04 +02:00
deadprogram
71c77d4b53
makeybutton: move pin config where it needs to be
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2022-07-28 08:31:53 +02:00
sago35
1850c5effb
rtl8720dn: add ./examples/rtl8720dn/version
2022-07-20 11:38:07 +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
Neil Davis
13c43350a3
Fix irremote reporting incorrect NEC addresses and command codes ( #422 )
...
Change from reading MSB->LSB to LSB->MSB
Fixes https://github.com/tinygo-org/drivers/issues/422
2022-07-13 12:07:44 +02:00
Neil Davis
8ddcd69ac0
Add support for '8-step mode' to easystepper
...
Currently, easystepper driver supports only '4-step mode' (12-23-34-41) when energizing the coils
This does not work with all motors & drivers (e.g. 28BJY-48 & ULN2003)
This commit adds support for 8-step mode (1-12-2-23-3-34-4-41)
Note: this commit breaks backward source compatibility for the factory/constructor functions.
2022-06-12 22:19:42 +02:00
Olaf Flebbe
df0d0d29a4
ws2812: support thingplus-rp2040 board
...
Added 125 MHz rp2040 timing
Added unsafe.Pointer for pointer conversion
2022-05-28 10:22:26 +02:00
Yurii Soldak
3bdab45452
lsm6ds3tr: initial implementation
2022-05-27 07:48:50 +02:00
Olaf Flebbe
9f6783670f
sdcard: support thingplus-rp2040
...
The instances of SPI interfaces SPI0, SPI1, ... are
pointers to SPI types on rp2040 machines, rather plain
values like other machines.
This needs restructuring the sdcard API to take a pointer
to the SPI interface rather the SPI type itself.
Removed waitserial() since it needs modem control lines
not available on most boards
2022-05-24 19:16:34 +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