i understand it's schematics is for arduino mega, but i have arduino uno and i can make only one universe.
i put it together on breadboard for testing, but i can't compilate and upload that code
[b][i]
artnet_node.cpp: In function ‘void setup()’:
artnet_node.cpp:102:3: error: ‘ArduinoDmx2’ was not declared in this scope
artnet_node.cpp:112:3: error: ‘ArduinoDmx3’ was not declared in this scope
artnet_node.cpp:128:3: error: ‘Udp’ was not declared in this scope
artnet_node.cpp: In function ‘void loop()’:
artnet_node.cpp:135:7: error: ‘Udp’ was not declared in this scope
artnet_node.cpp: In function ‘void handle_packet()’:
artnet_node.cpp:141:3: error: ‘Udp’ was not declared in this scope
artnet_node.cpp: In function ‘int handle_dmx(artnet_dmx_t*)’:
artnet_node.cpp:193:15: error: ‘ArduinoDmx3’ was not declared in this scope
artnet_node.cpp:199:15: error: ‘ArduinoDmx2’ was not declared in this scope
artnet_node.cpp: In function ‘void send_reply(uint8_t, uint8_t*, uint16_t)’:
artnet_node.cpp:242:5: error: ‘Udp’ was not declared in this scope
artnet_node.cpp:246:5: error: ‘Udp’ was not declared in this scope[/i][/b]
with those dmx universes 2 and 3 every think ok, but problem is wiht udp, i copied udp.h library in libraries folder, but error persists
i copied udp.h library in libraries folder, but error persists
Copied it from where to where? That was not likely necessary, but, without seeing your code, all I can suggest is that you quit using the fatally flawed 1.0.1 version. Use the 1.0 version until the Arduino team admits they screwed up and fixes the problem with missing include files no longer being fatal errors.
i doesn't have Upd.h file in library folder, i found it in internet end copy there, and think it helps, but doesn't.
Which version of the IDE are you using? The 1.0.1 version DOES have UDP.h (and the correspond UDP.cpp) where it belongs. So does 1.0, which is really a much better version to use for debugging compilation issues, because it tells you that it can't find include files, instead of assuming that the failure to find the file is OK.
i'm using now Arduino IDE 0023 and udp problems disappeared, but i don't understand what to do with those other universes... now i had error messages like that
artnet_node.cpp: In function ‘void setup()’:
artnet_node.cpp:102:3: error: ‘ArduinoDmx2’ was not declared in this scope
artnet_node.cpp:112:3: error: ‘ArduinoDmx3’ was not declared in this scope
artnet_node.cpp: In function ‘int handle_dmx(artnet_dmx_t*)’:
artnet_node.cpp:193:15: error: ‘ArduinoDmx3’ was not declared in this scope
artnet_node.cpp:199:15: error: ‘ArduinoDmx2’ was not declared in this scope