This repo is deprecated, it's moved to ITPNYU/p5-ble-examples
Examples for p5.ble.js, read more at p5 ble website.
Download or clone this repository:
git clone https://github.com/yining1023/p5-ble-examples.git
Change directory into the new folder and start a server. An easy way to start a server is with python.
If you are have python 2:
cd p5-ble-examples
python -m SimpleHTTPServer
If you are have python 3:
cd p5-ble-examples
python -m http.server
Go to localhost:8000
and click through each example
If you don't know how to start a server, check this guide.