Help with modulo. 25%10 always rounds off to 6.

How to use this forum - please read.

  1. If you are posting code or error messages, use "code" tags
  1. Tips for getting the most out of your post
    Post a complete sketch (program code)! If you don't you waste time while people ask you to do that. However, with coding problems, if possible post a "minimal" sketch that demonstrates the problem - not hundreds of lines of code. If the problem goes away in the minimal sketch, it wasn't where you thought it was.