Adafruit Shield Motor V2 problems
Posted: 20 Mar 2021, 15:03
Hya,
tried the following rule with plugin P048
problem: event OPEN#status NEVER reaches.
tried the following rule with plugin P048
Code: Select all
On System#Boot do //When the ESP boots, do
let,1,0
let,2,0
logentry, "start"
endon
on OPEN#status do
if %eventvalue%=1
logentry,"forward"
let,1,1
MotorShieldCMD,DCMotor,4,Forward,100
else
logentry,"backward"
let,1,0
MotorShieldCMD,DCMotor,4,Backward,100
endif
endon