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

Clean up compiler errors and warnings #7

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

mcendu
Copy link

@mcendu mcendu commented Jan 16, 2025

This patchset allows sketches including LCDI2C_Multilingual in multiple files to compile. In addition, additional source files in the sketch no longer need to include <Arduino.h> explicitly before this library. Compiler warnings are cleaned up and should no longer show up when setting compiler warnings to "More".

Fixes #6. Closes #4.

mcendu added 12 commits January 15, 2025 10:01
This allows sketches to successfully link when this library is included in multiple files.
Arduino Uno has only a feeble 2 kilobytes of RAM. As data are put into
RAM by default on AVR, the conversion tables will easily eat up all the
precious RAM space.

Declaring the tables PGMSPACE should solve the RAM usage and make it
compatible with AVR again.
@mcendu mcendu mentioned this pull request Jan 16, 2025
1 task
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

Successfully merging this pull request may close these issues.

Support for multiple files
1 participant