GRBL for CNC

i have problem for this code. Please help me, i am new in arduino, i wanna build CNC Milling, hardware is finish but the arduino code is error please help me.

#include <Servo.h>

#define SERVOPIN 10;

Servo spindle;
int startupSpeed;
int topSpeed;
int currentSpeed

void setup() {

startupSpeed = 1500;
topSpeed = 2400;

spindle.attach(SERVOPIN);
spindle.writeMicroseconds(3000); // Set throttle to max
delay(10000);
spindle.writeMicroseconds(1000); // Set throttle to min
delay(10000);

// Increase speed in small steps until we get to top speed.
for (currentSpeed = startupSpeed; currentSpeed <= topSpeed; currentSpeed += 100) {
spindle.writeMicroseconds(currentSpeed);
delay(1000);
}

}

void loop() {

}

CNC link is http://www.instructables.com/id/Make-a-CNC-mill-with-a-laser-cutter/step8/Wire-it-up/

What has that code got to do with GRBL ?

What sort of servo is being used for the spindle?

...R

i have problem for this code.

Perhaps you could tell us what problem you have rather than making us guess?

What is it supposed to do? What does it actually do?

rudi23081995:

define SERVOPIN 10;

You don't want a semicolon on the end of this line.