mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2024-11-05 04:33:24 +01:00
20 lines
368 B
Markdown
20 lines
368 B
Markdown
# Doodle3D-API
|
|
Doodle3D API for communication with the Doodle3D WiFi-Box
|
|
|
|
```javascript
|
|
import Doodle3DAPI from 'doodle3dapi';
|
|
|
|
var localIP = "192.168.5.1";
|
|
var doodle3DAPI = new Doodle3DAPI(localIP);
|
|
doodle3DAPI.onconnect = function () {
|
|
|
|
};
|
|
doodle3DAPI.ondisconnect = function () {
|
|
|
|
};
|
|
doodle3DAPI.onupdate = function (data) {
|
|
|
|
};
|
|
doodle3DAPI.startUpdateLoop();
|
|
```
|