Comments (2)
Hi, I added support for printing text lines stored in the flash memory as const char[]
.
The way to do it is by defining the text line like this:
const char text[] PROGMEM = "Some text";
then attach it to the LiquidLine
object as usual:
LiquidLine someLine(0, 0, text);
and finally call the function:
someLine.set_asProgmem(1);
this function tells the object that this variable is stored in the flash. '1' is the consecutive number of the variable for this LiquidLine
object.
This update is released as beta here.
from liquidmenu.
thanks, works fine
from liquidmenu.
Related Issues (20)
- call_function() calls update() for previous menu if change_menu() is in the callback function
- API reference is 404 HOT 2
- Unable to get current menu from LiquidSystem
- 'recognizeType(int&)' is ambiguous HOT 1
- LiquidMenu objects have to be defined globally HOT 3
- Screens could link to child menus HOT 5
- Switching screens should reset focus item back to first line HOT 2
- Can't compile I2C example HOT 8
- Rotary encoder example HOT 2
- `switch_focus` iterates from the last focusable line to `_lineCount` instead of the first line HOT 6
- Blink cursor over editing position HOT 1
- Avoid creating duplicate variables HOT 1
- `delete_variable()` and `detach_function()` HOT 2
- `LiquidSystem::is_callable` makes an undesired `LiquidMenu::call_function` HOT 1
- Mixing sub-menus and scrolling lines? HOT 1
- Switch focus disappears for one step after an iteration HOT 4
- Support for the SAMD architecture HOT 1
- Optional screen refresh option when calling a function HOT 1
- [Poll] Which interface do you use to interface with the display?
- LiquidCrystal not found even if it's installed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liquidmenu.