This code is produced from the Blockly Cloud Programmer.
I'm using Blockly to demonstrate picaxe to a group using a mixture of windows and mac machines.
I want to demonstrate the use of a digital input to control program flow.
Clicking input c.4 to simulate a high, the pin goes yellow. However, clicking the run button of the simulator removes the high input so nothing happens.
Clicking run first to start the simulation and then clicking c.4 to send it high also does not work.
How do I get the simulator to show the use of a digital input?
I'm using Blockly to demonstrate picaxe to a group using a mixture of windows and mac machines.
I want to demonstrate the use of a digital input to control program flow.
Code:
main:
do while pinC.4 = 1
high C.0
pause 5000
low C.0
pause 5000
loop
stop
Clicking run first to start the simulation and then clicking c.4 to send it high also does not work.
How do I get the simulator to show the use of a digital input?
Attachments
-
27.9 KB Views: 11