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:
parent
5f171ac3ac
commit
a2e5ee2fe1
16
README.md
16
README.md
@ -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();
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user