TRYING TO TEST SPEED OF ARDUINO... @ 16Mhz (The Uno is what I have), how fast can it simply print the time since the program/sketch started to a file/serial port...
[I plan to put the actual answers here, but Hutkikz has given a couple I was looking for...]
Using the IDE from Arduino, the Serial monitor, I simply want to write the smallest code possible, and see how fast it can simply send the time since it started, to a list, which I can read after, and see how many times it can execute that simplest possible code in one second.
THEN I can figure out how fast it can control several devices on the 20 or so pins I can use to control/sense other devices.
SO, here is the code I just tried, and either it does not load to the board, or I pull the USB and reconnect and it seems to upload, but then it wont open the COM1 port (Only on avail. in its list in 'Tools')...
Saying 'can't open device' and 'Access is denied', 'Problem uploading to board'...
"avrdude: stk500_recv(): programmer is not responding"
So what am I doing wrong?
I am trying to use the example code for "ReadAnalogVoltage" to start, and turning it into this...
void setup() {Serial.begin(9600);}
void loop() {
float TimeSinceStart = millis();
Serial.println(TimeSinceStart);
delay(500);
}
So is this code good? What is wrong? When the Serial Monitor does open, it shows only blank screen.
It said to set the Monitor and the Serial.begin() to 9600, so they are that way.