Skip to content

Commit 1b8046c

Browse files
committed
Corecting the Servo Motor Problem - www.ArnabKumarDas.com
1 parent 9047924 commit 1b8046c

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

examples/grblUpload/grblUpload.ino

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
/***********************************************************************
2-
This sketch compiles and uploads grbl-coreXY-servo to your 328p-based Arduino!
2+
This sketch compiles and uploads Grbl to your 328p-based Arduino!
3+
4+
www.ArnabKumarDas.com
5+
http://www.arnabkumardas.com/topics/cnc/how-to-make-an-arduino-drawing-machine/
36
47
To use:
5-
- First make sure you have imported grbl-coreXY-servo source code into your Arduino
8+
- First make sure you have imported Grbl source code into your Arduino
69
IDE. There are details on our Github website on how to do this.
710
811
- Select your Arduino Board and Serial Port in the Tools drop-down menu.
@@ -12,7 +15,7 @@ To use:
1215
- Then just click 'Upload'. That's it!
1316
1417
For advanced users:
15-
If you'd like to see what else grbl-coreXY-servo can do, there are some additional
18+
If you'd like to see what else Grbl can do, there are some additional
1619
options for customization and features you can enable or disable.
1720
Navigate your file system to where the Arduino IDE has stored the Grbl
1821
source code files, open the 'config.h' file in your favorite text

spindle_control.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
#include "grbl.h"
2727

28-
#define RC_SERVO_SHORT 15 // Timer ticks for 0.6ms pulse duration (9 for 0.6ms)
29-
#define RC_SERVO_LONG 32 // Timer ticks for 2.5 ms pulse duration (39 for 2.5ms)
28+
#define RC_SERVO_SHORT 25 // Timer ticks for 0.6ms pulse duration (9 for 0.6ms)
29+
#define RC_SERVO_LONG 39 // Timer ticks for 2.5 ms pulse duration (39 for 2.5ms)
3030
//#define RC_SERVO_INVERT 1 // Uncomment to invert servo direction
3131

3232

0 commit comments

Comments
 (0)