Hello everyone!
I'm re-getting started with Arduino after quite a long time, and have forgotten a few things...
I have a simple seven-segment display, and I want to type a number (in word form) into the serial monitor, and have that number be displayed for a second on the display.
The code is going fine and well, using arrays for each number... but I can't seem to make it read the array I say.
I store the response from the serial monitor in a variable, "recNum", and move on in my code.
When it comes time to read the specified array, this is the command I use:
y = recNum[loopCount];
Where y and loopCount are previously defined.
This is the error I get:
SevenSegmentDisplay:61: error: invalid types 'int[int]' for array subscript
So what do I do? Is there anyway to read an element of a varying array?