Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino 1.8.2 #6

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

peternewman
Copy link
Member

Make it compile with Arduino 1.8.2, resulting hex currently untested

@stoneater
Copy link

Thanks, when I get to a computer, I will test against 1.8.8 and upload to Arduino

@stoneater
Copy link

stoneater commented Jan 28, 2019

That got me a long way. I was able to compile after the normal change to INSTALL_DIR and it compiled many steps, but then failed on EEPROM.h, which does exist in the libraries/EEPROM/src folder. I'm looking into WidgetSettings.cpp, which seems to be the caller of EEPROM.h

UPDATE: copied EEPROM.h from folder to rgbmixer root, and created the hex. Testing on arduino upload now.

UPDATE the 2nd: Uploaded without issue, and arduino shows up as DMX device in OLA! Now to map out and test on LED! Confirm now works with 1.8.8

@peternewman
Copy link
Member Author

That got me a long way. I was able to compile after the normal change to INSTALL_DIR and it compiled many steps, but then failed on EEPROM.h, which does exist in the libraries/EEPROM/src folder. I'm looking into WidgetSettings.cpp, which seems to be the caller of EEPROM.h

Can you just confirm exactly which path (relative to INSTALL_DIR) your EEPROM.h is in? It may be due to my change here:
https://github.com/OpenLightingProject/rgbmixer/pull/6/files#diff-7690f97f0d5d0b0ec3fbaa3e878a0ee0R32

UPDATE: copied EEPROM.h from folder to rgbmixer root, and created the hex. Testing on arduino upload now.

UPDATE the 2nd: Uploaded without issue, and arduino shows up as DMX device in OLA! Now to map out and test on LED! Confirm now works with 1.8.8

Was that using make upload? That sounds very promising anyway.

@stoneater
Copy link

Yes that was using make upload. I then connected some LEDs, and using ola's web interface was able to brighten and dim the LEDs. There isn't any documentation on this that I could find, so was a bit trial and error. I might also look into the code and dig a bit into the serial-parallel abilities, to run a bunch of relays with on/off only, for doing a lightning type effect with some other lights I have. Getting the dmx portion is 99% for me, the rest is experimentation.

@peternewman
Copy link
Member Author

Yes that was using make upload. I then connected some LEDs, and using ola's web interface was able to brighten and dim the LEDs. There isn't any documentation on this that I could find, so was a bit trial and error. I might also look into the code and dig a bit into the serial-parallel abilities, to run a bunch of relays with on/off only, for doing a lightning type effect with some other lights I have. Getting the dmx portion is 99% for me, the rest is experimentation.

Can you just confirm exactly which path (relative to INSTALL_DIR) your EEPROM.h is in? It may be due to my change here:
https://github.com/OpenLightingProject/rgbmixer/pull/6/files#diff-7690f97f0d5d0b0ec3fbaa3e878a0ee0R32

As mentioned in #5 there's some docs here:
https://wiki.openlighting.org/index.php/Arduino_RGB_Mixer

If you're generally interested in emulating an Enttec on an Arduino, then see this too:
https://github.com/DaAwesomeP/dmxusb

Copy link

@stoneater stoneater left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compiles, uploads and functions as DMX output device when avr-g++ is used in stock configuration from arduino1.8.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants