Dear Froum,
I have an issue with a code i have implemented with ai to make output the text of the 6502 emulator on the oled display of the arduino uno sensor kit base, i get the signal but the screen have all garbage on it scrolling on the oled. This is the code if anyone can help correcting this problem, i thought it was screen resolution problem but i have to check:
#include <Arduino_SensorKit.h>
void setup() {
Serial.begin(9600);
Oled.begin();
Oled.setFlipMode(true); // Imposta la rotazione dello schermo
Oled.setFont(u8x8_font_chroma48medium8_r); // Imposta il font
}
void loop() {
if (Serial.available() > 0) {
String receivedLine = Serial.readStringUntil('\n'); // Leggi una riga dalla porta seriale
Oled.clearDisplay(); // Cancella il display
Oled.setCursor(0, 0); // Imposta la posizione del cursore sul display
Oled.print(receivedLine); // Stampa la riga sul display
Oled.refreshDisplay(); // Aggiorna il display per visualizzare le modifiche
}
}
Now i realize i sizeured the ram to 1000kb instead of 1512 to make it fit arduino uno r3 so basic dont works correctly. I have to try with an arduino with more ram.