for to or loop or set all or something like this

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
buzzger0815
Normal user
Posts: 21
Joined: 05 Aug 2020, 17:54

for to or loop or set all or something like this

#1 Post by buzzger0815 » 14 Aug 2020, 12:19

Hi there!

I would like to set all 8 outputs of a pcf8575 to 0 or 1 simultaneously. Therefore i would need a for to command or a pcfgpio,all,0 or pcfgpio,all,1.

Is there anything like this?

Thank you!

User avatar
Ath
Normal user
Posts: 3386
Joined: 10 Jun 2018, 12:06
Location: NL

Re: for to or loop or set all or something like this

#2 Post by Ath » 28 Feb 2022, 21:33

buzzger0815 wrote: 14 Aug 2020, 12:19 I would like to set all 8 outputs of a pcf8575 to 0 or 1 simultaneously. Therefore i would need a for to command or a pcfgpio,all,0 or pcfgpio,all,1.

Is there anything like this?
A bit late to the party, but since your question, there have been added some new commands to ESPEasy to accommodate what you request, "pcfgpiorange" and "pcfgpiopattern", as can be found in this page
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 3 guests