mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-07-06 06:08:22 +00:00
DMX-22 started modification of lib
This commit is contained in:
parent
d8f1bf9111
commit
4157c8a21d
3 changed files with 46 additions and 38 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue