Hi, I am trying to test my arduino due with basic code examples but when uploading them to my board I recieve this message:
El Sketch usa 11116 bytes (2%) del espacio de almacenamiento de programa. El máximo es 524288 bytes.
Atmel SMART device 0x285e0a60 found
Erase flash
done in 0.031 seconds
Thank you very much for your response, the problem is that I am trying to impement the code below, and I cannot visualize the values in the serial monitor.
void setup() {
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
// read the input on analog pin 0:
int sensorValue = analogRead(A0);
// print out the value you read:
Serial.println(sensorValue);
delay(1); // delay in between reads for stability
}
Thank you ard_newbie but it still doesn't work. I've checked the board, the port, updated the libraries, reseted the board but it returns the same message and the serial monitor doesn't give a feedback of the sensor response.
The serial monitor is empty and it returns this information:
El Sketch usa 22212 bytes (4%) del espacio de almacenamiento de programa. El máximo es 524288 bytes.
Atmel SMART device 0x285e0a60 found
Erase flash
done in 0.033 seconds
At the beginning of your sketch, add this line #define Serial SerialUSB
Connect your board to the Native USB Port,
In Tools>Board select Arduino (Native USB Port)
In Tools > Port select COMx (Arduino Native USB Port) --> unplug/plug the USB cable until you see the correct COM port
Build your sketch and upload.
Once upload is completed, open serial Monitor. What's going on this time on Serial Monitor ?