Wednesday 7 June 2017

HTML to> AJAX to> Node to> Arduino

I'm a noob to Node and need some help. Here's my current setup:Current Setup

One the one side I have a basic HTML website with a few <inputs>. The inputs are assigned to variables via onclick event (jscript). Each input has its own button (not using a form)

One the other side I have Nodejs controlling a simple Arduino circuit via Johnny Five library.

My question:
Can I "pass" the values from my website to Nodejs without using AJAX? Or is AJAX pretty much my only option?



via SnoobySchool

No comments:

Post a Comment