//#include <TFT_ILI9341.h>
#include <Adafruit_ILI9341.h>
Adafruit_ILI9341 tft;
void setup() {
tft.begin();
tft.setRotation(2);
tft.fillScreen(TFT_BLACK);
}
void loop() {
for (int i = 0; i < 6; i++) {
for (int j = 0; j < 8; j++) {
float h = i / 8.0;
float s = j / 10.0;
float v = 1.0;
uint32_t color = tft.color565(colorsys::hsv_to_rgb(h, s, v));
tft.drawCircle(200 - j * 8, 120, 45, color);
}
}
delay(1000);
}