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
This doesn't create an error message. But the motor won't spin, because the state 'HIGH, HIGH' is the same as 'LOW, LOW' - stop.
I'm attaching a screenshot.
The text was updated successfully, but these errors were encountered:
I used the blocks for 'motor DC'. When I put the 'spin motor DC' on 'right&left' 'backward' it generates C-code that doesn't work.
Instead of
digitalWrite(l298n_in3,HIGH);
digitalWrite(l298n_in4,HIGH);
analogWrite(l298n_enb,(255));
it should be
digitalWrite(l298n_in3,HIGH);
digitalWrite(l298n_in4,LOW);
analogWrite(l298n_enb,(255));
This doesn't create an error message. But the motor won't spin, because the state 'HIGH, HIGH' is the same as 'LOW, LOW' - stop.
I'm attaching a screenshot.
The text was updated successfully, but these errors were encountered: