mjs513
Senior Member+
@KurtE, @....
If you been following the other thread you all know about me playing with the HDMI shield (1280x720). Anyway, library needs some work and so do I in understanding whats going on but that is another story. Right now trying to figure out to get something like print and println to work with the library. If I just do a "Class ….. : public Print" it gets upset:
Anyone have any ideas. Also how does that really work when I have execute another function to send it to the display?
If you been following the other thread you all know about me playing with the HDMI shield (1280x720). Anyway, library needs some work and so do I in understanding whats going on but that is another story. Right now trying to figure out to get something like print and println to work with the library. If I just do a "Class ….. : public Print" it gets upset:
Code:
In file included from D:\Users\Merli\Documents\Arduino\T4\HDMI\HDMI.ino:1:0:
D:\Users\Merli\Documents\Arduino\libraries\Ra8876_Lite\src/Ra8876_Lite.h:600:20: error: cannot declare variable 'ra8876lite' to be of abstract type 'Ra8876_Lite'
extern Ra8876_Lite ra8876lite;
^
D:\Users\Merli\Documents\Arduino\libraries\Ra8876_Lite\src/Ra8876_Lite.h:143:7: note: because the following virtual functions are pure within 'Ra8876_Lite':
class Ra8876_Lite : Print
^
In file included from F:\arduino-1.8.9\hardware\teensy\avr\cores\teensy4/Stream.h:24:0,
from F:\arduino-1.8.9\hardware\teensy\avr\cores\teensy4/HardwareSerial.h:106,
from F:\arduino-1.8.9\hardware\teensy\avr\cores\teensy4/WProgram.h:46,
from C:\Users\Merli\AppData\Local\Temp\arduino_build_572241\pch\Arduino.h:6:
F:\arduino-1.8.9\hardware\teensy\avr\cores\teensy4/Print.h:58:17: note: virtual size_t Print::write(uint8_t)
virtual size_t write(uint8_t b) = 0;
^
HDMI:40: error: cannot declare variable 'hdmi' to be of abstract type 'Ra8876_Lite'
Ra8876_Lite hdmi(RA8876_XNSCS, RA8876_XNRESET, RA8876_MOSI, RA8876_MISO, RA8876_SCK);
^
Anyone have any ideas. Also how does that really work when I have execute another function to send it to the display?