I couldn't download the schematic, but that does look like what he's doing by just looking
at the source code. This would be a lot easier with all 7-bits on a single port.

Why does the C language list binary in 2 different formats, I. E. 0x00000000, and 0b00000000 ?
It varies from one compiler to the other. C18, CCS and Hi-Tech use the 0b00000000 format.
0x is normally for HEX numbers. CCX5 uses 0b.0000.0000 format for binary.