Skip to content

QuantifiedSelfless/ArduinoCodeSnippet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino Code Snippet

Simple Interaction with Arduino over Sockets

##Dependencies

npm install johnny-five

npm install socket.io

npm install express

##Usage

Set your arduino up as such:

alt tag

Run Arduino-Server.js with node Arduino-Server.js

Point your browser to localhost:8080

Pressing the green button will send a message over the socket to communicate with sketch.js (a p5.js sketch)

The page's background should turn green, and send a message back to the arduino, lighting up the LED

About

Simple Interaction with Arduino over Sockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published