bibliopixel.drivers.SimPixel.driver module

bibliopixel.drivers.SimPixel.driver.DriverSimPixel

alias of bibliopixel.drivers.SimPixel.driver.SimPixel

class bibliopixel.drivers.SimPixel.driver.SimPixel(num=32, port=1337, **kwds)[source]

Bases: bibliopixel.drivers.server_driver.ServerDriver

Output a simulation of your display to your browser at http://simpixel.io

Provides the same parameters of bibliopixel.drivers.driver_base.DriverBase as well as those below:

Parameters:
  • port (int) – Port to serve websocket server on.
  • pixel_positions – Override the automatic generation of physical pixel layout. This value can be generated via the methods in bibliopixel.layout.geometry
SERVER_CLASS

alias of SimPixelOpenerServer

SERVER_KWDS = {'selectInterval': 0.001}
static open_browser(url='http://simpixel.io', new=0, autoraise=True)[source]
class bibliopixel.drivers.SimPixel.driver.SimPixelOpenerServer(port, selectInterval)[source]

Bases: bibliopixel.drivers.SimPixel.websocket.Server

bibliopixel.drivers.SimPixel.driver.open_browser(url='http://simpixel.io', new=0, autoraise=True)