![]() ![]() ![]() MCP23017 uses high speed I 2 C interface while MCP23S17 used high speed SPI interface. This development board communicate to the microcontroller using I2C interface and increases the number of input-output pins of microcontroller. Both “byte writes” and “sequential writes” are As I’m using I2C I only need four connections: VCC, GND, SCL and SDA (I could have left off the other You have to add this declaration in your device configuration file if you like to use also BeforeWriteOutputs method: I haven't deep dived in the MCP23017 device datasheet yet. Once configured, you can use any of the 16 pins as pins for your projects. The operation is ended with a Stop (P) or Restart (SR) condition being generated by the master. In above code,i used i2c for eeprom interfacing and mcp23017 io expander.Essentially, you have a set of ‘row enable’ DO pins, and only one is ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |