PBASIC- how to assign pins on the microprocessor to variables.
gruxer
Posts: 1
Hey everyone im novice if it comes to PBASIC so there is a novice-like question:
Can you assign outputs and inputs to variables?
example:
output 0
x var bit
x=out0
main:
x=0
pause 500
x=1
pause 500
goto main
is it possible? if so, how to do it? i apreceate all your help thank you.
Post Edited (gruxer) : 9/29/2009 7:08:42 PM GMT
Can you assign outputs and inputs to variables?
example:
output 0
x var bit
x=out0
main:
x=0
pause 500
x=1
pause 500
goto main
is it possible? if so, how to do it? i apreceate all your help thank you.
Post Edited (gruxer) : 9/29/2009 7:08:42 PM GMT
Comments
2) You've left out a subject. That's very important if you want to get help. It lets people know what you want. You can always add a subject if you started the thread. Use the pencil icon in the upper righthand corner of your initial message
3) Regarding your initial question ... Yes. Read the Stamp Manual starting on page 81.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
50 72 6F 6A 65 63 74 20 53 69 74 65
·