I have a strange problem with my selfmade class. I want to use some DMX spots over WiFi, so I created a simple sketch for a client (Arduino+WiFi) and a sketch for a server (Arduino+Ethernet). For the server I wrote a class called DMX_RGB (see attached). I need to create some instances (globaly)in DMXNet_Server.ino:
When I create such an instance, the sketch stops and nothing happens anymore. Also no debug output on the serial monitor…
If I comment out everything which is relating to the instance Bar1 (and of course the code above) the sketch works (also it is not doing what I want )
I think it is a simple, stupid problem - but I cannot find where. Has anyone an idea?
Thanks a lot, Holger
DMX_RGB.h (1.28 KB)
DMX_RGB.cpp (3.33 KB)
DMXNet_Server.ino (1.79 KB)