Node.js library to interact with a SH1106 display controller, written in TypeScript. This library is designed to be used with a Raspberry Pi, but may be supported by other devices.
Currently only SPI is supported. This means that you need to run it with
sudo for it to work. I²C support may be added in the future.
yarn add sh1106
See Mrtenz/binary-pixel-map for documentation on the canvas.
new SH1106width: number = 128, height: number = 64;