Tip:
Highlight text to annotate it
X
Point your browser to your Linino address or hostname on port 2424 (i.e. http//linino.local:2424).
Log in with your Linino root password.
Create a new Project in the Ideino Workspace...
... and then open it by clicking the project open button.
The code, in the 'server.js' file, includes:
1- reference to ideino-linino Board library and ideino-linino Html library.
2- an http server running on port 1337 that responds with a html page called 'page.html'
3- 3 lines of code for sending the value read from a pin board to an html element.
Now create the 'page.html' file that contains:
1- reference to ideino-linino client library.
1- the html element used in 'server.js' script file.
Right click on 'server.js' file, and then press "Run" to execute it on the device.
When the http server is ready, point your browser to your Linino address or hostname on port 1337 and view 'page.html' created earlier.
Pressing and releasing the button on the breadboard, the value in the textbox will change.