From: [EMAIL PROTECTED] (Joerg Wunsch)
[EMAIL PROTECTED] wrote:
> I would like to display a "code version" (date/time or incremental
> number) during init on an LCD display.
If you're using CVS, you can get the date of the last checkin of
a particular module by
const char foo[] = "$Date$";
And whether you're using CVS or not, you should be able to do something like
const char foo_2[] PROGMEM = "Compiled on " __DATE__;
to get the date the file was actually compiled. Won't tell you (by itself)
which version of the file was compiled, though...
Regards,
_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list