summaryrefslogtreecommitdiff
path: root/code/debug/motors/PWM
diff options
context:
space:
mode:
Diffstat (limited to 'code/debug/motors/PWM')
-rw-r--r--code/debug/motors/PWM/src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/debug/motors/PWM/src/main.cpp b/code/debug/motors/PWM/src/main.cpp
index 53369e4..c7d8fe0 100644
--- a/code/debug/motors/PWM/src/main.cpp
+++ b/code/debug/motors/PWM/src/main.cpp
@@ -1,5 +1,7 @@
#include <Arduino.h>
+IntervalTimer myTimer;
+
int pwmPin = 3; //pin for PWM output
int pwmacc = 1000; //how accurate the PWM is, means you can enter value from 0 to the value of pwmacc
int PWMval = 0; //value of the PWM, means you can enter value from 0 to the value of pwmacc