error: 'printInteger' was not declared in this sco

Hi, I tried to compile an old arduino code that was working earlier, but now I got the following error message:

In function 'void loop()': error: 'printInteger' was not declared in this scope

This is weird, because I have used this code earlier without any problems and I havent changed the code since. Isnt 'printInteger' an arduino function and should therefore be part of the arduino software? Was that function removed from arduino?

I got an advice to replaced printInteger with Serial.print and now it compiles again and the code works again.

Back to top

This issue was resolved in this thread: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1234902798/2#2

the request is to remove the reference to printInteger or indicate that it is no longer supported in the language reference page: http://www.arduino.cc/en/Reference/PrintInteger