Closed intrigus closed 4 years ago
Uhm ... I don't manage to get the variable into the ftDuino input block. How did you replace the I1/I2/... dropdown with the variable?
I guess you solved this by updating your fork of scratch-vm. I now also can't reproduce my problem, so I'm closing this issue.
Used scratch file:
analog_input_broken.sb3.zip (You may have to remove the
.zip
to import it into scratch.Expected behaviour:
Led goes on, then off, then on again and finally after reading from analog input (effectively discarding the result) it should go off again. Note that I'm reading from Port "0" which obviously is invalid.
Actual behaviour:
Led goes on, then off, then on again but the reading from analog input fails, so the led never goes off.
Error: