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

20 lines
368 B
Markdown
Raw Normal View History

2015-07-15 15:04:15 +02:00
# Doodle3D-API
Doodle3D API for communication with the Doodle3D WiFi-Box
2015-07-15 15:10:05 +02:00
```javascript
import Doodle3DAPI from 'doodle3dapi';
2015-07-15 15:32:01 +02:00
var localIP = "192.168.5.1";
var doodle3DAPI = new Doodle3DAPI(localIP);
2015-07-15 15:10:05 +02:00
doodle3DAPI.onconnect = function () {
};
doodle3DAPI.ondisconnect = function () {
};
doodle3DAPI.onupdate = function (data) {
};
doodle3DAPI.startUpdateLoop();
```