Shop OBEX P1 Docs P2 Docs Learn Events
High sends 5v, but a variable sends 1v — Parallax Forums

High sends 5v, but a variable sends 1v

mwkohlermwkohler Posts: 7
edited 2007-04-14 21:07 in General Discussion
I am using SX/B with an SX28.· I am trying to send 5v from any port using the following code:

rc.3=pinc(1)
Output rc.3
pinc(1)=1

I can only get about 1 volt signal however if I change this to the following code I can get 5 volts.

High rc.3

Why does this happen?

I want to be able to define pins with variables so that I can use a for next loop to control them.

Comments

Sign In or Register to comment.