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

Ultra LCD compilation errors #1512

Closed
maximevast opened this issue Feb 18, 2015 · 5 comments
Closed

Ultra LCD compilation errors #1512

maximevast opened this issue Feb 18, 2015 · 5 comments

Comments

@maximevast
Copy link

When uncommenting #define ULTRA_LCD, i get the following :

ultralcd.cpp: In function ‘void lcd_goto_menu(void (*)(), uint32_t, bool)’:
ultralcd.cpp:195: error: ‘encoderPosition’ was not declared in this scope
ultralcd.cpp:196: error: ‘lcd_quick_feedback’ was not declared in this scope

Using arduino 1.0.6 and ubuntu.
Nothing on the internet
Any idea?

Regards

Maxime from France

@thinkyhead
Copy link
Member

Unless I am mistaken, that's not enough. You have to specify the model of controller that you are using, below ULTRA_LCD. The Configuration.h file comments might not be clear on this point.

@Nprod
Copy link

Nprod commented Feb 19, 2015

Yes, #ULTRA_LCD is not enough, you also need to define #ULTIPANEL and #NEWPANEL and set the height and width. Quickest way would be to just uncomment #REPRAP_DISCOUNT_SMART_CONTROLLER because it enables everything you need for a 20x4 display.

@maximevast
Copy link
Author

Hi !
Thanks for the quick answer!
When uncommenting #REPRAP_DISCOUNT_SMART_CONTROLLER I got this:

ultralcd.cpp:73: error: ‘void lcd_quick_feedback()’ used but never defined

Same when manualy uncomment #ULTIPANEL and #NEWPANEL ...

I'm looking for a solution by myself but maybe you already know this problem?

@maximevast
Copy link
Author

I found the solution :

(Redownload merlin an try again)

I think arduino v 1.0.6 change .ino to .pde and this might had cause the error.

Issue closed. Thanks

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants