0.0.1 • Published 2 years ago

pixoo v0.0.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 years ago

Pixoo-TS

A TypeScript library to interface with a Divoom Pixoo 64

A decent chunk of this code is based off of https://github.com/SomethingWithComputers/pixoo (Python)

Getting Started:

import Pixoo from 'pixoo';

const pixoo = new Pixoo('192.168.0.x', 64);

// initialize
await pixoo.init();

// draw image at (0, 0)
await pixoo.drawImage('./.tmp/art.jpg', [0, 0]);

// draw red text at (0, 10)
const red = [255, 0, 0];
await pixoo.drawText('Hello, World!', [0, 10], red);