Open
Description
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?
any help please to clarify it