Just trying to understand Info in Library Files. Below is a capture of 18f23k22.h file. What is the relationship of these numbers and the port outputs? They don't appear to be the equivalent of the Hex address.
They're not.... you can use the 'search' feature here and find a few posts about it. It's 'shorthand' for the Compiler to know which pin of what port.
Jay
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Wed Dec 04, 2019 2:03 pm
Convert the CCS pin numbers to hex. The lower 3 bits are the bit number
and the upper bits are the port address, shifted left by 3 bit positions.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum