Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: TPixy-Interface
Fork of ManualControlFinal by
Diff: Drivers/motor_driver.h
- Revision:
- 1:3e9684e81312
- Parent:
- 0:a355e511bc5d
- Child:
- 8:a0890fa79084
--- a/Drivers/motor_driver.h Thu Feb 01 03:58:00 2018 +0000
+++ b/Drivers/motor_driver.h Sat Feb 03 00:05:08 2018 +0000
@@ -3,7 +3,7 @@
#define MOTOR_DRIVER_H
//motor configuration
-#define PERIOD 20000 // period in ms -> frequency = 50kHz -- audible frequency is between 20Hz - 20kHz
+#define PERIOD 40 // period in us -> frequency = 25kHz -- audible frequency is between 20Hz - 20kHz
typedef enum { MOTOR_UNINIT,
MOTOR_INIT,
