Integrate with the Arduino Print class

This commit is contained in:
PaulStoffregen 2013-12-26 14:29:39 -08:00
parent f9bbfdcba4
commit 2932618114
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ class Adafruit_RA8875 : public Adafruit_GFX {
uint16_t width(void);
uint16_t height(void);
/* Play nice with Arduino's Print class */
virtual size_t write(uint8_t b) {
textWrite((const char *)&b, 1);
return 1;