Site icon Renzo Mischianti

pcf8574 ReadAll in low memory compare to single value byte

Hello Everyone, I have a byte field that I need to compare with ReadAll without using low memory, After several attempts I couldn't, how to compare
PCF8574 :: DigitalInput di = pcf85741.digitalReadAll (); 
with byte value? ex:

byte valor = 220;
if(valor == PCF8574 :: DigitalInput di = pcf85741.digitalReadAll ());
Thank you
Exit mobile version