Replies: 1 comment 1 reply
-
What board are you using? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It shows error while compiling. There is current code which is test code from theirs page:
`#include <LcdMenu.h>
#include <MenuScreen.h>
#include <display/LiquidCrystal_I2CAdapter.h>
#include <renderer/CharacterDisplayRenderer.h>
#include <input/KeyboardAdapter.h>
MENU_SCREEN(mainScreen, mainItems,
ITEM_BASIC("Item 1"),
ITEM_BASIC("Item 2"),
ITEM_BASIC("Item 3"),
ITEM_BASIC("Item 4"));
LiquidCrystal_I2C lcd(0x27, 16, 2);
LiquidCrystal_I2CAdapter lcdAdapter(&lcd);
CharacterDisplayRenderer renderer(&lcdAdapter, 16, 2);
LcdMenu menu(renderer);
KeyboardAdapter keyboard(&menu, &Serial);
void setup() {
Serial.begin(9600);
renderer.begin();
menu.setScreen(mainScreen);
}
void loop() {
keyboard.observe();
}`
There is my current libraries:
ArduinoSTL by Mike Matera - 1.3.3
LcdMenu by Forntoh Thomas - 5.11.2
Menu Screen - I didnt find this library
LiquidCrystal I2C - 1.1.2
LiquidCrystal -1.0.7
CharacterDisplayRenderer - I didnt find this library
KeyboardAdapter - I didnt find this library
There is error:
new.cpp.o (symbol from plugin): In function
operator new(unsigned int)': (.text+0x0): multiple definition of
std::nothrow'C:\Users\Adm\AppData\Local\arduino\sketches\96AF2D6DF60ABF95891B60C03E254F33\libraries\ArduinoSTL\new_handler.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
Beta Was this translation helpful? Give feedback.
All reactions