You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
casperlamboo 910588aaeb bumb version 5 years ago
src add url search params 5 years ago
.babelrc add babel rc 5 years ago
.gitignore update to web pack 5 years ago
.npmignore update to web pack 5 years ago
README.md replace tabs with space 7 years ago
index.js update example 5 years ago
package-lock.json bumb version 5 years ago
package.json bumb version 5 years ago
test.gcode update to web pack 5 years ago
webpack.config.js update example 5 years ago

README.md

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);