template<uint8_t DATA_PIN = 45, uint32_t RGB_ORDER = GRB, uint16_t NUM_LEDS = 12>
class HoloDisplay< DATA_PIN, RGB_ORDER, NUM_LEDS >
Holo Projector with Adafruit SSD1131 OLED display.
Subclass of HoloLights adding support for an Adafruit SSD1131 OLED display.
Example usage:
|
| | HoloDisplay (const int id=0) |
| | Constructor. More...
|
| |
| virtual void | setup () override |
| | Initalizes the OLED display and SD card. More...
|
| |
| void | setDownloadStream (Stream *stream) |
| | Enables support for downloading additional media onto the SD card through the specified Serial instance. More...
|
| |
| virtual void | selectSequence (int sequence, int durationSec) override |
| | Specify the sequence to animate. More...
|
| |
| virtual void | handleCommand (const char *cmd) override |
| | See HoloLights::handleCommand() More...
|
| |
| void | clearDisplay () |
| | Clear OLED screen to black. More...
|
| |
| void | stop () |
| | Stop playing the current movie. More...
|
| |
| void | play (const char *filename) |
| | Play the specified movie file on the OLD display. More...
|
| |
| virtual void | animate () |
| | Runs through one frame of animation for this holoprojector display instance. More...
|
| |
| | HoloLights (const int id=0) |
| | Constructor. More...
|
| |
| void | begin () |
| |
| void | show () |
| |
| void | setBrightness (uint8_t b) |
| |
| uint8_t | getBrightness () |
| |
| uint16_t | numPixels () |
| |
| void | setPixelColor (uint16_t n, uint32_t c) |
| |
| virtual void | jawaCommand (char cmd, int arg, int value) override |
| | Subclasses should override this method to handle commands specifying a value. More...
|
| |
| void | assignServos (ServoDispatch *dispatcher, byte hServo, byte vServo) |
| | Assign ServoDispatcher and servos for horizontal and vertical movement. More...
|
| |
| int | getID () |
| |
| void | brighter () |
| | Increase the brightness of the holoprojector. More...
|
| |
| void | dimmer () |
| | Decrease the brightness of the holoprojector. More...
|
| |
| void | off () |
| | Turn of all LEDs. More...
|
| |
| void | setColor (int c) |
| | Set projector to a solid color. More...
|
| |
| void | resetLEDTwitch () |
| |
| void | resetHPTwitch () |
| |
| void | setHoloPosition (float hpos, float vpos, int speed=0) |
| |
| void | moveHP (byte pos, int speed=0) |
| | Move holoprojector to the specified position. More...
|
| |
| void | twitchHP (byte randtwitch) |
| |
| void | wagHP (byte type) |
| |
| void | setLEDTwitchInterval (unsigned minSeconds, unsigned maxSeconds) |
| |
| void | setLEDTwitchRunInterval (unsigned minSeconds, unsigned maxSeconds) |
| |
| void | setHPTwitchInterval (unsigned minSeconds, unsigned maxSeconds) |
| |
| void | dirty () |
| |
| | HoloLEDPCB () |
| |