Current test suit

This commit is contained in:
2026-05-16 18:51:12 +02:00
parent c9100ea957
commit b2762feb57
604 changed files with 101539 additions and 0 deletions
@@ -0,0 +1,43 @@
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_IS31FL3731.h>
// If you're using the full breakout...
Adafruit_IS31FL3731 ledmatrix = Adafruit_IS31FL3731();
// If you're using the FeatherWing version
//Adafruit_IS31FL3731_Wing ledmatrix = Adafruit_IS31FL3731_Wing();
void setup() {
Serial.begin(9600);
Serial.println("ISSI manual animation test");
if (! ledmatrix.begin()) {
Serial.println("IS31 not found");
while (1);
}
Serial.println("IS31 Found!");
ledmatrix.setTextWrap(false);
ledmatrix.setTextColor(64); // quarter brightness
ledmatrix.setTextSize(1);
// fill all 8 frames with some text
for (uint8_t frame = 0; frame < 8; frame++) {
ledmatrix.setFrame(frame);
ledmatrix.clear();
ledmatrix.setCursor(0,0);
ledmatrix.write('a'+frame*3);
ledmatrix.write('b'+frame*3);
ledmatrix.write('c'+frame*3);
}
}
int x = 0;
void loop() {
// display each frame for 250 milliseconds
for (uint8_t frame = 0; frame < 8; frame++) {
ledmatrix.displayFrame(frame);
delay(250);
}
}