unsigned variable over-/under-flow and modulus

I use the 6-pin ICSP header.