Quantcast
Channel: Reprap Forum - Controllers
Viewing all articles
Browse latest Browse all 10211

Re: Arduino CNC Shield V3.0

$
0
0
Oh and also no negative pins except -1 (no -5 nor -3 no -6).

#if MOTHERBOARD == 99
#define KNOWN_BOARD 1

#ifndef __AVR_ATmega328P__
#error Oops! Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu.
#endif

#define X_STEP_PIN 2
#define Y_STEP_PIN 3
#define Z_STEP_PIN 4

#define X_DIR_PIN 5
#define Y_DIR_PIN 6
#define Z_DIR_PIN 7

#define X_ENABLE_PIN 8
#define Y_ENABLE_PIN 8
#define Z_ENABLE_PIN -1
#define E0_ENABLE_PIN -1

#define E0_STEP_PIN 12 // or other which you can wire it onboard
#define E0_DIR_PIN 13 // or other which you can wire it onboard

#define X_MIN_PIN 9 // investigate whats the deal with the asterisk there
#define Y_MIN_PIN 10
#define Z_MIN_PIN 11

#define X_MAX_PIN -1 // max endstops are not used
#define Y_MAX_PIN -1
#define Z_MAX_PIN -1

Viewing all articles
Browse latest Browse all 10211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>