Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 8 of 8

Thread: Aux input to OctoWS2811

  1. #1

    Aux input to OctoWS2811

    Hello,
    My project is to make a FFT audio visual display using Teensy 3.2 coupled with the OctoWS2811 adapter. I was able to get the FFT to print when I was using the USB input for the audio. However, for this project, I would like it to have an Aux input. I tried using i2s, but I am not sure if this is the correct solution. If it is, I don't exactly know where to connect the left and right channels to the OctoWS2811 adapter. Any advice would be much appreciated. Thank you!
    Click image for larger version. 

Name:	Screen Shot 2020-12-29 at 7.18.25 PM.jpg 
Views:	20 
Size:	19.2 KB 
ID:	23029

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    24,251
    Use the ADC input, not I2S input.

    For an example, click File > Examples > OctoWS2811 > SpectrumAnalyzer

    The recommended circuit to connect an audio signal to a Teensy 3.2 ADC pin can be found here: (right side documentation panel)

    https://www.pjrc.com/teensy/gui/?info=AudioInputAnalog

  3. #3
    Would I have to use two adc for both the right and left channel?

  4. #4
    Junior Member
    Join Date
    Dec 2020
    Posts
    4
    Hello Paul Stoffregen, is there any way to have OctoWS2811 Artnet example working with the library NativeEthernet.h? I have a teensy 4.1 ant the ethernet kit but I can't have it running... When I include NativeEthernet.h inside OctoWS2811 Artnet example I get a message saying it can't compile to Teensy 4.1... any suggestion ? I'm an artist, not a programmer so ... my knowledge is very limited..thanks in advance!!

  5. #5
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    24,251
    Quote Originally Posted by andrerangel View Post
    When I include NativeEthernet.h inside OctoWS2811 Artnet example I get a message saying it can't compile to Teensy 4.1... any suggestion ?
    To get help with a compile error, you need to give us the code which doesn't compile. The idea is anyone who reads your message to be able to copy the code you give into Arduino and click Verify, so they can get the same error.

    It's also nice to copy the exact text of the error message (Arduino's status console supports copy to clipboard), though that's merely for convenience of anyone reading. If the full code is given, anyone can get the error on their screen by copying the code into Arduino and clicking Verify.


    I'm an artist, not a programmer so ... my knowledge is very limited..thanks in advance!!
    I'm sure you can do this. It just takes an extra minute to put the actual code into your message. The ideal way involves clicking the "#" button in the editor, and then copy the code between those tags it added. That will preserve the code's formatting. But don't worry too much if the message isn't pretty. We're good at dealing with those issues.

    But we experts can't do is know the exact way to tried. Almost always, when an expert who knows the proper way to make the code work tries to follow vague info like you gave in this message, they will almost never manage to recreate the same error. This is why we have the "Forum Rule" in red text at the top of every forum page. When you give the complete code, so anyone can reproduce the exact same problem, we're able to help you much better. And it saves everyone's time. So please, follow the forum rule, and in general when you ask for tech help here or anywhere on the internet, keep in mind a human who knows how to help is likely to read your message, but they'll only be able to help if you gave enough info about the problem.

  6. #6
    Junior Member
    Join Date
    Dec 2020
    Posts
    4
    Thank you Paul, hope the following info helps!
    Quote Originally Posted by PaulStoffregen View Post
    To get help with a compile error [...] about the problem.
    Code:
    // Receive multiple universes via Artnet and control a strip of ws2811 leds via OctoWS2811
    //
    // This example may be copied under the terms of the MIT license, see the LICENSE file for details
    //  https://github.com/natcl/Artnet
    // 
    // http://forum.pjrc.com/threads/24688-Artnet-to-OctoWS2811?p=55589&viewfull=1#post55589
    
    #include <Artnet.h>
    //#include <Ethernet.h>
    //#include <EthernetUdp.h>
    #include <NativeEthernet.h>
    #include <SPI.h>
    #include <OctoWS2811.h>
    
    // Ideas for improving performance with WIZ820io / WIZ850io Ethernet:
    // https://forum.pjrc.com/threads/45760-E1-31-sACN-Ethernet-DMX-Performance-help-6-Universe-Limit-improvements
    
    // OctoWS2811 settings
    const int ledsPerStrip = 288; // change for your setup
    const byte numStrips= 2; // change for your setup
    DMAMEM int displayMemory[ledsPerStrip*6];
    int drawingMemory[ledsPerStrip*6];
    const int config = WS2811_GRB | WS2811_800kHz;
    OctoWS2811 leds(ledsPerStrip, displayMemory, drawingMemory, config);
    
    // Artnet settings
    Artnet artnet;
    const int startUniverse = 0; // CHANGE FOR YOUR SETUP most software this is 1, some software send out artnet first universe as zero.
    const int numberOfChannels = ledsPerStrip * numStrips * 3; // Total number of channels you want to receive (1 led = 3 channels)
    byte channelBuffer[numberOfChannels]; // Combined universes into a single array
    
    // Check if we got all universes
    const int maxUniverses = numberOfChannels / 512 + ((numberOfChannels % 512) ? 1 : 0);
    bool universesReceived[maxUniverses];
    bool sendFrame = 1;
    
    // Change ip and mac address for your setup
    byte ip[] = {192, 168, 2, 177};
    byte mac[] = {0x04, 0xE9, 0xE5, 0x00, 0x69, 0xEC};
    
    void setup()
    {
      Serial.begin(115200);
      artnet.begin(mac, ip);
      leds.begin();
      initTest();
    
      // this will be called for each packet received
      artnet.setArtDmxCallback(onDmxFrame);
    }
    
    void loop()
    {
      // we call the read function inside the loop
      artnet.read();
    }
    
    void onDmxFrame(uint16_t universe, uint16_t length, uint8_t sequence, uint8_t* data)
    {
      sendFrame = 1;
    
      // Store which universe has got in
      if (universe < maxUniverses)
        universesReceived[universe] = 1;
    
      for (int i = 0 ; i < maxUniverses ; i++)
      {
        if (universesReceived[i] == 0)
        {
          //Serial.println("Broke");
          sendFrame = 0;
          break;
        }
      }
    
      // read universe and put into the right part of the display buffer
      for (int i = 0 ; i < length ; i++)
      {
        int bufferIndex = i + ((universe - startUniverse) * length);
        if (bufferIndex < numberOfChannels) // to verify
          channelBuffer[bufferIndex] = byte(data[i]);
      }      
    
      // send to leds
      for (int i = 0; i < ledsPerStrip * numStrips; i++)
      {
        leds.setPixel(i, channelBuffer[(i) * 3], channelBuffer[(i * 3) + 1], channelBuffer[(i * 3) + 2]);
      }      
      
      if (sendFrame)
      {
        leds.show();
        // Reset universeReceived to 0
        memset(universesReceived, 0, maxUniverses);
      }
    }
    
    void initTest()
    {
      for (int i = 0 ; i < ledsPerStrip * numStrips ; i++)
        leds.setPixel(i, 127, 0, 0);
      leds.show();
      delay(500);
      for (int i = 0 ; i < ledsPerStrip * numStrips  ; i++)
        leds.setPixel(i, 0, 127, 0);
      leds.show();
      delay(500);
      for (int i = 0 ; i < ledsPerStrip * numStrips  ; i++)
        leds.setPixel(i, 0, 0, 127);
      leds.show();
      delay(500);
      for (int i = 0 ; i < ledsPerStrip * numStrips  ; i++)
        leds.setPixel(i, 0, 0, 0);
      leds.show();
    }
    Error Messages:

    """"""""""""""""
    Arduino: 1.8.13 (Mac OS X), TD: 1.53, Board: "Teensy 4.1, Serial, 600 MHz, Faster, US English"











    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeDns.cpp.o: In function `DNSClient::begin(IPAddress const&)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeDns.cpp:10: multiple definition of `DNSClient::begin(IPAddress const&)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Dns.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Dns.cpp:48: first defined here
    /Applications/Teensyduino.app/Contents/Java/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: Disabling relaxation: it will not work with multiple definitions
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeDns.cpp.o: In function `DNSClient::fnet_dns_callback(fnet_dns_resolved_ad dr_t const*, unsigned long, void*)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeDns.cpp:28: multiple definition of `DNSClient::inet_aton(char const*, IPAddress&)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Dns.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Dns.cpp:48: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeDns.cpp.o: In function `DNSClient::fnet_dns_callback(fnet_dns_resolved_ad dr_t const*, unsigned long, void*)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeDns.cpp:28: multiple definition of `DNSClient::getHostByName(char const*, IPAddress&, unsigned short)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Dns.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Dns.cpp:48: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::begin(unsigned char*, unsigned long, unsigned long)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:64: multiple definition of `EthernetClass::begin(unsigned char*, unsigned long, unsigned long)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:30: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::begin(unsigned char*, IPAddress, IPAddress, IPAddress, IPAddress)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::begin(unsigned char*, IPAddress, IPAddress, IPAddress)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::begin(unsigned char*, IPAddress, IPAddress)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::begin(unsigned char*, IPAddress)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::init(unsigned char)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::linkStatus()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::hardwareStatus()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::maintain()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::MACAddress(unsigned char*)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::localIP()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::subnetMask()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::gatewayIP()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::setMACAddress(unsigned char const*)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::setLocalIP(IPAddress)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::setSubnetMask(IPAddress)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::setGatewayIP(IPAddress)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::setRetransmissionTimeout(unsigned short)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::setRetransmissionCount(unsigned char)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `Ethernet'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernet.cpp.o: In function `EthernetClass::teensy_mutex_init(void**)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:374: multiple definition of `EthernetClass::_dnsServerAddress'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/Ethernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.cpp:81: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetClient.cpp.o: In function `EthernetClient::write(unsigned char)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:265: multiple definition of `EthernetClient::write(unsigned char)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/EthernetClient.cpp:79: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetClient.cpp.o: In function `EthernetClient::setConnectionTimeout(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:265: multiple definition of `EthernetClient:perator==(EthernetClient const&)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:232: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetClient.cpp.o: In function `EthernetClient::setConnectionTimeout(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:265: multiple definition of `EthernetClient::connected()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:232: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetClient.cpp.o: In function `EthernetClient::setConnectionTimeout(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:265: multiple definition of `EthernetClient::connect(char const*, unsigned short)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:232: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetClient.cpp.o: In function `EthernetClient::setConnectionTimeout(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:265: multiple definition of `EthernetClient::availableForWrite()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:232: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetClient.cpp.o: In function `EthernetClient::setConnectionTimeout(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:265: multiple definition of `EthernetClient::flush()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:232: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetClient.cpp.o: In function `EthernetClient::setConnectionTimeout(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:265: multiple definition of `EthernetClient::write(unsigned char const*, unsigned int)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:232: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetClient.cpp.o: In function `EthernetClient::setConnectionTimeout(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:265: multiple definition of `EthernetClient::available()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:232: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetClient.cpp.o: In function `EthernetClient::setConnectionTimeout(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:265: multiple definition of `EthernetClient::read(unsigned char*, unsigned int)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:232: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetClient.cpp.o: In function `EthernetClient::setConnectionTimeout(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:265: multiple definition of `EthernetClient::read()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:232: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetClient.cpp.o: In function `EthernetClient::setConnectionTimeout(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:265: multiple definition of `EthernetClient:eek()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:232: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetClient.cpp.o: In function `EthernetClient::setConnectionTimeout(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:265: multiple definition of `EthernetClient::connect(IPAddress, unsigned short)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:232: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetClient.cpp.o: In function `EthernetClient::setConnectionTimeout(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:265: multiple definition of `EthernetClient::stop()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:232: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetClient.cpp.o: In function `EthernetClient::setConnectionTimeout(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:265: multiple definition of `EthernetClient::status()'
    Multiple libraries were found for "Ethernet.h"
    Used: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet
    Not used: /Applications/Teensyduino.app/Contents/Java/libraries/Ethernet
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:232: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetClient.cpp.o: In function `EthernetClient::setConnectionTimeout(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:265: multiple definition of `vtable for EthernetClient'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:232: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetServer.cpp.o: In function `Print::flush()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetServer.cpp:158: multiple definition of `EthernetServer::write(unsigned char)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetServer.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/EthernetServer.cpp:157: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetServer.cpp.o: In function `Print::flush()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetServer.cpp:158: multiple definition of `EthernetServer::begin()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetServer.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/EthernetServer.cpp:157: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetServer.cpp.o: In function `Print::flush()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetServer.cpp:158: multiple definition of `EthernetServer:perator bool()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetServer.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/EthernetServer.cpp:157: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetServer.cpp.o: In function `Print::flush()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetServer.cpp:158: multiple definition of `EthernetServer::available()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetServer.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/EthernetServer.cpp:157: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetServer.cpp.o: In function `Print::flush()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetServer.cpp:158: multiple definition of `EthernetServer::write(unsigned char const*, unsigned int)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetServer.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/EthernetServer.cpp:157: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetServer.cpp.o: In function `Print::flush()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetServer.cpp:158: multiple definition of `EthernetServer::accept()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetServer.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/EthernetServer.cpp:157: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetServer.cpp.o: In function `Print::flush()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetServer.cpp:158: multiple definition of `vtable for EthernetServer'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetServer.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/EthernetServer.cpp:157: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetServer.cpp.o: In function `Print::flush()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetServer.cpp:158: multiple definition of `EthernetServer::server_port'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetServer.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/EthernetServer.cpp:157: first defined here
    /Applications/Teensyduino.app/Contents/Java/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: Warning: size of symbol `_ZN14EthernetServer11server_portE' changed from 16 in /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetServer.cpp.o to 4 in /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetServer.cpp.o
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetUdp.cpp.o: In function `EthernetUDP::localPort()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::available()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/EthernetUdp.cpp:50: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetUdp.cpp.o: In function `EthernetUDP::localPort()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::write(unsigned char)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:199: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetUdp.cpp.o: In function `EthernetUDP::localPort()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::flush()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:199: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetUdp.cpp.o: In function `EthernetUDP::localPort()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::stop()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:199: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetUdp.cpp.o: In function `EthernetUDP::localPort()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::begin(unsigned short)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:199: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetUdp.cpp.o: In function `EthernetUDP::localPort()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::beginPacket(char const*, unsigned short)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:199: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetUdp.cpp.o: In function `EthernetUDP::localPort()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::beginPacket(IPAddress, unsigned short)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:199: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetUdp.cpp.o: In function `EthernetUDP::localPort()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::endPacket()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:199: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetUdp.cpp.o: In function `EthernetUDP::localPort()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::write(unsigned char const*, unsigned int)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:199: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetUdp.cpp.o: In function `EthernetUDP::localPort()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::read()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:199: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetUdp.cpp.o: In function `EthernetUDP::localPort()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::read(unsigned char*, unsigned int)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:199: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetUdp.cpp.o: In function `EthernetUDP::localPort()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP:eek()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:199: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetUdp.cpp.o: In function `EthernetUDP::localPort()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::beginMulticast(IPAddress, unsigned short)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:199: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetUdp.cpp.o: In function `EthernetUDP::localPort()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP:arsePacket()'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:199: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/NativeEthernetUdp.cpp.o: In function `EthernetUDP::localPort()':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `vtable for EthernetUDP'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/EthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/Ethernet.h:199: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/Nativesocket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: multiple definition of `EthernetClass::socketPortRand(unsigned short)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/socket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/socket.cpp:59: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/Nativesocket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: multiple definition of `EthernetClass::socketBegin(unsigned char, unsigned short)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/socket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/socket.cpp:399: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/Nativesocket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: multiple definition of `EthernetClass::socketBeginMulticast(unsigned char, IPAddress, unsigned short)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/socket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/socket.cpp:399: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/Nativesocket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: multiple definition of `EthernetClass::socketStatus(unsigned char)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/socket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/socket.cpp:399: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/Nativesocket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: multiple definition of `EthernetClass::socketListen(unsigned char)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/socket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/socket.cpp:399: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/Nativesocket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: multiple definition of `EthernetClass::socketConnect(unsigned char, unsigned char*, unsigned short)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/socket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/socket.cpp:399: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/Nativesocket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: multiple definition of `EthernetClass::socketDisconnect(unsigned char)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/socket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/socket.cpp:399: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/Nativesocket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: multiple definition of `EthernetClass::socketClose(unsigned char)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/socket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/socket.cpp:399: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/Nativesocket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: multiple definition of `EthernetClass::socketRecv(unsigned char, unsigned char*, short)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/socket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/socket.cpp:399: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/Nativesocket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: multiple definition of `EthernetClass::socketRecvAvailable(unsigned char)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/socket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/socket.cpp:399: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/Nativesocket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: multiple definition of `EthernetClass::socketPeek(unsigned char)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/socket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/socket.cpp:399: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/Nativesocket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: multiple definition of `EthernetClass::socketSend(unsigned char, unsigned char const*, unsigned short)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/socket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/socket.cpp:399: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/Nativesocket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: multiple definition of `EthernetClass::socketSendAvailable(unsigned char)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/socket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/socket.cpp:399: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/Nativesocket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: multiple definition of `EthernetClass::socketBufferData(unsigned char, unsigned short, unsigned char const*, unsigned short)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/socket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/socket.cpp:399: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/Nativesocket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: multiple definition of `EthernetClass::socketStartUDP(unsigned char, unsigned char*, unsigned short)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/socket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/socket.cpp:399: first defined here
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/NativeEthernet/Nativesocket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
    /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: multiple definition of `EthernetClass::socketSendUDP(unsigned char)'
    /var/folders/1w/zgq5pxf16qzb6ns5ry6xfgbh0000gn/T/arduino_build_860542/libraries/Ethernet/socket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet/src/socket.cpp:399: first defined here
    collect2: error: ld returned 1 exit status
    Error compiling for board Teensy 4.1.


    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

    """"""""""""""""

  7. #7
    Junior Member
    Join Date
    Dec 2020
    Posts
    4
    Problem solved!! With the help of Mr. Nathanael Lécaudé I replaced <Ethernet.h> and <EthernetUdp.h> by <NativeEthernet.h> <NativeEthernetUdp.h> in the library Artnet.h and now it works like a charm!!! Thank you all anyway!!!

  8. #8
    I can confirm this and warn new teensy 4.1 users... Artnet.h library makes use of Ethernet.h library, therefore you will have errors when using it with Teensy 4.1.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •