-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create ArtnetEtherENC.h #79
Merged
+304
−5
Merged
Changes from 2 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
70f6966
Create ArtnetEtherENC.h
MrFrangipane 0121a64
fix mac address error when using EthernetENC
a5aa0dd
try to add examples and workflows
67d4d45
fix readme
dd1b268
fix readme
5c82eec
fix readme
9312719
make notes about ENC28J60 collapsible/exandable
d89e9ec
modify build for ENC28J60 to support any platform + fix readme
519fa04
fix build tabulation
b4df224
add explanation for 4 callacks limitation
c4a09e8
remove MAC address condition (latest github ENC supports it) + update…
af4f950
remove avr:uno from workflow / fix lib url from workflow
78d82d1
fix(workflow): split sketch-path to reduce memory footprint for avr b…
c447be0
fix(readme): use suggested formulation for ArtPoll explanation
ed18b37
fix: remove unused svg file
ad5dd56
fix(ArtnetEntherENC.h): remove unused directive
b4cb6d3
test(workflow): enable avr:uno to check memory usage (since sketch-pa…
05f2288
test(workflows/ethernetENC): add fastled and send_receive folders (di…
9ddd952
fix(workflows/ethernetENC): name folders correctly
c04d767
fix(workflows/ethernetENC): remove FastLED because not supported by m…
743aa1c
fix(workflows/ethernetENC): remove mkrvidor4000 and reinstate FastLED
72f22b9
Update README.md
MrFrangipane File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#pragma once | ||
#ifndef ARTNET_ETHER_H | ||
#define ARTNET_ETHER_H | ||
|
||
#define ARTNET_ENABLE_ETHER | ||
#define ARTNET_ETHER_IS_ENC28J60 | ||
|
||
#include <Arduino.h> | ||
#include <ArxTypeTraits.h> | ||
#include <ArxContainer.h> | ||
#include <EthernetENC.h> | ||
#include <EthernetUdp.h> | ||
#include "Artnet/util/TeensyDirtySTLErrorSolution/TeensyDirtySTLErrorSolution.h" | ||
#include "Artnet/Manager.h" | ||
|
||
using Artnet = art_net::Manager<EthernetUDP>; | ||
using ArtnetSender = art_net::Sender<EthernetUDP>; | ||
using ArtnetReceiver = art_net::Receiver<EthernetUDP>; | ||
|
||
#endif // ARTNET_ETHER_H |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latest (on GitHub) version has the
MACAddress()
method.https://github.com/JAndrassy/EthernetENC/blob/3a50d3aa9c1510e4090d1763ec3e91c700b764a1/src/Ethernet.h#L99
So, could you modify these lines as follows? (
ESP8266
also hasMACAddress()
method now,#if
directive has removed)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
I was able to compile my sketch after cloning the latest ENC library and removing the
#if
directiveReadme and workflow have been updated to use git instead of regular installation