node-thetav
v0.0.1
Published
RICOH THETA V Library
Downloads
2
Readme
node-thetav
Node.js Library for Richo Theta V
Install
npm install --save node-thetav
Require
import thetav from 'node-thetav';
const httpApi = thetav.http;
const bleApi = thetav.ble;
Usage
import thetav from 'node-thetav';
const httpApi = thetav.http;
const bleApi = thetav.ble;
(async () => {
try {
await httpApi.cameraSetBluetoothDevice('11111111-1111-1111-1111-111111111111');
await bleApi.init();
await bleApi.setAuthBluetoothDevice(
'11111111-1111-1111-1111-111111111111'
);
await bleApi.setTakePicture(1);
} catch (err) {
console.error(err);
}
})();