Hi all,
I'm trying to get OSCuino compiled for wired network communication from MaxMSP to Arduino to drive a 12v DC motor.
I've been going in circles with some errors, and now I'm lost.
I think my libraries got mixed since I got both Arduino v0.23 and v1.0.5 installed on my Mac. I installed v1.0.1 as well in the hope it would compile.
I'm using their example code UDPOscuino which I got from here: GitHub - CNMAT/OSC: OSC: Arduino and Teensy implementation of OSC encoding
These are my errors, all network related to the mac address conversion.
In file included from /Users/.../Documents/Arduino/libraries/Ethernet/Ethernet.h:6,
from UDPOscuino.ino:7:
/Users/.../Documents/Arduino/libraries/Ethernet/Client.h:15: error: conflicting return type specified for 'virtual void Client::write(uint8_t)'
/Applications/Arduino_v1.0.5.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
/Users/.../Documents/Arduino/libraries/Ethernet/Client.h:17: error: conflicting return type specified for 'virtual void Client::write(const uint8_t*, size_t)'
/Applications/Arduino_v1.0.5.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:53: error: overriding 'virtual size_t Print::write(const uint8_t*, size_t)'
In file included from /Users/.../Documents/Arduino/libraries/Ethernet/Ethernet.h:7,
from UDPOscuino.ino:7:
/Users/.../Documents/Arduino/libraries/Ethernet/Server.h:17: error: conflicting return type specified for 'virtual void Server::write(uint8_t)'
/Applications/Arduino_v1.0.5.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
/Users/.../Documents/Arduino/libraries/Ethernet/Server.h:19: error: conflicting return type specified for 'virtual void Server::write(const uint8_t*, size_t)'
/Applications/Arduino_v1.0.5.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:53: error: overriding 'virtual size_t Print::write(const uint8_t*, size_t)'
UDPOscuino.ino: In function 'void setup()':
UDPOscuino:394: error: invalid conversion from 'uint32_t' to 'uint8_t*'
UDPOscuino:394: error: initializing argument 2 of 'void EthernetClass::begin(uint8_t*, uint8_t*)'
Does anyone have an idea on what my solution might be?
I'd like the full OSC implementation for future projects. But there might be a much simpler solution for the PWM control as well as an digital write for flipping the direction of the motor over Wifi using OSC. ![]()