using pullstime

Matyk:
For some reason when I do this :

int writeValues[5] = {1000, 1250, 1500, 1750, 2000};

it compiles fine, is it because it didn´t have an array value or something?

The code that I posted had the [5] for the array in it. See post #91. I don't know what you did to it to remove it but I hope that it did not involve typing the code into the IDE.

Note that the code has nothing to do with whether it uploads to the Arduino or not. One thing that you could do it is to uninstall the IDE and install it again.