Spark Core with Open Frameworks example Code

Here’s an example of getting a variable from the spark core IDE and calling a function and sending a parameter in the Spark IDE from Open Frameworks.
The spark code is also included as well as some sleepy notes.
https://github.com/phoenixperry/sparkCore_ofExample
Cheers all,
Phoenix

PS. This drops the framerate down to almost nothing while the sketch handles the HTTP requests. I’m considering writing a python script to write this data to a file and then simply read it into OF. It’s most likely that or doing something tricky like opening a seperate thread for it… Anyone have any clever suggestions ?