can someone explain me the following Code line please:
Code: Select all
vbatRawArray[(ind++)%8] = analogRead(V_BATPIN);
I realy not understand the (ind++)%8 espacialy the %8
regards
Oliver
Code: Select all
vbatRawArray[(ind++)%8] = analogRead(V_BATPIN);