Arduino-Makefile/examples/TinySoftWareSerial/TinySoftwareSerial.ino
Sudar 2b75a0ddb4 Add Tiny SoftwareSerial example
This example shows how to use softwareSerial in a ATtiny device using
the ATtiny core
2013-06-22 15:35:01 +05:30

12 lines
183 B
C++

#include <SoftwareSerial.h>
SoftwareSerial mySerial(3, 4); // RX, TX
void setup() {
mySerial.begin(9600);
}
void loop() {
mySerial.println(millis());
delay(1000);
}