mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-12-15 23:34:07 +00:00
Other ETH lib
This commit is contained in:
parent
3ce1df2136
commit
c295017495
70 changed files with 21645 additions and 67 deletions
19
lib/ArtNet/ArtnetETH.h
Normal file
19
lib/ArtNet/ArtnetETH.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
#ifndef ARTNET_ETH_H
|
||||
#define ARTNET_ETH_H
|
||||
|
||||
#define ARTNET_ENABLE_ETH
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <ArxTypeTraits.h>
|
||||
#include <ArxContainer.h>
|
||||
#include <ETH.h>
|
||||
#include <WiFiUdp.h>
|
||||
#include "Artnet/Manager.h"
|
||||
|
||||
// ETH.h is a library for Ethernet PHY, but we should use WiFi library's apis for sever/client
|
||||
using Artnet = art_net::Manager<WiFiUDP>;
|
||||
using ArtnetSender = art_net::Sender<WiFiUDP>;
|
||||
using ArtnetReceiver = art_net::Receiver<WiFiUDP>;
|
||||
|
||||
#endif // ARTNET_ETH_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue