From 6cd0db3a127d1723f494281c4346042d972359d5 Mon Sep 17 00:00:00 2001 From: chris Date: Sun, 28 Sep 2025 13:25:25 +0200 Subject: [PATCH] YES --- nano/nano_c64/src/main.cpp | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/nano/nano_c64/src/main.cpp b/nano/nano_c64/src/main.cpp index a2d67d8..03b19cc 100644 --- a/nano/nano_c64/src/main.cpp +++ b/nano/nano_c64/src/main.cpp @@ -12,8 +12,8 @@ #define WRITE 2 char count = 0; -char delayAmount = 100; -char textToSent[] = "Test!"; +unsigned short delayAmount = 100; +char textToSent[] = "The Commodore 64, also known as the C64, is an 8-bit home computer introduced in January 1982 by Commodore International. It has been listed in the Guinness World Records as the best-selling desktop computer model of all time, with independent estimates placing the number sold between 12.5 and 17 million units."; char mode; @@ -89,14 +89,20 @@ void send4Bit(char c) { digitalWrite(i+2, d); } Serial.print(" "); + + delay(delayAmount); + digitalWrite(AR, HIGH); - while (digitalRead(CR) == LOW) {} + // while (digitalRead(CR) == LOW) {} + // while (digitalRead(CR) == HIGH) {} + + delay(delayAmount); - while (digitalRead(CR) == HIGH) {} digitalWrite(AR, LOW); - //delay(500); + delay(delayAmount); + } void sendByte(char a, char byte) { @@ -151,6 +157,6 @@ void loop() { Serial.print("\nAAAAAAAA\n"); - delay(20000); + delay(1000); } \ No newline at end of file