Browse Source

Welcome message on serial device

Wilfried Klaas 6 years ago
parent
commit
396eb03c35
1 changed files with 6 additions and 0 deletions
  1. 6 0
      SPS/serialprg.ino

+ 6 - 0
SPS/serialprg.ino

@@ -25,6 +25,12 @@ void serialPrg() {
   Serial.end();
   Serial.begin(BAUDRATE);
   Serial.println();
+#ifdef __AVR_ATtiny84__
+  Serial.println("TinySPS");
+#endif
+#ifdef __AVR_ATmega328P__
+  Serial.println("ArduinoSPS");
+#endif
   Serial.println("waiting for command:");
   Serial.println("w: write HEX file, r: read EPPROM, e: end");
   while (!endOfPrg) {