2019-05-11 16:20:53 +02:00
|
|
|
|
|
|
|
#ifndef PatternTest_H
|
|
|
|
#define PatternTest_H
|
|
|
|
|
|
|
|
class PatternTest : public Drawable {
|
|
|
|
private:
|
|
|
|
|
|
|
|
public:
|
|
|
|
PatternTest() {
|
|
|
|
name = (char *)"Test Pattern";
|
|
|
|
}
|
|
|
|
|
|
|
|
unsigned int drawFrame() {
|
|
|
|
|
2021-08-17 16:13:11 +02:00
|
|
|
dma_display->fillScreen(dma_display->color565(128, 0, 0));
|
2020-12-01 17:28:17 +01:00
|
|
|
return 1000;
|
2019-05-11 16:20:53 +02:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|