YES
This commit is contained in:
parent
9a5d6523be
commit
6cd0db3a12
@ -12,8 +12,8 @@
|
|||||||
#define WRITE 2
|
#define WRITE 2
|
||||||
|
|
||||||
char count = 0;
|
char count = 0;
|
||||||
char delayAmount = 100;
|
unsigned short delayAmount = 100;
|
||||||
char textToSent[] = "Test!";
|
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;
|
char mode;
|
||||||
|
|
||||||
@ -89,14 +89,20 @@ void send4Bit(char c) {
|
|||||||
digitalWrite(i+2, d);
|
digitalWrite(i+2, d);
|
||||||
}
|
}
|
||||||
Serial.print(" ");
|
Serial.print(" ");
|
||||||
|
|
||||||
|
delay(delayAmount);
|
||||||
|
|
||||||
digitalWrite(AR, HIGH);
|
digitalWrite(AR, HIGH);
|
||||||
|
|
||||||
while (digitalRead(CR) == LOW) {}
|
// while (digitalRead(CR) == LOW) {}
|
||||||
|
// while (digitalRead(CR) == HIGH) {}
|
||||||
|
|
||||||
|
delay(delayAmount);
|
||||||
|
|
||||||
while (digitalRead(CR) == HIGH) {}
|
|
||||||
digitalWrite(AR, LOW);
|
digitalWrite(AR, LOW);
|
||||||
|
|
||||||
//delay(500);
|
delay(delayAmount);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void sendByte(char a, char byte) {
|
void sendByte(char a, char byte) {
|
||||||
@ -151,6 +157,6 @@ void loop() {
|
|||||||
|
|
||||||
Serial.print("\nAAAAAAAA\n");
|
Serial.print("\nAAAAAAAA\n");
|
||||||
|
|
||||||
delay(20000);
|
delay(1000);
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user