diff --git a/inos/v1/v1.ino b/inos/Smart-Watch.ino similarity index 100% rename from inos/v1/v1.ino rename to inos/Smart-Watch.ino diff --git a/inos/text|collor_sketch/collor_sketch.ino b/inos/text|collor_sketch/collor_sketch.ino deleted file mode 100644 index 20bfc10..0000000 --- a/inos/text|collor_sketch/collor_sketch.ino +++ /dev/null @@ -1,30 +0,0 @@ -#include -#include -#include - -#define TFT_DC D7 -#define TFT_RST D9 - -Arduino_DataBus *bus = new Arduino_HWSPI(TFT_DC, -1); -Arduino_GFX *gfx = new Arduino_ST7789(bus, TFT_RST, 0, true, 240, 240, 0, 0); - -void setup() { - gfx->begin(); - - gfx->fillScreen(ST77XX_GREEN); - - gfx->setTextColor(ST77XX_BLACK); - -} - -void loop() { - // put your main code here, to run repeatedly: - drawText(20, 10, 8, "HALLO"); delay(2000); - drawText(20, 50, 8, "WORLD"); delay(2000); -} - -void drawText(int width, int hight,int size, const char* text) { - gfx->setCursor(width, hight); - gfx->setTextSize(size); - gfx->println(text); -}