- This topic has 1 reply, 2 voices, and was last updated 1 year, 6 months ago by .
- You must be logged in to reply to this topic.
Home › Forums › The libraries hosted on the site › PCF8575 16bits i2c digital I/O expander › read state of pcf after a reboot
hi renzo,
i am going to use the pcf as a replacement for mcp23017. all ports are outputs (16). when using the mcp, pinmode putput, i can still read the registers state with readgpioab. this is very useful after a reboot to know in which state the mcp pins are (high or low). is it also possible to do the same with pcf? get the state of all outputs after a reboot? tnx for your help. mike
Hi Mike,
Probably pcf8474 maintains the state with the continuous current.
But my library restarted the pcf in Setup and I think you lost all.
Bye Renzo
More
3D Printer 3D printer upgrade ABB Arduino Arduino IDE Arduino SAMD boards Aurora AWS CNC Cyclone PCB Factory Cyclone PCB Factory how to build It Display DynamoDB E32 E70 EByte esp01 esp32 esp8266 File System Firmware i2c Library LoRa MicroPython Milling PCB My PCB Networking PCB pinout Power saving Programming board Raspberry Pi REST API RF rp2040 SD Card Sensors Sleep and Wake UP SPI STM32 Tutorial Web Server Wemos D1 mini WiFi