mathertel / DMXSerial

An Arduino library for sending and receiving DMX packets.
BSD 3-Clause "New" or "Revised" License
337 stars 79 forks source link

Compile Error on Arduino MEGA2560 #51

Closed MikeWDale closed 3 years ago

MikeWDale commented 3 years ago

I very much want to use your DMX library. Attached Arduino Sketch works on UNOWifi or UNO but will not compile for MEGA2560. Basic Blink sketch works for MEGA2560; so I assume board is OK. I simply do not understand and hope you may help. Sketch and Error message attached.

BoardwalkFourModesMasterDMXBlynk210209.docx ERROR MESSAGE WHEN TRYING TO COMPILE SKETCH.docx +

mathertel commented 3 years ago

This is the conflict with the Hardware - Serial Interface. See:

Details on how to use the library with ARDUINO MEGA and ARDUINO Leonardo boards and different ports: http://mathertel.blogspot.de/2013/05/update-for-dmxserial-library.html

MikeWDale commented 3 years ago

Thank you for directing me to your blog page. Unfortunately I do not know how to uncomment the line

define DMX_USE_PORT1

I assume this is a line in DMXSerial.h The Arduino IDE will not open .h files, only .ino and .pde files Please tell me how to do this.