File tree 1 file changed +3
-2
lines changed
examples/PWM_Mode_Teensy_Artemis
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ void setup(){
31
31
// When using Teensy***************************************
32
32
// analogWriteFrequency(pwmPin, 10000); // Set to 10kHz
33
33
// When using Artemis***************************************
34
+ // analogWriteResolution(8); //This example assumes that analogWriteResolution() is set to 8-bits on the Artemis, uncomment this line if needed
34
35
analogWriteFrameWidth (1100 ); // Set to 10kHz (e.g. 10909Hz = 12000000/1100); too close to the boundary and the DA7280 will fault
35
36
36
37
Wire.begin ();
@@ -59,8 +60,8 @@ void setup(){
59
60
60
61
void loop (){
61
62
62
- // I found that the Haptic Driver stops responding around 100 for the
63
- // Artemis.
63
+ // I found that the Haptic Driver stops responding when the
64
+ // applied power is around 254 for the Artemis.
64
65
for (int power = 20 ; power < 255 ; power++) {
65
66
66
67
// If uploading often the Haptic Driver IC will throw a fault when the PWM
You can’t perform that action at this time.
0 commit comments