make code smaller

rockwallaby

rockwallaby:
If he is, then I think it just comes down to unhealthy programming practice.

I do not agree it is a unhealthy programming practice. I like verbose information and there is nothing unhealthy about it. If you put all those strings in flash memory you quickly fill up the memory. Then avrdude will refuse to upload the program stating it is to big.
The F() macro was introduces around 1.0 to fix this problem and since then I have been using it intensively keeping verbose feedback and "small programs".

rockwallaby:
P.S. still loving working in Eclipse with the plug-in you made, working right now on my project, ah such bliss :smiley:

I'm working on a 1.5.x compatible version now. If you feel like testing read this blog http://blog.baeyens.it/#post0

fasterthanlight:
I had a similar problem... it was easily solved by getting rid of a few 'serial print' commands. Don't keep them unless SUPER necessary.

Using the F macro has nearly the same effect without the loss of the Serial.print feedback.

Best regards
Jantje