Closed
Description
On https://www.arduino.cc/en/Reference/Sizeof the following example is wrong.
for (i = 0; i < (sizeof(myInts)/sizeof(int)) - 1; i++) {
// do something with myInts[i]
}
That < should be <= or the -1 should not be there, otherwise the last element in the array is never reached.
See: [(https://forum.arduino.cc/index.php?topic=383005.0)]