Mit:
Portc.4 = 1
Portd.3 = 0
Komme ich auf diese Werte, sind ja fast deine:

672
497
335
210
118
68

MFG Moritz