/* basic update to wheels based on full rotation of prior wheel. This could be modified to change the direction of rotation or order of updates  */
void update_wheel_index(void)
/* basic update to wheels based on full rotation of prior wheel. This could be modified to change the direction of rotation or order of updates  */
void update_wheel_index(void)
{
	IW1++;
	if (IW1 >= WHEEL_SIZE) {
		IW1 %= WHEEL_SIZE;
		IW2++;
	}
	if (IW2 >= WHEEL_SIZE) {
		IW2 %= WHEEL_SIZE;
		IW3++;
	}
	if (IW3 >= WHEEL_SIZE) {
		IW3 %= WHEEL_SIZE;
	}
}