Changed #include <WConstants.h> in EEPROM library to #include <Arduino.h> for 1.0

This commit is contained in:
Tom Igoe 2011-05-02 21:47:28 -04:00
parent 059bc5f022
commit 5019566593
1 changed files with 0 additions and 21 deletions

View File

@ -1,21 +0,0 @@
#include <SoftwareSerial.h>
SoftwareSerial mySerial(2, 3);
void setup()
{
Serial.begin(57600);
Serial.println("Goodnight moon!");
// set the data rate for the SoftwareSerial port
mySerial.begin(4800);
mySerial.println("Hello, world?");
}
void loop() // run over and over
{
if (mySerial.available())
Serial.print((char)mySerial.read());
if (Serial.available())
mySerial.print((char)Serial.read());
}