Advertisement
Guest User

Untitled

a guest
Aug 25th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. #include <Dhcp.h>
  2. #include <Dns.h>
  3. #include <Ethernet2.h>
  4. #include <EthernetClient.h>
  5. #include <EthernetServer.h>
  6. #include <EthernetUdp2.h>
  7. #include <Twitter.h>
  8. #include <util.h>
  9.  
  10.  
  11. #include<SPI.h>
  12.  
  13.  
  14. EthernetUdp2 udp;
  15. void setup() {
  16. // put your setup code here, to run once:
  17.  
  18. }
  19.  
  20. void loop() {
  21. // put your main code here, to run repeatedly:
  22.  
  23. }
  24.  
  25. Arduino: 1.7.10 (Windows 8.1), Board: "Arduino Uno"
  26.  
  27. UDPMessages002.ino:14:1: error: 'EthernetUdp2' does not name a type
  28.  
  29. Error compiling.
  30.  
  31. This report would have more information with
  32. "Show verbose output during compilation"
  33. enabled in File > Preferences.
  34.  
  35. Arduino: 1.7.10 (Windows 8.1), Board: "Arduino Uno"
  36.  
  37. Build options changed, rebuilding all
  38.  
  39. Using library Ethernet2 in folder: C:Program FilesArduinoOrglibrariesEthernet2
  40.  
  41. Using library SPI in folder: C:Program FilesArduinoOrghardwarearduinoavrlibrariesSPI
  42.  
  43.  
  44.  
  45. C:Program FilesArduinoOrg/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=107010 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:Program FilesArduinoOrghardwarearduinoavrcoresarduino -IC:Program FilesArduinoOrghardwarearduinoavrvariantsstandard -IC:Program FilesArduinoOrglibrariesEthernet2src -IC:Program FilesArduinoOrghardwarearduinoavrlibrariesSPI C:UsersfriendAppDataLocalTempbuild8617491196975133384.tmpUDPMessages002.cpp -o C:UsersfriendAppDataLocalTempbuild8617491196975133384.tmpUDPMessages002.cpp.o
  46.  
  47. UDPMessages002.ino:14:1: error: 'EthernetUdp2' does not name a type
  48.  
  49. Error compiling.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement