Skip to content

Library doesn't work with Arduino Nano Every #38

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

Closed
sstaub opened this issue Sep 24, 2020 · 1 comment
Closed

Library doesn't work with Arduino Nano Every #38

sstaub opened this issue Sep 24, 2020 · 1 comment
Labels
conclusion: duplicate Has already been submitted

Comments

@sstaub
Copy link

sstaub commented Sep 24, 2020

Can't compile with Arduino Nano Every

Arduino: 1.8.13 (Mac OS X), Board: "Arduino Nano Every, ATMEGA328"

In file included from /Applications/Arduino.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.cpp:1:0:
/Applications/Arduino.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:45:36: error: expected class-name before '{' token
class LiquidCrystal : public Print {
^
/Applications/Arduino.app/Contents/Java/libraries/LiquidCrystal/src/LiquidCrystal.h:86:9: error: 'Print' has not been declared
using Print::write;
^~~~~
exit status 1
Error compiling for board Arduino Nano Every.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

@per1234
Copy link
Contributor

per1234 commented Sep 24, 2020

Thanks for the report @sstaub! Since we already have a couple reports about this (#33 and arduino/Arduino#10025), I'm going to close it as a duplicate. You can check those issues for details on the bug and how it was fixed.

That fix will only become available at the next release of the Nano Every's Arduino megaAVR Boards platform.

Until then, the workaround is to roll back to the previous version of Arduino megaAVR Boards, which doesn't have the bug:

  1. (In the Arduino IDE) Tools > Board > Boards Manager
  2. Wait for the downloads to finish.
  3. From the list of available boards platforms, click "Arduino megaAVR Boards".
  4. From the "Select version" dropdown menu, select "1.8.5".
  5. Click the "Install" button.
  6. Wait for the installation to finish.
  7. Click the "Close" button.

Depending on your File > Preferences > Check for updates on startup setting, you may now occasionally get a notification that there is a new version of Arduino megaAVR Boards available. If you update back to Arduino megaAVR Boards 1.8.6, the bug will be back again, so refrain from doing that. However, you should keep an eye out for the 1.8.7 release, since that will have the bug fixed as well as additional enhancements from the development work done since the Arduino megaAVR Boards 1.8.5 release.

@per1234 per1234 closed this as completed Sep 24, 2020
@per1234 per1234 added the conclusion: duplicate Has already been submitted label Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted
Projects
None yet
Development

No branches or pull requests

2 participants