Skip to content

Commit

Permalink
Add MCP23017 I2C driver (#430)
Browse files Browse the repository at this point in the history
* Add mcp23017 driver

* extract I2C transport from the common MCP23x17 logic

* rename file and move chip init into Mcp23X17

* Add changelog entry

* expand changelog entry
  • Loading branch information
brbrr authored Dec 15, 2021
1 parent 2a4bc1a commit f99ff47
Show file tree
Hide file tree
Showing 3 changed files with 403 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* driver: added support for the 0 .. 2.5V ADC range to MAX11300 getter functions `const`, splitting the `enum VoltageRange` into two enums for the ADC and DAC configurations.

### Features
* driver: added support for the MCP23x17 I/O Expander with I2C transport implementation

### Bug Fixes

Expand Down
1 change: 1 addition & 0 deletions src/daisy.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
#include "dev/codec_pcm3060.h"
#include "dev/codec_wm8731.h"
#include "dev/lcd_hd44780.h"
#include "dev/mcp23x17.h"
#include "dev/max11300.h"
#include "ui/ButtonMonitor.h"
#include "ui/PotMonitor.h"
Expand Down
Loading

0 comments on commit f99ff47

Please sign in to comment.