// - - - - - // ESPDMX - A Arduino library for sending and receiving DMX using the builtin serial hardware port. // ESPDMX.cpp: Library implementation file // // Copyright (C) 2015 Rick // This work is licensed under a GNU style license. // // Last change: Marcel Seerig // // Documentation and samples are available at https://github.com/Rickgg/ESP-Dmx // - - - - - #include #ifndef ESPDMX_h #define ESPDMX_h // ---- Methods ---- class DMXESPSerial { public: void init(); void init(int MaxChan, int dmxPin); uint8_t read(int Channel); void write(int channel, uint8_t value); void update(); void end(); }; #endif