Migrating files from the the Honnun project to a separate project focused on the CNC foamcutter.

This commit is contained in:
foley
2012-06-05 11:37:04 +00:00
commit c932fefe59
119 changed files with 70633 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
/*
Quick test for makerbot hardware
*/
const int pin_step = 28;
const int pin_dir = 27;
const int pin_enable = 26;
void setup() {
pinMode(pin_step, OUTPUT);
pinMode(pin_dir, OUTPUT);
pinMode(pin_enable, OUTPUT);
// turn on the motor and set a direction
digitalWrite(pin_dir, LOW);
digitalWrite(pin_enable, LOW);
}
void loop() {
digitalWrite(pin_step, LOW);
delay(10);
digitalWrite(pin_step, HIGH);
}