0% found this document useful (0 votes)
53 views2 pages

Error

The document describes errors encountered while compiling code for an Arduino project. It lists errors related to comparing strings to pointers and expected syntax errors around function definitions and braces. The code is attempting to compare a key variable to string literals but it is a pointer type.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views2 pages

Error

The document describes errors encountered while compiling code for an Arduino project. It lists errors related to comparing strings to pointers and expected syntax errors around function definitions and braces. The code is attempting to compare a key variable to string literals but it is a pointer type.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Arduino: 1.8.

9 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy


(new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26
MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100
(190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

C:\Users\Ferry\Downloads\keypad_dan_lcd\keypad_dan_lcd.ino: In function 'void


loop()':

keypad_dan_lcd:55:16: error: ISO C++ forbids comparison between pointer and integer
[-fpermissive]

if (key != "A" && key != "B" && key != "C" && key != "D" && key != "*" &&
key != "#"){

keypad_dan_lcd:55:30: error: ISO C++ forbids comparison between pointer and integer
[-fpermissive]

if (key != "A" && key != "B" && key != "C" && key != "D" && key != "*" &&
key != "#"){

keypad_dan_lcd:55:44: error: ISO C++ forbids comparison between pointer and integer
[-fpermissive]

if (key != "A" && key != "B" && key != "C" && key != "D" && key != "*" &&
key != "#"){

keypad_dan_lcd:55:58: error: ISO C++ forbids comparison between pointer and integer
[-fpermissive]

if (key != "A" && key != "B" && key != "C" && key != "D" && key != "*" &&
key != "#"){

keypad_dan_lcd:55:72: error: ISO C++ forbids comparison between pointer and integer
[-fpermissive]

if (key != "A" && key != "B" && key != "C" && key != "D" && key != "*" &&
key != "#"){

keypad_dan_lcd:55:86: error: ISO C++ forbids comparison between pointer and integer
[-fpermissive]

if (key != "A" && key != "B" && key != "C" && key != "D" && key != "*" &&
key != "#"){

keypad_dan_lcd:58:21: error: ISO C++ forbids comparison between pointer and integer
[-fpermissive]
}else if(key == "A"){

keypad_dan_lcd:78:31: error: 'modeInputToken' was not declared in this scope

modeInputToken(flag, dataX);

keypad_dan_lcd:90:34: error: a function-definition is not allowed here before '{'


token

void modeInputToken(String dataX){

keypad_dan_lcd:95:1: error: expected '}' at end of input

exit status 1
ISO C++ forbids comparison between pointer and integer [-fpermissive]

This report would have more information with


"Show verbose output during compilation"
option enabled in File -> Preferences.

You might also like