I'm a newbie to the Arduino but by no means a newbie programmer so any help (gratefully accepted, thank you) can be succinct.
I am trying to explore library writing to the Arduino (ATMEGA328) Using v017 of the IDE software. I can't seem to figure out the folder hierarchy. I have read the tutorial but on the Mac it doesn't seem to be following the same rules. I can't seem to trigger the auto-generation of the library described in the tutorial.
I have two separate trees: Application directory: Arduino/ which only contains the Arduino.app bundle Development directory: ArdProgs/ which holds the sketches folders
I have tried creating the ./hardware/libraries/ hierarchy in either directory and my 'example' sketch can't find the header file nor is the object (.o) file generated.
I did discover that I can put the library file into the application bundle. There is a ./hardware/libraries/ folder in there but that seems a bit odd to have to modify the application bundle with any additional libraries.
I have checked the preferences file for some indication of how to set the library hierarchy and can't seem to see any obvious settings.
I would appreciate any help from anyone who has gotten this to work on a Mac system (10.6) successfully. If you have you might also comment on the best practice for debugging the library (can the library include other libraries like the Serial library for sending some feedback?)
Thanks in advance.