12 blocks input reading
pongmstr2
Posts: 16
so i downloaded 12blocks and went through all the tutorials and tried the help search to no avail. I am trying to read an input from a switch connected to pin 4 to actuate a relay on pin 5. any ideas or can someone point me to an example that shows how to input a high or low. Thank you, Henry.
Comments
You were looking for the "pin" block see attached for exactly what you need.
Hanno
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Co-author of the official Propeller Guide- available at Amazon
Developer of ViewPort, the premier visual debugger for the Propeller (read the review here, thread here),
12Blocks, the block-based programming environment (thread here)
and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer
Hanno
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Co-author of the official Propeller Guide- available at Amazon
Developer of ViewPort, the premier visual debugger for the Propeller (read the review here, thread here),
12Blocks, the block-based programming environment (thread here)
and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer