I've just crated the files Lib.h and Lib.cpp in my library folder.
i have included the following files in my library files (according to the library tutorial):
#include "WProgram.h" #include "Lib.h"
just by including the library in my sketch i get this error when compiling.
c:/documents and settings/administrator/my documents/downloads/arduino-0015-win/arduino-0015/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected `)' before 'int' In file included from C:\Documents and Settings\Administrator\My Documents\Downloads\arduino-0015-win\arduino-0015\hardware\cores\arduino/WProgram.h:6,
any solution to this?