Hi,
- are the pins 'provided' by an extender as usable as normal GPIO pins (for instance to connect and LCD, or a cascaded extender)?
Coincidentally, the example described previously with the HD44780 driver over an I2C IO-expander is now officially an example. https://github.com/roboterclubaachen/xpcc/blob/develop/examples/stm32f4_disc... Cheers, Niklas
Hi, Thanks for your inspiration, we’ve added an interface for IO-expanders and adapted three of our hardware drivers to this interface. http://xpcc.io/api/classxpcc_1_1_gpio_expander.html There is a wrapper class for using individual pins of the expander: http://xpcc.io/api/classxpcc_1_1_gpio_expander_pin.html#details And also a wrapper for optimized access to the port or parts of it: http://xpcc.io/api/classxpcc_1_1_gpio_expander_port.html#details See the updated example on how to use of this: https://github.com/roboterclubaachen/xpcc/blob/develop/examples/stm32f4_disc... Cheers, Niklas
participants (1)
-
Niklas Hauser