For anyone who is knowledgible about picbasicprr, I would like to ask a simple question. I am a little uncertain about my syntax from my code. here is what I have done and I presume that it is correct.
Hello var byte
TRISD = %00000000
start:
Hello = 47
PortD = Hello
''''''''''''''''''''''''''''''''''''''''''''
When I write PortD = Hello. is this the same thing as writing
PortD.0 = 1
PortD.1 = 1
PortD.2 = 1
PortD.3 = 1
PortD.4 = 0
PortD.5 = 1
PortD.6 = 0
PortD.7 = 0
Please let me know if what I just said makes any sense and if the output will be what I gue-stimated.
Srig
Bookmarks