Code Monkey home page Code Monkey logo

Comments (2)

tttapa avatar tttapa commented on May 27, 2024

If you use the latest version, you can set the touch_masks configuration option to all zeros:

static constexpr uint8_t touch_masks[] = {1 << PB0, 1 << PB1, 1 << PB2,

However, that's not enough: if the Arduino doesn't know that you're touching it, how does it know when to turn of the motor? In its current form, the software will just work against you when you try to move it, which kind of defeats the purpose.

You could add some logic to enable the controllers only when the reference changes, with some kind of lock-out system, and then detect when the user stops moving the fader by looking at the analog input.

from control-surface-motor-fader.

FabiB98 avatar FabiB98 commented on May 27, 2024

You could add some logic to enable the controllers only when the reference changes, with some kind of lock-out system, and then detect when the user stops moving the fader by looking at the analog input.

Hi, thanks a lot for your reply!
I see the problem. I thought that there is an easy way to set the program to the above explained behavior.
I had a look to the code and I think that the re-programming expense is quite high.

Maybe I will shift around by introducing an additional push button for every fader. Using a D-FLIPFLOP I will produce a switch behaviour. If I set the Touch pin to VCC I can change the fader position by hand. After that I press the button again and then the PIN will set to LOW --> Motor fader is controlled by command.

Does this make sense for you?
Thanks a lot for your efforts!
Best regards
Fabian

from control-surface-motor-fader.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.