Three Encoders

Has anyone made a Lighthack box with three encoders? And how easy is it to modify the code to add an extra encoder in?

Thanks

Parents Reply
  • This is a long shot here, but I'm using your code and I'm having some trouble. I wondered if you could help?

    The third and fourth encoder are not working for me. All four of the buttons work for their appropriate parameter, but only the first two encoders are working with rotation. Any ideas?

Children
  • the only thing I can think of is checking your soldering, sorry.

  • I'm sure the soldering is proper. It's giving me the error, "error, ProcessWheelCommand invalid parameter name: empty"

  • Where are you seeing the error? When compiling and uploading or in Eos?  Which version of Eos are you running?  I've only used mine on 2.9.1

  • Ok, dummy me, that is the error that you get when the parameter is literally listed as "empty."

    When I hit the parameter up or down buttons, it then works since instead of trying to change the "empty" parameter, it changed the "diffusion" parameter, (which actually exists).

    By the way that error was in Tab 99 diagnostics.

    Now I'm having a different issue where the arduino is not reading the 4th encoder, connected to pins A8 and A9. Any thoughts?

    Thanks

  • depending on the sketch.... what pins do you have assigned to the 4th encoder... Brads sketch linked above has encoder 4 on pins A6-A7.