Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 284 Bytes
#include <EVShield.h>
#include <EVs_UIModule.h>
EVShield ev = EVShield();
EVs_UIModule uim = EVs_UIModule();
void setup() {
ev.init();
uim.begin();
uim.clearScreen();
}
void loop() {
uint16_t x, y;
ev.getTouchscreenValues(&x, &y);
uim.drawPixel(x, y, EVs_UIM_WHITE);
}