I am almost ready to burn my PIC on the Microwaves!
A simple silly thing like indexing is not working while direct port access works OK. If anyone see what I don't please reply.
Pic used is 16F877 with PBP 2.40
Ioannis
Printable View
I am almost ready to burn my PIC on the Microwaves!
A simple silly thing like indexing is not working while direct port access works OK. If anyone see what I don't please reply.
Pic used is 16F877 with PBP 2.40
Ioannis
Hi Ioannis,
Why do you need to use HIGH and LOW? Any particular reason?
The code below should work ok!
Code:for i=0 to 3
port_ix.0[i] = 1
pause 200
port_ix.0[i] = 0
pause 200
next i
Yes, that was the problem.
High and Low are Documented commands.
The =1 or =0 are Not!
Well, that kind of port accessing is neither too, but anyway!
Thanks a lot for the reply.