deadprogram
dfd652ca1f
docs: up to 65 devices
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-05-12 15:30:41 +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
deadprogram
d7f619ca21
docs: update count of supported devices to 63
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-05-12 09:24:16 +02:00
Kenneth Bell
d1ace44754
aht20: add device
2021-05-12 09:21:52 +02:00
Kenneth Bell
6b58fdc95a
tester: add a mock for command-oriented i2c devices
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
Yurii Soldak
3bcde1485c
Enable reset screen for SSD1306 via 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
deadprogram
cbcb62af01
wifinina: update docs to simplify the nina-fw update process
...
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
2a48b5c25d
wifinina: fix getMACAddress and getTime
...
Tested against Adafruit AirLift (compatibile variant of wifinina)
2021-05-12 09:11:18 +02:00
deadprogram
e6a822f68b
docs: up to 62 devices for the README
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-05-11 18:27:00 +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
Tobias Theel
b869d27170
remove debug flag and remove unnecessary padding call
...
(cherry picked from commit 9d3e63232b )
2021-05-11 10:59:52 +02:00
Tobias Theel
107932a201
fix padding and implement missing functions
...
(cherry picked from commit 0aa0bde76e )
2021-05-11 10:59:52 +02:00
sago35
d2db0c28e2
doc: update README.md
2021-05-10 14:42:12 +02:00
sago35
761bcfc4db
pcf8563: add support for pcf8563 real time clock
2021-05-10 14:35:01 +02:00
Kenneth Bell
91dadd5535
Add 16-bit register mock device
2021-05-10 12:15:52 +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
Daniel M. Lambea
23776bf906
flash/drivers: fix EraseBlocks method which is erasing sectors instead
2021-04-05 14:44:56 +02:00
Ayke van Laethem
e77e9249cd
all: use interfaces for UART objects
...
This makes it possible to replace UART objects with dummy
implementations, for example. Or allows changing the `machine.UART` type
to `*machine.UART` without breaking compatibility.
2021-04-02 17:31:28 +02:00
Quentin Smith
1345bc2161
p1am: documentation and example program
2021-04-02 17:23:38 +02:00
Quentin Smith
ab795cc186
p1am: support the P1AM-100 hardware watchdog
2021-04-02 17:23:38 +02:00
Quentin Smith
36213a1cdc
p1am: fetch base controller version number
2021-04-02 17:23:38 +02:00
Quentin Smith
963c903d71
p1am: support discrete inputs and outputs
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
Quentin Smith
68da7f437b
p1am: import constants from P1AM Arduino library
2021-04-02 17:23:38 +02:00
sago35
d0632fccfa
add .vscode/ to .gitignore
2021-03-28 12:23:16 +02:00
sago35
2c0a74df4d
delete .vscode/settings.json
2021-03-28 18:50:51 +09:00
sago35
c6228a0677
Merge remote-tracking branch 'origin/release' into dev
2021-03-28 18:44:35 +09:00
deadprogram
33ec7fc98f
examples: correct go fmt error
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-03-26 18:28:41 +01: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
deadprogram
d1cafbc2b2
docs: add missing new drivers added since last release
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-03-26 18:12:02 +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
deadprogram
de1e6a626a
Prepare for drivers release 0.15.1 to get tag correct
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-03-26 18:10:39 +01:00
deadprogram
7531c9d334
Prepare for drivers release 0.15.0
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
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
deadprogram
b9a70aeb6f
docs: add missing new drivers added since last release
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-03-26 18:05:00 +01:00
deadprogram
cad0a320b7
docs: update year in license to 2021
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-03-26 18:03:15 +01:00
Nick Craig-Wood
a53a39922b
hd44780: add a mode to work with boards where the RW pin is grounded
...
On some HD44780 boards (eg the Keyestudio LCD1602 expansion shield),
the RW pin isn't brought out and is permanently grounded.
This means that the board can't be read from, and in particular the
busy status can't be read.
This patch adapts the package to work with boards like these.
To signal this to the package, set the RW pin to machine.NoPin.
The package will then disallow all reading and use adjustable timing
based writing. The timing can be adjusted the configuration.
2021-03-26 18:03:15 +01:00
deadprogram
41d6a4c3fa
adc: update drivers with ADC to use new config struct
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-03-26 18:03:15 +01:00
deadprogram
60ba0e3b30
st7789: correct errors on various godoc comments
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-03-26 18:03:15 +01:00
deadprogram
2b5f43029c
st7789: add scrolling functions to match st7735
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2021-03-26 18:03:15 +01:00