Vibration Motor as Digital output with busy wait PWM: this is a mini vibration motor suitable as a non-audible indicator. When the input is HIGH, the motor will vibrate just like your cell phone on silent mode. This simple application uses a DigitalOut port to buzz the vibration motor at intervals of 1 second. Anything less than 1 second and the motor will not engage properly. The vibration is accomplished via busy wait.
Replace the default code with the code in "main.cpp" from this GitHub repo by creating an empty project OR clone the GitHub code in to your Keil Studio Cloud IDE (recommended).
- NXP FRDM K64F development board
- Grove Shield
- Grove Vibration Motor
- Keil Studio Cloud IDE
Issues can be used to keep track of bugs, enhancements, or other requests. For more information, see Creating an Issue. You are encouraged to create an issue if you need to report a bug or request an enhancement.
GitHub Discussions is a collaborative communication forum. You can ask and answer questions, share updates, have open-ended conversations, and follow along on relevant decisions. Click on the Discussions tab on the top to get strated.
This repository is created and maintained by Priyank Kalgaonkar. You can contribute by submitting pull requests from your fork to the upstream repository. For more information, see Contributing to Projects guide.