#include // *** // *** Define the RX and TX pins. Choose any two // *** pins that are unused. Try to avoid D0 (pin 5) // *** and D2 (pin 7) if you plan to use I2C. // *** #define RX A0 // *** D3, Pin 2 #define TX A1 // *** D4, Pin 3 // *** // *** Define the software based serial port. Using the // *** name Serial so that code can be used on other // *** platforms that support hardware based serial. On // *** chips that support the hardware serial, just // *** comment this line. // *** SoftwareSerial mySerial(RX, TX); void setup() { mySerial.begin(9600); } /* void loop() { Serial.print(177); delay(500); }*/ void loop() { for (int i=0; i<100; i++) { mySerial.println(i); delay(500); } }