Comments (4)
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.
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.
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.
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)
- Compile Issue with Error Message HOT 7
- Delay code does not appear to be working HOT 10
- setup() function is not invoked HOT 2
- Error updating firmware on Ubuntu HOT 3
- Repo size discussion (Presently 797.52 MB) HOT 6
- Example from the main readme fails to compile HOT 2
- LED function parameters are misleadingly named HOT 1
- Feature Request: provide a millis function HOT 2
- error where JB locks up HOT 6
- Pull get_rand_int over to this board as well HOT 1
- Bring the new colors over to the breathing animation
- Consistent error seen when attempting to upload to JDB HOT 21
- Add Bouncing Ball to Solo Board HOT 1
- Developer Guidance? HOT 4
- package_jwb_staging_index.json is a 404 HOT 1
- BLE services / characteristics HOT 9
- Board package URL in README.md is a 404 HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-library.