RSeries astromech firmware
MagicPanelI2C Class Reference

#include <i2c/MagicPanelI2C.h>

Detailed Description

Forwards any 'MP' CommandEvent over i2c to a ia-parts magic panel that has been flashed with Reeltwo.

+ Inheritance diagram for MagicPanelI2C:
+ Collaboration diagram for MagicPanelI2C:

Public Member Functions

 MagicPanelI2C (const byte i2cAddress=I2C_MAGIC_PANEL)
 
virtual void handleCommand (const char *cmd) override
 Magic Panel Commands start with 'MP'. More...
 
- Public Member Functions inherited from CommandEvent
 CommandEvent ()
 Default Constructor. More...
 
virtual void handleCommand (String cmd)
 Subclasses should implement this function to process commands specific to their device. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from CommandEvent
static void process (char *cmd)
 Calls handleCommand() for each created CommandEvent subclass. More...
 
static void process (const char *cmd)
 Calls handleCommand() for each created CommandEvent subclass. More...
 
static void process (PROGMEMString pcmd)
 Calls handleCommand() for each created CommandEvent subclass. More...
 

Constructor & Destructor Documentation

◆ MagicPanelI2C()

MagicPanelI2C::MagicPanelI2C ( const byte  i2cAddress = I2C_MAGIC_PANEL)
inline

Member Function Documentation

◆ handleCommand()

virtual void MagicPanelI2C::handleCommand ( const char *  cmd)
inlineoverridevirtual

Magic Panel Commands start with 'MP'.

Implements CommandEvent.


The documentation for this class was generated from the following file: