mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-07-09 23:25:45 +00:00
Initial commit
This commit is contained in:
parent
36d4c59cd8
commit
b1454a5c5f
9 changed files with 346 additions and 0 deletions
30
src/ESPDMX.h
Normal file
30
src/ESPDMX.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
// - - - - -
|
||||
// ESPDMX - A Arduino library for sending and receiving DMX using the builtin serial hardware port.
|
||||
// ESPDMX.cpp: Library implementation file
|
||||
//
|
||||
// Copyright (C) 2015 Rick <ricardogg95@gmail.com>
|
||||
// This work is licensed under a GNU style license.
|
||||
//
|
||||
// Last change: Marcel Seerig <https://github.com/mseerig>
|
||||
//
|
||||
// Documentation and samples are available at https://github.com/Rickgg/ESP-Dmx
|
||||
// - - - - -
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
|
||||
#ifndef ESPDMX_h
|
||||
#define ESPDMX_h
|
||||
|
||||
// ---- Methods ----
|
||||
|
||||
class DMXESPSerial {
|
||||
public:
|
||||
void init();
|
||||
uint8_t read(int Channel);
|
||||
void write(int channel, uint8_t value);
|
||||
void update();
|
||||
void end();
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue