I've been experimenting with the board for a week or two and have had no problems getting the basics to work. I'm curious about how to call down to the avrlib for lower level access to the atmega. Is this possible? When I try to include a header file I get an error at the "#" character.
I noticed that one of the bugs listed at the Arduino developer site is to remove dependancy on the avrlib. Should I not even be thinking about using it because it's going to go away? I guess in general I'm not clear about how the Arduino language/environment is implemented and how the build process for an Arduino program really works. Is there any more detailed info hiding on the site about this?
For example, I notice that there's a "targets" folder in the lib folder. Can I drag .h and .c files from the avrlib folder (or code I've written myself) to the targets/arduino folder to get access to those things?
i think. but there'll be no colored syntax.
i've tried with lcd lib and it works.
no error at compilation.
but don't forget there is only 7Ko of memory for your sketch (include libs)
I'm interested in adding interrupt support to my Arduino program. I see there is extint.c in avrlib. From looking at the way targets are set up, I figured I could copy extint.c/h into the lib/targets/Arduino folder and it would just work. The header file is getting included now that I've added it to wiring.h, but the build system isn't compiling the .c file. How exactly does the Arduino build system work? Is there any documentation on this? I'd be happy to write something up if someone could provide a few clues. I'm assuming there are others like me who are happy with the Arduino system but want to add a few things. I've searched the list archives in vain. Any help much appreciated!