Help! Ardunio uno r3 with oled display from sensorkit 6502 Emulator screen garbage

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:

i publish a link to the code because the code is too long to add here and the chat will be confused, the emulator is in the first post. https://forum.arduino.cc/t/arduino-6502-emulator-basic-interpreter/188328

You defined the address or size of the OLED, or the data in the screen buffer incorrectly.

Not true if you follow the rules.

You should take all AI problems to AI.

now i have text on screen but basic dont work.

#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.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.