I am in the process of writing my first library (sadly without having used c or c++ before) - I hope somebody can give me some assistance - I'd appreciate it:
That's what I wrote so far:
#if defined(ARDUINO) && ARDUINO >= 100
myLib.Spass(); // THIS IS THE PROBLEM
When compiling I get the following error:
Library_Test.cpp: In function 'void loop()':
Library_Test:15: error: request for member 'Spass' in 'myLib', which is of non-class type 'IMCLib ()()'
Could someone please help me ?