UncleRus / esp-idf-lib

Component library for ESP32-xx and ESP8266
https://esp-idf-lib.readthedocs.io/en/latest/
1.37k stars 426 forks source link

request - PCF8575 example use of specific pin #495

Closed TalSomech closed 1 year ago

TalSomech commented 1 year ago

The issue

Hi im currently using PFC8575TS and i wanted to use your library to make it easier to write and read from the IO expander but i've not seen if possible a way to write to a specific pin inside the IO expander and would like an example if possible , if not if you could make me understand , since in the docs all that is written refers to address or descriptor.

Which SDK are you using?

esp-idf

Which version of SDK are you using?

latest

Which build target have you used?

Component causing the issue

switch

Anything in the logs that might be useful for us?

No response

Additional information or context

No response

Confirmation

trombik commented 1 year ago

Here is the example: https://github.com/UncleRus/esp-idf-lib/tree/master/examples/pcf8575/default

If you don't understand it, use the forum instead of Issues.

https://github.com/UncleRus/esp-idf-lib/discussions