error: 'printInteger' was not declared...

Hi,
I tried to compile an old arduino code that was working earlier, but now I get 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 it since. Isnt ‘printInteger’ a arduino function and should therefore be part of the arduino software?

How can I solve this problem?

Thanks a lot for your help.

I think printInteger used to be in the wiring_serial code but it looks like it has been removed from the latest releases.

To fix the problem, try replacing printInteger with Serial.print

Post a link to this in the bugs an suggestions thread so mellis can comment and remove printInteger from the language reference if its no longer supported.

Thanks a lot for your kind advice. I replaced printInteger with Serial.print and now it compiles again and the code works again.

Posted it also to the bugs section, a bit annoying when functions are removed from the source code :-/