All Projects → blemasle → arduino-mcp23017

blemasle / arduino-mcp23017

Licence: MIT license
Complete support of MCP23017

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to arduino-mcp23017

SerialTransfer
Arduino library to transfer dynamic, packetized data fast and reliably via Serial, I2C, or SPI
Stars: ✭ 273 (+520.45%)
Mutual labels:  i2c, arduino-library
arduino-sht
Repository for Sensirion humidity and temperature sensor support on Arduino
Stars: ✭ 43 (-2.27%)
Mutual labels:  i2c, arduino-library
gfx demo
GFX Demo for Arduino and the ESP-IDF
Stars: ✭ 63 (+43.18%)
Mutual labels:  i2c, arduino-library
BME680
Arduino Library to access the Bosch BME680 - temperature, pressure, humidity and gas sensor
Stars: ✭ 30 (-31.82%)
Mutual labels:  i2c, arduino-library
Liquidmenu
Menu creation Arduino library for LCDs, wraps LiquidCrystal.
Stars: ✭ 141 (+220.45%)
Mutual labels:  i2c, arduino-library
MCP7940
Arduino Library to access the MCP7940M, MCP7940N and MCP7940x Real-Time chips
Stars: ✭ 29 (-34.09%)
Mutual labels:  i2c, arduino-library
PCF8575 library
Library to use i2c digital expander with arduino, esp8266 and esp32. Can read write digital value with only 2 wire (perfect for ESP-01).
Stars: ✭ 28 (-36.36%)
Mutual labels:  i2c, arduino-library
I2C EEPROM
Library for I2C EEPROM - 24LC256
Stars: ✭ 27 (-38.64%)
Mutual labels:  i2c, arduino-library
Nintendoextensionctrl
Arduino library for communicating with Nintendo extension controllers
Stars: ✭ 67 (+52.27%)
Mutual labels:  i2c, arduino-library
Ssd1306
Driver for SSD1306, SSD1331, SSD1351, IL9163, ILI9341, ST7735, PCD8544, Nokia 5110 displays running on Arduino/ESP32/Linux (Rasperry) platforms
Stars: ✭ 303 (+588.64%)
Mutual labels:  i2c, arduino-library
PCF8591 library
Library to use i2c analog IC with arduino and esp8266. Can read analog value and write analog value with only 2 wire (perfect for ESP-01).
Stars: ✭ 24 (-45.45%)
Mutual labels:  i2c, arduino-library
SoftWire
Software I2C implementation for Arduino and other Wiring-type environments
Stars: ✭ 105 (+138.64%)
Mutual labels:  i2c, arduino-library
miniboot
🏗️ An I2C bootloader for Arduino.
Stars: ✭ 62 (+40.91%)
Mutual labels:  i2c, arduino-library
arduino-bme280
💧 Arduino library for Bosch Sensortec BME280 – combined temperature, pressure, humidity sensor. The library allows using the sensor over I2C or SPI on any board that supports Arduino.
Stars: ✭ 25 (-43.18%)
Mutual labels:  i2c
ZMPT101B-arduino
Arduino library for ZMPT101B voltage sensor.
Stars: ✭ 34 (-22.73%)
Mutual labels:  arduino-library
WiFiEspAT
Arduino networking library. Standard Arduino WiFi networking API over ESP8266 or ESP32 AT commands.
Stars: ✭ 178 (+304.55%)
Mutual labels:  arduino-library
Seeed Arduino Sketchbook
This library provides many Wio terminal demos and some other demo for seeed's product.
Stars: ✭ 64 (+45.45%)
Mutual labels:  arduino-library
Filters
An Arduino finite impulse response and infinite impulse response filter library.
Stars: ✭ 36 (-18.18%)
Mutual labels:  arduino-library
AD9850SPI
AD9850 SPI library for arduino
Stars: ✭ 20 (-54.55%)
Mutual labels:  arduino-library
SparkFun AutoDriver Arduino Library
Arduino library support for the SparkFun AutoDriver board based on the ST Micro L6470 stepper driver.
Stars: ✭ 14 (-68.18%)
Mutual labels:  arduino-library

MCP23017

Build Status License

This library provides full control over the Microchip's MCP23017, including interrupt support.

Features

  • Individual pins read & write
  • Ports read & write
  • Registers read & write
  • Full interrupt support

Usage

Unlike most Arduino library, no default instance is created when the library is included. It's up to you to create one using the appropriate I2C address based on MCP23017 A0, A1 and A2 pins wirings. Available addresses go from 0x20 to 0x27, allowing up to 8 MCP23017 on the same I2C bus.

#include <Arduino.h>
#include <MCP23017.h>

MCP23017 mcp = MCP23017(0x24);

Additionaly, you can specify the Wire instance to use as a second argument. For instance MCP23017(0x24, Wire1).
See included examples for further usage.

Remarks

Major renames have been performed in v2.0.0 to improve compatibility with a variety of platforms. Existing code will break when you update from version v1.x.

Name in v1.x Name in v2.x
MCP23017_PORT MCP23017Port
MCP23017_REGISTER MCP23017Register
MCP23017_INTMODE MCP23017InterruptMode

In addition to this, every member of the MCP23017Register enum were renamed to avoid possible conflicts with macro definitions. GPIOA was renamed to GPIO_A, INTCAPA to INTCAP_A and so on...

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].