Subversion Repositories HomeAutomation

Rev

Rev 893 | Blame | Last modification | View Log | SVN | RSS feed

  1. #ifndef ACT_DIMMER230_PROTOCOL
  2. #define ACT_DIMMER230_PROTOCOL
  3. #include <drivers/can/modules/PhysicalQuantityCMD.h>
  4. #include <drivers/can/modules/GlobalCMD.h>
  5. /*
  6.  *      This file contains commands used for only for this module
  7.  *      How the Data-part of a frame with a sertain command is formed shall be documented on the project wiki
  8.  *      Only Id:s with numbers between 0x80 and 0xbf is allowed
  9.  */
  10. #define CAN_CMD_MODULE_DIMMER_DEMO          0x80
  11. #define CAN_CMD_MODULE_DIMMER_START_FADE    0x81
  12. #define CAN_CMD_MODULE_DIMMER_STOP_FADE     0x82
  13. #define CAN_CMD_MODULE_DIMMER_ABS_FADE      0x83
  14. #define CAN_CMD_MODULE_DIMMER_REL_FADE      0x84
  15.  
  16.  
  17. #endif // ACT_DIMMER230_PROTOCOL
  18.