-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
I'm writing an Arduino app and I want to be able to change the language of the menus. So I would have something like this:
EN.h
const char PROGMEM WELCOME[] = "Welcome"
DE.h
const char PROGMEM WELCOME[] = "Willkommen"
Main.ino
#include "./EN.h" // or #include "./DE.h"
MenuItem(miWelcome, WELCOME, Menu::NullItem, Menu::NullItem, Menu::NullItem, Menu::NullItem, ShowWelcome);
The problem is when I try to use the getLabel function, it just returns gibberish. I'm brand new to C++, so any help you could give would be appreciated.
Thank you.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels