Involt / Involt

Inject hardware interactions directly into HTML layout. Best for rapid prototyping.

Home Page:http://involt.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Call function from arduino to app similarly to arduino from app

ErniW opened this issue · comments

Latest user issue convinced me to try make it simple.

Now it's possible using interval (recommended) or editing onReceiveParse function in involt.js. I should extend the possibilities. Both hardware and software methods should be similar so user can easily adapt to current situation.

I've made simple hack with calling function in object. User now can add custom function like this:

involtFunctions.test = function(){
console.log("test");
}

and involtSendFunction() in sketch.