Git Product home page Git Product logo

Comments (4)

davison-sm avatar davison-sm commented on August 17, 2024 1

Now available custom buzzer control!

The newest version of the Jewelbot Arduino Library (v1.0.2) how has a custom buzzer function.

In addition to customizing the length of time of the buzz, you can also specify the amplitude (or strength) of the vibration. Check out the forum API page here ( http://community.jewelbots.com/t/working-with-the-jewelbot-buzzer/156 ) or our Github Wiki ( https://github.com/Jewelbots/arduino-library/wiki/Buzzer ) for details.

We also added versioning to the Arduino Library in this release. Your Arduino IDE should offer the option to update to v1.0.2 when you go into "Boards Manager."

Happy Buzzing!

from arduino-library.

csharpfritz avatar csharpfritz commented on August 17, 2024

I propose adding a Buzzer::buzz(duration) method with an error check to keep the buzzer from running longer than 2 seconds.

Why 2 seconds? Why not? Lets not burn out the motor, but I have no idea if the buzzer will run for 2 seconds or what the limit of the buzzer is

from arduino-library.

SaraJo avatar SaraJo commented on August 17, 2024

I don't think there is a limit. Thanks for adding it to Github, as I commented I thought "I need to think of somewhere to store things like this". We are out for the week this week but will discuss it next week when we are back. Working to prioritize new features.

from arduino-library.

davison-sm avatar davison-sm commented on August 17, 2024

I agree it is a good idea. The mode needed for the haptics driver chip to operate as suggested is not implemented in our current code.

As a temporary measure, I just added additional buzz functions to give everyone 6 different lengths of buzzes (125 ms to 1.5 s). And will be looking into adding an additional function with variable duration in the near future. As noted above, there will be some limits to protect the hardware, but need to double check on those before I say anything specific.

Thanks again for the suggestion, am excited to roll out that feature in the near future.

from arduino-library.

Related Issues (18)

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.