Re: Voltage issue 16f627a
Nah, it won't change anything, HIGH/LOW work as expected. HOWEVER, when you write to consecutive pin, you may want to Write to the whole port, or use a Shadow register. This is to avoid the R-M-W issue.
PORTB=%11000000
or
ShadowRegister VAR BYTE
'
'
' some code here
'
ShadowRegister.7=1
ShadowRegister.6=1
'etc etc
PORTB=SHadowRegister
Also, make sure all your config fuses are properly set, LVP_OFF, MCLR_OFF (assuming your don't use MCLR pin), OSC (INT or XT, whatever)
Last edited by mister_e; - 12th June 2011 at 11:21.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks