I am driving e-Paper display with nRF52 Module named mentioned above, but not getting sharp image
#include <GxEPD.h> #include <GxGDEH0213B73/GxGDEH0213B73.h> // 2.13" b/w newer panel #include GxEPD_BitmapExamples // FreeFonts from Adafruit_GFX #include <Fonts/FreeMonoBold9pt7b.h> #include <Fonts/FreeMonoBold12pt7b.h> #include <Fonts/FreeMonoBold18pt7b.h> #include <Fonts/FreeMonoBold24pt7b.h> #include <GxIO/GxIO_SPI/GxIO_SPI.h> #include <GxIO/GxIO.h> #include "IMG_0001.h" GxIO_Class io(SPI, /*CS=*/ 4, /*DC=*/ 3, /*RST=*/ 2); // arbitrary selection of 8, 9 selected for default of GxEPD_Class GxEPD_Class display(io, /*RST=*/ 2, /*BUSY=*/ 5); // default selection of (9), 7 void setup() { Serial.begin(115200); Serial.println(); Serial.println("setup"); display.init(115200); // enable diagnostic output on Serial Serial.println("setup done"); //showpic(); } void loop() { //showpic(); display.drawPaged(showFontCallback); delay(5000); } void showFontCallback() { const char* name = "FreeMonoBold9pt7b"; const GFXfont* f = &FreeMonoBold9pt7b; display.fillScreen(GxEPD_WHITE); display.setTextColor(GxEPD_BLACK); display.setFont(f); display.setCursor(0, 0); display.println(); display.println(name); display.println(" !\"#$%&'()*+,-./"); display.println("0123456789:;<=>?"); display.println("@ABCDEFGHIJKLMNO"); display.println("PQRSTUVWXYZ[\\]^_"); #if defined(HAS_RED_COLOR) display.setTextColor(GxEPD_RED); #endif display.println("`abcdefghijklmno"); display.println("pqrstuvwxyz{|}~ "); } void showpic() { //uint16_t x = (display.width() - 128) / 2; uint16_t x = 0; uint16_t y = 0; display.fillScreen(GxEPD_BLACK); display.drawExampleBitmap(gImage_IMG_0001, x, y, 128, 250, GxEPD_WHITE); display.update(); }