jbrazio / ardufocus

:telescope: The most accurate Open Source focus controller
https://ardufocus.com
GNU General Public License v3.0
53 stars 19 forks source link

Configuring motor 2 using the printed board #25

Closed FearL0rd closed 3 years ago

FearL0rd commented 3 years ago

Im trying to use the second motor using printed board and Im getting this error when I try to compile

The build instructions says to use this pinout https://ardufocus.com/manual/build-instructions/

define MOTOR2_PINOUT A2, 6, 5, 4, 3, 2

Error: sketch\a4988.h:70:12: note: no known conversion for argument 1 from '' to 'const a4988::pinout_t&' exit status 1 'A2' was not declared in this scope

this is the PCB Im using https://github.com/jbrazio/ardufocus-schematics/raw/master/ardufocus/ardufocus-top.png

FearL0rd commented 3 years ago

I was able to use 20 to call A2

define MOTOR2_PINOUT 20, 6, 5, 4, 3, 2

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.