void setup()
{
// put your setup code here, to run once:
digits[1] = "A";
}
void loop()
{
// put your main code here, to run repeatedly:
serial.print(digits[1]);
delay(2000);
}
"
Basically I want to create an array, and each array number will have different a value, like a number or a letter.
With this code I was trying to give the first number of the digit array a letter and read it tough the serial monitor.
int digits[60];
void setup()
{
// put your setup code here, to run once:
digits[0] = "A"; //<<<<<Arrays start at zero
Serial.begin(9600); //<<<<<<<<<<Start the monitor (Capital S)
}
void loop()
{
// put your main code here, to run repeatedly:
Serial.print(digits[0]); //<<<<<<Capital S
delay(2000);
}