Accessing measurements remotely
What we want to do now is access the measurements via the Ethernet port. We will not use the Arduino IDE here. We will use the Intel XDK IDE, and program the board using Node.js. Node.js makes creating and configuring apps running on these IoT devices very easy. Node.js also enables you to connect IoT sensors through JavaScript programming. You can find more information about Node.js here:
You can also check out Mastering Node.js by Packt Publishing.
We can now start programming the board with JavaScript.
The Intel XDK IDE lets you create, debug, and deploy Node.js applications on your IoT device. In this case, it's our Galileo board.
This is what you will see on starting the XDK:
First, create a new project. You can use one of the example projects to create all the files that you require, for example, the 'Local Temperature' project.
Then go to the DEVELOP panel. You will see the following main window:
Let's now take a look...