Hi all,
I’m new to Spark and still a bit of a n00b. I did some work on my Arduino and know my way around the code but I just can’t figure this out myself. Your help is welcome!
Let me explain the situation:
I have a working code on my Arduino which controls a RX and TX 433Mhz module. With these modules I can control wireless power outlets and I have an wireless PIR sensor.
The code uses two libraries which I normally call with this:
"#include < RemoteReceiver.h>"
"#include < RemoteSwitch.h>"
Since this is not the case with Spark Core. How do I get my libraries to work with my code.
The library basically contains some classes.
How do I place my class in the code? And where? Just copying the code from the library into Spark won’t work because it would say I haven’t declare the class. (the_user_app.cpp:514:3: error: ‘RemoteReceiver’ has not been declared)
Hope you folks can learn my how to use my class, which is normally inside the library, in Spark Core.
Thanks all!