diff --git a/txx.uo/txx.ino b/txx.uo/txx.ino index b8024ea..868d211 100644 --- a/txx.uo/txx.ino +++ b/txx.uo/txx.ino @@ -47,7 +47,7 @@ void readCard() { } //Show UID on serial monitor - Serial.print("UID tag :"); + Serial.print(" --- - "); String content = ""; // for tag + sound String binary = ""; // for binary + LED @@ -98,7 +98,7 @@ void readCard() { } for (int b = 0; b < mfrc522.uid.size; b++) { - Serial.println(mfrc522.uid.uidByte[b], BIN); + // Serial.println(mfrc522.uid.uidByte[b], BIN); char r = mfrc522.uid.uidByte[b]; for (int j = 8; j >= 0; j--) { @@ -122,45 +122,45 @@ void readCard() { const char *Qs[] = { "", "", - "QRB?:How far are you from my station?", - "QRL?:Are you busy?", - "QRZ?:Who is calling me?", - "QRH?:Does my frequency vary?", - "QRI?:How is the tone of my transmission?", - "QRK?:What is the readability of my signals?", - "QRM?:Do you have interference?", - "QRN?:Are you troubled by static noise?", - "QRQ?:Shall I send faster?", - "QRT?:Shall I cease or suspend operation?", - "QRU?:Have you anything for me?", - "QRV?:Are you ready?", - "QRX?:Shall I standby?", - "QSA?:What is the strength of my signals?", - "QSB?:Are my signals fading?", - "QSD?:Is my keying defective?", - "QSL?:Can you acknowledge receipt?" + "QRB? `- how far are you from my station?", + "QRL? `- are you busy?", + "QRZ? `- who is calling me?", + "QRH? `- does my frequency vary?", + "QRI? `- how is the tone of my transmission?", + "QRK? `- what is the readability of my signals?", + "QRM? `- do you have interference?", + "QRN? `- are you troubled by static noise?", + "QRQ? `- shall I send faster?", + "QRT? `- shall I cease or suspend operation?", + "QRU? `- have you anything for me?", + "QRV? `- are you ready?", + "QRX? `- shall I standby?", + "QSA? `- what is the strength of my signals?", + "QSB? `- are my signals fading?", + "QSD? `- is my keying defective?", + "QSL? `- can you acknowledge receipt?" }; //Q-code answers/statements const char *As[] = { - "QRH:Your frequency varies.", - "QRL:I am busy. Please do not interfere.", - "QRM:I have interference.", - "QRM:I am troubled by static noise.", - "QRO:Please increase transmit power.", - "QRQ:Please send faster.", - "QRS:Please send more slowly", - "QRT:I am suspending operation.", - "QRU:I have nothing for you.", - "QRV:I am ready.", - "QRX:Please standby.", - "QSB:Your signals are fading.", - "QSD:Your keying is defective.", - "QSK:I can hear you between my signals (while transmitting); break in on my transmission.", - "QSL:I am acknowledging receipt.", - "QSM:Repeat the last telegram which you sent me", - "QSY:Please change transmission frequency.", - "QSZ:Send each word or group twice." + "QRH -/ your frequency varies.", + "QRL -/ i am busy. please do not interfere.", + "QRM -/ i have interference.", + "QRM -/ i am troubled by static noise.", + "QRO -/ please increase transmit power.", + "QRQ -/ please send faster.", + "QRS -/ please send more slowly", + "QRT -/ i am suspending operation.", + "QRU -/ i have nothing for you.", + "QRV -/ i am ready.", + "QRX -/ please standby.", + "QSB -/ your signals are fading.", + "QSD -/ your keying is defective.", + "QSK -/ i can hear you between my signals [while transmitting]; break in on my transmission.", + "QSL -/ i am acknowledging receipt.", + "QSM -/ repeat the last telegram which you sent me", + "QSY -/ please change transmission frequency.", + "QSZ -/ send each word or group twice." }; void loop() { @@ -187,7 +187,7 @@ void loop() { char c = specQs[a]; //Serial.print(c); //Serial.print(" "); - Serial.print(specQs[a], BIN); + //Serial.print(specQs[a], BIN); //Serial.println(); // sonify the bits... @@ -219,4 +219,4 @@ void loop() { } } delay(500); -} +} \ No newline at end of file