Hi to everyone,
I have the following problem.
I was using Arduino UNO and I wanted to switch a complete sketch to the DUE. If I compile the sketch selecting first as board the arduino UNO everything works well.
If I compile the sketch selecting the arduino DUE board I have some errors.
One of the error for example is due to the thing that I´m not declaring a variable but I´m just using it, as below:
SPDR = dacSPI0;
This is the first line in which the variable SPDR appears and the compiler tells me that this variable is undefined.
Could you explain why this is happening? The compiler is different?