0
0
mirror of https://github.com/Doodle3D/Doodle3D-API synced 2024-11-05 04:33:24 +01:00

Update README.md

This commit is contained in:
Casper Lamboo 2015-07-15 15:10:05 +02:00
parent 5f171ac3ac
commit a2e5ee2fe1

View File

@ -1,2 +1,18 @@
# Doodle3D-API
Doodle3D API for communication with the Doodle3D WiFi-Box
```javascript
import Doodle3DAPI from 'doodle3dapi';
var doodle3DAPI = new Doodle3DAPI(boxData.localip);
doodle3DAPI.onconnect = function () {
};
doodle3DAPI.ondisconnect = function () {
};
doodle3DAPI.onupdate = function (data) {
};
doodle3DAPI.startUpdateLoop();
```