Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hello,
This is a very basic C++ question but cannot find the problem. I am trying to create a class for a 4x20 serial LCD display. When compiling I get "Object of abstract class LCD20X4 is not allowed (E322) whern using it this way :
main.cpp :
SerialLCD.h :
SerialLCD.cpp
If I remove "public Stream", it compiles and runs. But I want to use Stream to have printf function available. I tried to do as the TextLCD class without much success. I am sure it is a basic inheritance stuff I did not get right.
Thanks in davance.