Priyank Kalgaonkar
/
TALab3BVibMotorECE595
ECE595 - Lab 3 Part 2 - Grove Vibration Motor Program - TA
main.cpp
- Committer:
- priyank12p
- Date:
- 2021-01-16
- Revision:
- 3:b7e534ebe607
- Parent:
- 2:af5f9d175643
File content as of revision 3:b7e534ebe607:
#include "mbed.h" DigitalOut vibMotor(D6); int main (void) { int timer = 1; while(1) { vibMotor = 1; wait(timer); vibMotor = 0; wait(timer); } }