Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direction Pins beyond 7 #41

Open
thkais opened this issue Mar 27, 2018 · 1 comment
Open

Direction Pins beyond 7 #41

thkais opened this issue Mar 27, 2018 · 1 comment

Comments

@thkais
Copy link

thkais commented Mar 27, 2018

Mapping direction pins to pins higher than 7 doesn't work.
The following changes will fix this:
planner.h, line 63
uint8_t direction_bits; --> PORTPINDEF direction_bits;
stepper.c, line 106
uint8_t direction_bits; --> PORTPINDEF direction_bits;

best regards
thkais

@fenderrex
Copy link

fenderrex commented Dec 29, 2019

It won't go beyond 7 I'm assuming that includes 0?
I have to ask does the step pins use direct memory access on this chip? It would make timing a no-brainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants