for what its worth
porta.4 also fails to operate as a normal gpio i/p when hpm is used
DEFINE CCP5_REG 0
DEFINE CCP5_BIT 0
is needed to restore operation
edit, ...
Type: Posts; User: richard; Keyword(s):
for what its worth
porta.4 also fails to operate as a normal gpio i/p when hpm is used
DEFINE CCP5_REG 0
DEFINE CCP5_BIT 0
is needed to restore operation
edit, ...
did i say ioc pin change is a bad way to do keys
try this and compare results
#CONFIG __config _CONFIG1, _FEXTOSC_OFF & _RSTOSC_HFINT32 & _CLKOUTEN_OFF & _CSWEN_OFF & _FCMEN_ON
...
the power on default state for RxyPPS regs is 0 ie pin is assigned to be gpio
so
RB0PPS = 0 assigned to pin RB0 TO be a gpio pin [which it already was ]
none of this serves any worthwhile...
you need to read and adhere to the PBP3_PPS_notes.txt file in your pbp3 directory
Oooops, added edit to your post by mistake.... (- Demon)