tarling / blockly-wedo

Blockly editor for WeDo
GNU General Public License v2.0
5 stars 3 forks source link

Sensor/Output check not correctly parsed #23

Closed cpseager closed 8 years ago

cpseager commented 8 years ago

If you connect a distance sensor to B, and then say

turn [B] on for [2] secs

the value of B (distance) on left hand side changes to 100 when 'on' - even though its shouldn't be getting power at all (as it is a sensor).

cpseager commented 8 years ago

watch the 84 - incorrectly changes to 100 when 'on'

capturedistance2

cpseager commented 8 years ago

setAt powerAt directionAt are not checking whether it is an output or not before sending out the USB write

cpseager commented 8 years ago

Fixed by 3939a46