Welcome! Log In Create A New Profile

Advanced

Error: 'analogInputToDigitalPin' was not declared in this scope

Posted by sungod3k 
Error: 'analogInputToDigitalPin' was not declared in this scope
May 24, 2014 08:41PM
Hi,

I'm just trying to get Marlin running on my Sanguinololu 1.3a. I´ve seen multiple threads saying that this is possible but I'm running into the same error

Quote

Marlin_main.cpp:301: error: 'analogInputToDigitalPin' was not declared in this scope

the corresponding line of code is

Quote

const int sensitive_pins[] = SENSITIVE_PINS; // Sensitive pin list for M42

There is a thread about this here [groups.google.com] but they are talking about a different board.
Any ideas?

Edited 1 time(s). Last edit at 05/24/2014 08:42PM by sungod3k.
Re: Error: 'analogInputToDigitalPin' was not declared in this scope
May 24, 2014 09:04PM
Ah never mind, I had used the board definition from the manufacturer not the ones coming with marlin itself. Compiles now normally.
Sorry, only registered users may post in this forum.

Click here to login