Hi
I'm sure this is probably a stupid question if I import a library into a sketch how can I open the library header to see things like function signatures and constants etc? when I try I just get an error along the lines of 'you can only open PDE files'.
TIA
Mark
You can't, but there are tricks. Safe copy the .h, then rename it to .pde and try opening it.
What I do is using another programmer editor (codeblocks).
Last resource is notepad or just .txt editor.
Hi
Thanks for the reply and confirming that I'm not completely stupid. As a professional software developer starting out with Arduino, I'm perplexed why this is the case as surely anyone using a library is going to want to read the header? Is the expectation that samples will always provide enough info or this is a beginners IDE so don't confuse them? Maybe I should I be looking at using alternative IDEs such as Eclipse? I'm wondering if they are as integated as the standard IDE which is pretty nice from a edit-build-upload-test point of view.
Regards
Mark
mlgibbons:
Is the expectation that samples will always provide enough info ... ?
Samples and documentation. Yes.
Maybe I should I be looking at using alternative IDEs such as Eclipse?
The Arduino software includes "Programmer's Notepad". Search for pn.exe in the Arduino directory.