Hi,
I am very new to codeing and was wondering if there was a way to easily change what the encoders do. I would like to be able to make one do intensity and one color as I don’t need to use pan and tilt.
Thanks
Samuel
Hi,
I am very new to codeing and was wondering if there was a way to easily change what the encoders do. I would like to be able to make one do intensity and one color as I don’t need to use pan and tilt.
Thanks
Samuel
Here is the code for use with platformIO
#lighthack box2.zip
im getting a compile error at line 203 'int8_t index' redeclared as different kind of symbol
so im running 1.8.8 ide and a teensy 3.6 every time i try to verify i get the above error. but if i switch to something like a nano or uno and verify it goes through with no error.
Is this with an unmodified light hack sketch? I'm currently on 1.8.7 IDE and not getting any errors on a build for teensy 3.6.
I realized you were working with the box2 code. I got the same error compiling for teensy. "index" is used in a library for teensy somewhere else is in that code it is a char instead of an int. I simple changed the name from index to attribIndex wherever appropriate and the code compiled. I haven't tested it on any teensy hardware yet but will attempt that sometime this weekend.
Hope this helps.
Thanks Druuka that did help and makes sense but now im getting additional errors
#define ENCODERS 2 on line 107 gets a
im not sure if it is me
I tested with Arduino IDE 1.8.8 for UNO, all is OK. Generally I'm using PlatformIO https://platformio.org on VSCode as my favorite IDE on my MacBook. I'm using it for testing with my Teensy 3.5, the IDE has code analysis which helps to find errors. So testing my Teensy code all is fine. I attached my Teensy code here (PlatformIO Project files).
I'm trying to get your code working on a teensy 3.5 using platform IO and VS Code. It uploads fine but I can't get it to handshake with my PC running Nomad, I haven't tried it using a console yet though. Any suggestions?
Maybe the speed was wrong, or try to comment out the lines, like in the screenshoots.
That did it, thanks. My teensy is now handshaking with Eos. Now I just have to finish soldering it all together.
www.etcconnect.com