kopia lustrzana https://github.com/Aircoookie/WLED
missing word in comment
rodzic
9380b2b4e8
commit
4f28bf7ab4
|
@ -41,7 +41,7 @@ static int currentChannel = 0;
|
|||
// Some new MCUs (-S2, -C3) don't have HardwareSerial(2)
|
||||
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 2, 0)
|
||||
#if SOC_UART_NUM < 3
|
||||
#error DMX output is not possible on your MCU, as it not have HardwareSerial(2)
|
||||
#error DMX output is not possible on your MCU, as it doesn't have HardwareSerial(2)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -26,10 +26,10 @@ Distributed as-is; no warranty is given.
|
|||
class SparkFunDMX {
|
||||
public:
|
||||
void initWrite(int maxChan);
|
||||
#if !defined(DMX_SEND_ONLY)
|
||||
#if !defined(DMX_SEND_ONLY)
|
||||
void initRead(int maxChan);
|
||||
uint8_t read(int Channel);
|
||||
#endif
|
||||
#endif
|
||||
void write(int channel, uint8_t value);
|
||||
void update();
|
||||
private:
|
||||
|
|
Ładowanie…
Reference in New Issue