Code Monkey home page Code Monkey logo

Comments (7)

Fagge40 avatar Fagge40 commented on July 24, 2024 1

from physicalbutton.

LuxuSam avatar LuxuSam commented on July 24, 2024 1

I had some time to think about how to add an output activity to my plugin and I think I came up with a pretty good idea which does not increase the complexity of the interface!

I'll probably start implementing it in the next few days :D

from physicalbutton.

LuxuSam avatar LuxuSam commented on July 24, 2024

Hi,
Do you mean something like an activity to generate a HIGH output to a GPIO pin for a set amount of time?

I like the idea :)
I'll see how I can include it reasonably.

Cheers,
Sam

from physicalbutton.

calebmah avatar calebmah commented on July 24, 2024

This is a good feature request, but just sharing a possible alternative way to achieve a similar result depending on your printer board and firmware.

I use the GCODE command M300 S100 P20 (https://marlinfw.org/docs/gcode/M300.html) to play a short beep whenever a button is pressed. Since this plugin allows listing multiple activities per button press, I just put this GCODE activity as the first in the list and its been working well!

from physicalbutton.

Fagge40 avatar Fagge40 commented on July 24, 2024

from physicalbutton.

LuxuSam avatar LuxuSam commented on July 24, 2024

Good idea @calebmah!
As my printer (Prusa Mini) does not support the M300 command yet, I'll still keep this feature request in mind!

from physicalbutton.

electronicm avatar electronicm commented on July 24, 2024

@LuxuSam
Does it make sense to leave this plugin exclusively for inputs and implement the controlling of outputs in a new plugin?
My request #43 would provide a good interface for this.

This way both plugins would remain as simple as possible and universal.

from physicalbutton.

Related Issues (20)

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.