From e4621f8ad80ae47e8cda2c8a0b6a02c63b9077de Mon Sep 17 00:00:00 2001 From: Jakob Gegeniger Date: Sun, 15 Dec 2024 22:21:39 +0100 Subject: [PATCH] including ArtNet feature from different Project --- components/artNet/Artnet.h | 98 ++++ components/artNet/ArtnetCommon.h | 540 ++++++++++++++++++ components/artNet/CMakeLists.txt | 5 + components/artNet/LICENSE | 21 + .../receive_fastled/receive_fastled.ino | 54 ++ .../examples/Ethernet/receiver/receiver.ino | 47 ++ .../Ethernet/send_receive/send_receive.ino | 65 +++ .../examples/Ethernet/sender/sender.ino | 38 ++ components/artNet/readme.md | 4 + main/watchMain.cpp | 150 ++++- 10 files changed, 1012 insertions(+), 10 deletions(-) create mode 100644 components/artNet/Artnet.h create mode 100644 components/artNet/ArtnetCommon.h create mode 100644 components/artNet/CMakeLists.txt create mode 100644 components/artNet/LICENSE create mode 100644 components/artNet/examples/Ethernet/receive_fastled/receive_fastled.ino create mode 100644 components/artNet/examples/Ethernet/receiver/receiver.ino create mode 100644 components/artNet/examples/Ethernet/send_receive/send_receive.ino create mode 100644 components/artNet/examples/Ethernet/sender/sender.ino create mode 100644 components/artNet/readme.md diff --git a/components/artNet/Artnet.h b/components/artNet/Artnet.h new file mode 100644 index 0000000..4704e8a --- /dev/null +++ b/components/artNet/Artnet.h @@ -0,0 +1,98 @@ +#pragma once +#ifndef ARDUINO_ARTNET_H +#define ARDUINO_ARTNET_H + +// Spec (Art-Net 4) : http://artisticlicence.com/WebSiteMaster/User%20Guides/art-net.pdf +// Packet Summary : https://art-net.org.uk/structure/packet-summary-2/ +// Packet Definition : https://art-net.org.uk/structure/streaming-packets/artdmx-packet-definition/ + + +namespace arx { // others + + template class Check, class... T> + struct is_detected_impl : std::false_type {}; + template