All ports that are not set in the IOPorts_init() need to be set as digital outputs (see PIC24FJ64GA004 reference manual paragraph 2.8 for more info) and driven to a default state of '0' or '1'.
This needs to be done in the IOPorts_init function. Maybe even using a macro with a mask to set all unset ports as digital outputs.
All ports that are not set in the
IOPorts_init()
need to be set as digital outputs (see PIC24FJ64GA004 reference manual paragraph 2.8 for more info) and driven to a default state of '0' or '1'. This needs to be done in theIOPorts_init
function. Maybe even using a macro with a mask to set all unset ports as digital outputs.