Arduino library tutorial. This bug has been fixed in Arduino IDE 2.