I am wondering if there is some command or function that I can call that will return some information about the arduino that I am using. I would like to be able to obtain some diagnostic information about the device (available memory, type of arduino, etc) without having to hardcode it in everytime I change devices.
Is anything like this possible? Any device specific information would be good.
The compiler knows this, because you told it. You can create a function used on all Arduino types that prints a different string based on the compile-time info you supplied.
They have a code debuugger that works with the Arduino. I tried a beta version and it seemed to work ok, but have not really pushed the product in any real sense.