Instantly share code, notes, and snippets.

What would you like to do?
#include "DMXSerial.h"
int startCh = 0;//DMXのスタートアドレス
void setup()
pinMode(13, OUTPUT);
void loop()
unsigned long lastPacket = DMXSerial.noDataSince();
if (lastPacket < 5000) {
byte dmx[4];
for (int i = 0;i < 4;i++)
dmx[i] = + i);
if(dmx[1] >= 127){
digitalWrite(13, HIGH);
digitalWrite(13, LOW);

This comment has been minimized.

Show comment
Hide comment

magcho commented Jan 4, 2018

dmx recever_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment