Has something changed in IDE?????? Ax / Dx for Pins

PaulS:
Some boards define Dn names for digital pins. Most do not.

Grab your calculator. 1000 * 60 * 10 is what? Is that a valid value for an int? It does NOT matter that you want the result stored in an unsigned long. Because all the values are ints, integer registers are used.

Make one of the values an unsigned long (1000UL), and the computation will be done using long registers, and no overflow will occur.

  1. Why is this a problem of the board? It is something the compiler translates rigth?

  2. I used the "unsigned long" and it works with my old sketch if I compile it in this IDE but not the new one I am writing now.