Having a strange issue when i am using this code:
int dataset[]={
9618, 9596, 9593,10164,9706,9917,9904,10344,10229,10326,10223,9851,10151,9895
};
int count = sizeof(dataset) / sizeof(dataset[0]);
void setup() {
Serial.begin(9600);
for (int i = 0; i < count; i++)
{
Serial.print(dataset[i]);
Serial.println(count);
}
}
void loop() {
// put your main code here, to run repeatedly:
}
The result in serial monitor is:
961814
959614
959314
1016414
970614
Curious about the extra 14 on each array item. Running on an Arduino Uno.
Thanks!