0
0
mirror of https://github.com/Doodle3D/Doodle3D-API synced 2025-01-22 09:35:09 +01:00
2018-01-31 13:57:25 +01:00
2018-01-31 13:56:38 +01:00
2018-01-31 13:57:18 +01:00
2017-11-30 17:23:13 +01:00
2017-11-30 17:23:13 +01:00
2017-11-30 17:57:22 +01:00
2018-01-31 13:57:25 +01:00
2018-01-31 13:57:25 +01:00
2016-04-21 15:52:23 +02:00
2017-11-30 17:23:13 +01:00
2017-11-30 17:57:22 +01:00

Doodle3D-API

Doodle3D API for communication with the Doodle3D WiFi-Box

import { Doodle3DManager } from 'Doodle3D/Doodle3D-API';

const doodle3DManager = new Doodle3DManager();

doodle3DManager.addEventListener('boxappeared', ({box}) => {
  box.addEventListener('connect', (event) => {
  });

  box.addEventListener('disconnect', (event) => {
  });

  box.addEventListener('update', (event) => {
    const status = event.state;
  });

  box.setAutoUpdate(true, 1000);
});

doodle3DManager.setAutoUpdate(true, 1000);

Description
No description provided
Readme 8.2 MiB
Languages
G-code 99.7%
JavaScript 0.3%