Testing round-trip communications with the Spark Core and Spark Cloud.
Requires Node.js, npm, and coffeescript. Your computer and your Spark Core must be running on the same network.
- Copy the contents of
pong.cpp
into the Spark Build web IDE - Flash the code to your Spark Core
npm install
- Prep
ping.coffee
by adding yourDevice ID
,Access Token
, andLocal IP address
at the top of the file. - Run
coffee ping.coffee
. If your Core is working as expected, it should connect to your computer almost immediately.