document everything except InternalDisplay and IoT
This commit is contained in:
parent
4031b7555a
commit
789afc04dc
8 changed files with 398 additions and 74 deletions
|
@ -13,6 +13,7 @@
|
|||
// Publish all topic: requeststate payload: N/A
|
||||
// Enable/disable publish topic: publish_enable payload: 0/1
|
||||
|
||||
// MQTT Topics
|
||||
#define SET_STATE_TOPIC "/set/state"
|
||||
#define SET_VALUE_TOPIC "/set/value"
|
||||
#define STATE_TOPIC "/state"
|
||||
|
@ -20,8 +21,20 @@
|
|||
#define REQUEST_STATE_TOPIC "requeststate"
|
||||
#define PUBLISH_ENABLE_TOPIC "publish_enable"
|
||||
|
||||
// Card type
|
||||
#define CARD_TYPE_DIGITAL_OUTPUT 0x00
|
||||
|
||||
/**
|
||||
* @brief The DigitalOutputCard class is a class for controlling the Digital Output Card.
|
||||
*
|
||||
* This Digital Output Card has 16 digital outputs.
|
||||
* All outputs are PWM capable.
|
||||
* ALl outputs are 12V Push-Pull outputs.
|
||||
* Outputs is grouped in 4 groups of 4 outputs.(0-3, 4-7, 8-11, 12-15)
|
||||
* Each pin is capable of 0.6A, however each group's total current is limited to 1.2A.
|
||||
*
|
||||
* @warning You should not instantiate this class directly, instead use ESPMegaIO's registerCard function.
|
||||
*/
|
||||
class DigitalOutputCard : public ExpansionCard
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue