Axiometa
IPS LCD (0.96)
IPS LCD (0.96)
SKU:AX22-0034
58 in stock
Regular price
$7.99
Regular price
Sale price
$7.99
Unit price
per
Taxes included.
Shipping calculated at checkout.
Couldn't load pickup availability

Technical Details
Pinout
Arduino Example Snippet
#include <Adafruit_GFX.h>
#include <Adafruit_ST7735.h>
#include <SPI.h>
#define TFT_CS 1
#define TFT_RST 14
#define TFT_DC 41
#define TFT_MOSI 11
#define TFT_SCLK 13
SPIClass mySPI(FSPI);
Adafruit_ST7735 tft = Adafruit_ST7735(&mySPI, TFT_CS, TFT_DC, TFT_RST);
// Rainbow colors
const uint16_t colors[] = {
ST77XX_RED, ST77XX_ORANGE, ST77XX_YELLOW,
ST77XX_GREEN, ST77XX_CYAN, ST77XX_BLUE, ST77XX_MAGENTA
};
int colorIndex = 0;
int starCount = 20;
int starX[20], starY[20], starSpeed[20];
void setup() {
mySPI.begin(TFT_SCLK, -1, TFT_MOSI);
tft.initR(INITR_MINI160x80);
tft.setRotation(3);
// Initialize stars
for(int i = 0; i < starCount; i++) {
starX[i] = random(160);
starY[i] = random(80);
starSpeed[i] = random(1, 4);
}
}
void loop() {
// Animated starfield background
tft.fillScreen(ST77XX_BLACK);
for(int i = 0; i < starCount; i++) {
tft.drawPixel(starX[i], starY[i], ST77XX_WHITE);
starX[i] += starSpeed[i];
if(starX[i] > 160) {
starX[i] = 0;
starY[i] = random(80);
}
}
// Pulsing text effect
int pulse = (millis() / 100) % 20;
int textSize = 2 + (pulse > 10 ? 20 - pulse : pulse) / 10;
// Rainbow cycling text
tft.setTextColor(colors[colorIndex]);
tft.setTextSize(textSize);
tft.setCursor(30, 25);
tft.print("Hello!");
tft.setTextColor(colors[(colorIndex + 3) % 7]);
tft.setTextSize(2);
tft.setCursor(30, 50);
tft.print("Axiometa");
// Cycle through rainbow
if(millis() % 500 < 50) {
colorIndex = (colorIndex + 1) % 7;
}
delay(50);
}