microsoft / pxt-chibitronics

Chibitronics Love To Code board editor with Microsoft MakeCode
https://makecode.chibitronics.com
Other
23 stars 15 forks source link

Fix sensing block #136

Closed samelhusseini closed 6 years ago

samelhusseini commented 6 years ago

Fixes issue described by @nataliefreed in https://github.com/Microsoft/pxt-chibitronics/issues/95.

I was previously under the assumption that the High sensing value is 1 and Low was 0. But it appears it's either a different specific value greater than 1, or it's a range. Either way, this fixes it.