You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
local pin = readData([ESP201] P=4)
if pin == 1 then
print("[ESP201] P=4 V=0 ")
else
print("[ESP201] P=4 V=1 ")
end
I'm writing a couple of scripts like this one (just change state of flash on esp32cam). I know this can be just a digitalRead, but its about using readData() , this doesnt work, I missed something?
can readData used to read serial, like M27 data?