Problem sending a char[] to the LCD [SOLVED]

Hi all,

I am trying to switch from Strings to char

The Library I am writing returns a char*

Serial.println(menu.getChar());

outputs OK on the serial monitor

lcd.print(menu.getchar());

generates a: ‘class Menu’ has no member named ‘fgetc’ on compile time.

Can someone shed some light on this for me?

(I added #include <stdio.h> in all the files: .h .cpp. .ino) but no cigar.

EDIT : I tried

lcd.print(&menu.getchar());

Same error.

Jacques

In the one you said worked you spelled it differently. Are you sure you're calling the same function? C++ is case sensitive. getChar != getchar

Post your code and links to the menu library you're using. It's kinda hard to help much more without that.

Hey Delta_G

You've got it pinned.

When I do this kind of booo booo, I recieve a "Not defined in this scope" warning.

Guess I'll have to get a good night sleep before going on with this Library.

Thanks a lot to have taken the time to fool proof my code.

Jacques