Micropython driver for 16-channel I2C PWM GPIO expander.
https://github.com/pappavis/micropython-sx1509-library
Chip features;
- 16-channel with PWM & "breathing"
- Voltages 1.2V to 3.6V with tolerance for upto 5.5V
- Support for 8x8 keypad and debouncing.
Note: its best suited for ESP32 as an ESP8266 gives memory allocation error after first use.
Its my very first attempt at a Micropython driver, which works best on ESP32. Code was taken 1-on-1 from the Sparkfun C++ code. I'm sure someone can improve if so, let me know.
Original topic here
#easylab4kids #sx1509
SX1509 I2C 16-channel GPIO expander PWM + keypad
-
- Posts: 20
- Joined: Mon Aug 12, 2019 10:58 am
- Location: Ellisras, Suid-Afrika ("South Africa")
SX1509 I2C 16-channel GPIO expander PWM + keypad
met vriendelijke groet,
Easylab4kids.nl
Easylab4kids.nl