Tuyết Trinh Nguyễn
New member
What is the drawback of the code given below?
A. Wrong header file name
B. Wrong display coordinate
C. Wrong target datatype
D. Incorrect parenthesis
Code:
#include <SPI.h>
#include <Adafruit_GFX>
#include <Adafruit_PCD8544.h>
#include "images.h"
Adafruit_PCD8544 display = Adafruit_PCD8544(13, 11, 8, 7, 9);
void setup() {
display.begin();
display.setContrast(50);
display.clearDisplay();
}
void loop() {
display.clearDisplay();
display.drawBitmap(0, 0, Face, 84, 48, 1);
display.display();
delay(300);
display.clearDisplay();
}
B. Wrong display coordinate
C. Wrong target datatype
D. Incorrect parenthesis