Skip to content

Need help getting started with configs #105

Answered by terjeio
cltsang asked this question in Q&A
Discussion options

You must be logged in to vote

Replace driver.c with this version

driver.zip

and do not define unassigned pins as pin 255 - somehow this leaves pin 19 as an input later in the startup sequence.

my_machine_map.h:

#undef PROBE_ENABLE

#define STEP_TIMER_GROUP TIMER_GROUP_0
#define STEP_TIMER_INDEX TIMER_0

#define X_STEP_PIN GPIO_NUM_18
#define Y_STEP_PIN GPIO_NUM_21
#define Z_STEP_PIN GPIO_NUM_16

#define X_DIRECTION_PIN GPIO_NUM_5
#define Y_DIRECTION_PIN GPIO_NUM_22
#define Z_DIRECTION_PIN GPIO_NUM_4

#define STEPPERS_ENABLE_PIN GPIO_NUM_19

#define Z_LIMIT_PIN GPIO_NUM_23

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@terjeio
Comment options

@cltsang
Comment options

Answer selected by cltsang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants