I guess I just don't understand the principals of the IF..Then statement. IN the manual there are some examples for the statement, but when I tried to mimic the example it didn't work.
The example is:
If Pin0 = 0 Then pushd
now does Pin0 need to be equated to something? IN the beginning of the code do I need something like this?
Pin0 VAR PortA.0?
or
Pin0 = PortA.0?
when I type in PortA.0, the compiler gives me an illegal character error because of the period but I do not know how to otherwise specify any pin of either portA or PortB (RA0,RA1.....RB0, RB1.....)
I really appreciate all your help, the problem is that I don't have much programming knowledge, and when I try to understand your replies it goes over my head.
Bookmarks