Sorry, I should be more specific.
I want you to delete variables "readRepeat" and "readFixed" and hard-code the test as if readRepeat = 100 and readFixed = 1.
I especially want this code deleted!
Code:
while (Serial.available()) { // send usb TO REPEAT TEST
chIn = Serial.read();
if ( '1' == chIn ) readRepeat = 100;
if ( 'K' == chIn ) readRepeat = 1000;
if ( 's' == chIn ) readRepeat = 3; // Fast test
inputSer = true;
}
I want you to immediately run the test once after sdram.begin(). All the code currently in loop() should be in setup(). Delete everything from loop(). The test runs just once without user prompting, then loop() does nothing.
Please keep the "speed" variable at the top, but make the default 254.
Hopefully this is clearer?