andybarrett1
- 12th March 2015, 21:52
Hi all
Am using a 16f818 in a simple program …all is working BUT :-
OPTION_REG.7=0 ' Enables all pull-ups on PORTB
Question is What happens if only PORTB 0-3 are inputs and 4-7 are outputs….I thought I had seen a way of enabling . disabling some pins if this was the case…..
OR Does telling PBP that pin 4-7 are outputs do it for me ???
My program is working fine….. Just wondering !
Thank you for reading
Andy
Am using a 16f818 in a simple program …all is working BUT :-
OPTION_REG.7=0 ' Enables all pull-ups on PORTB
Question is What happens if only PORTB 0-3 are inputs and 4-7 are outputs….I thought I had seen a way of enabling . disabling some pins if this was the case…..
OR Does telling PBP that pin 4-7 are outputs do it for me ???
My program is working fine….. Just wondering !
Thank you for reading
Andy