|
| | HoloOLED (HardwareSerial &oledSerialPort, const int id=0, const byte resetPin=46) |
| | Constructor. More...
|
| |
| virtual void | setup () override |
| | Initalizes the OLED display and SD card. More...
|
| |
| virtual void | handleCommand (const char *cmd) override |
| | See HoloLights::handleCommand() More...
|
| |
| bool | isPlaying () |
| |
| virtual void | animate () |
| | Runs through one frame of animation for this holoprojector instance. More...
|
| |
| void | reset () |
| |
| void | playMovie (byte movieIndex) |
| |
| void | stopMovie () |
| |
| | 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...
|
| |
| virtual void | selectSequence (int sequence, int durationSec) |
| | Specify the sequence to animate. 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 () |
| |