taweili / ardublock

ArduBlock is a Block Programming Language for Arduino.
GNU General Public License v3.0
413 stars 292 forks source link

Digital output pin number from variable - bug #157

Closed dkuku closed 8 years ago

dkuku commented 8 years ago

I've tried to translate blink without delay example to ardublock and when setting first a variable for pin number and later setting the pin as state it doesn't work because ardublock first sets the VARIABLE as 0 before setup function and then in setup first sets the pin number VARIABLE as output( which is 0) and at the end sets the VARIABLE as number -this is to late

TonyCallear commented 8 years ago

See issue #149.

Fixed in this jar? Please comment.

http://www.callear.net/arduino/ardublock-highclare-2016-04.jar

dkuku commented 8 years ago

its working ok with this one

dkuku commented 8 years ago

@TonyCallear Which branch have you used for this build ? The interface is tidy and it is the only one where digital input with pullup is showing up (also a bug in the master branch??) And I started to translate it to polish and want to build it but every branch I've tried has the digital input with pullup missing.

TonyCallear commented 8 years ago

See pull requests #146 or #150. I've been waiting a while for feedback on these requests (not sure if anyone's listening actually?) so you'd have to apply them yourself.

Or just see https://github.com/TonyCallear/ardublock

Hope this helps.