serialangle = (accdeg + 20) * 10;