DMX-22 started modification of lib

This commit is contained in:
Hendrik Rauh 2024-11-02 19:34:21 +01:00
parent d8f1bf9111
commit 4157c8a21d
3 changed files with 46 additions and 38 deletions

View file

@ -5,7 +5,7 @@
// Copyright (C) 2015 Rick <ricardogg95@gmail.com>
// This work is licensed under a GNU style license.
//
// Last change: Marcel Seerig <https://github.com/mseerig>
// Last change: Hendrik Rauh <https://github.com/Hendrik Rauh>
//
// Documentation and samples are available at https://github.com/Rickgg/ESP-Dmx
// - - - - -
@ -20,10 +20,11 @@
class DMXESPSerial {
public:
void init();
uint8_t read(int Channel);
void write(int channel, uint8_t value);void update();
void init(int id, int pinSend, int pinRecv);
uint8_t read(int id, int Channel);
void write(int id, int channel, uint8_t value);void update();
void end();
void update(int id);
};
#endif