Yeah I'm thinking its either hardware or another special register I'm missing in the datasheet. I just replaced the Atmega32U4 chip thinking it was that but it did the same thing as always

. It always shows FF on the segments as everything is held high but even if I GND any of PORTD it seems to just do nothing still shows FF. I know my segment driver codes work flawless as its been tested and is known working. This means we are left to hardware, schematic wiring, and some magic register that disable PORTD based on some default fuses I missed again

int main() {
while (1) {
DDRD = 0x00; // set portd as inputs
PORTD = 0xFF; // setup portd as pullups
segment_sum(PORTD); // output values of portd to segemnts
update_segments(); // update the segments
} // while
} // main