Sorry to be clear I was trying to find a way to hold the first digit at 1 until the second digit reaches f then back to 0 and increment the first digit to a 2 and so on. Basically counting in hex.
Also another question. In my for loop I used i+1 but if I use i++ this doesn't work for me. What is the difference between i+1 and i++?