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

Rambo board compiler error undeclared digipot_current digitalPotWrite #176

Open
tonokip opened this issue Oct 3, 2017 · 1 comment
Open

Comments

@tonokip
Copy link

tonokip commented Oct 3, 2017

C:\Users\ULTIAD~1\AppData\Local\Temp\arduino_build_498587\sketch\src\MK_Main.cpp: In function 'void gcode_M907()':

C:\Users\ULTIAD~1\AppData\Local\Temp\arduino_build_498587\sketch\src\MK_Main.cpp:8268:72: error: 'digipot_current' was not declared in this scope

   if (code_seen(axis_codes[i])) digipot_current(i, code_value_int());

                                                                    ^

C:\Users\ULTIAD~1\AppData\Local\Temp\arduino_build_498587\sketch\src\MK_Main.cpp:8269:60: error: 'digipot_current' was not declared in this scope

 if (code_seen('B')) digipot_current(4, code_value_int());

                                                        ^

C:\Users\ULTIAD~1\AppData\Local\Temp\arduino_build_498587\sketch\src\MK_Main.cpp:8270:93: error: 'digipot_current' was not declared in this scope

 if (code_seen('S')) for (uint8_t i = 0; i <= 4; i++) digipot_current(i, code_value_int());

                                                                                         ^

C:\Users\ULTIAD~1\AppData\Local\Temp\arduino_build_498587\sketch\src\MK_Main.cpp: In function 'void gcode_M908()':

C:\Users\ULTIAD~1\AppData\Local\Temp\arduino_build_498587\sketch\src\MK_Main.cpp:8298:5: error: 'digitalPotWrite' was not declared in this scope

 );

 ^

exit status 1
Error compiling for board RAMBo.

it looks like these instances should be changed to stepper.digipot_current() and stepper.digitalPotWrite()

@umfan92
Copy link

umfan92 commented Feb 18, 2018

I'm having the same problem trying to flash this firmware on my Rambo board.

Was there any solution to this?

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