diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-01-18 18:02:10 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-01-18 18:02:10 +0000 |
| commit | 8c3efb592b16b672fc353368c04d88d3a32cf1a2 (patch) | |
| tree | 9cf4887292432c656651012c5370009b4a69cddf /arduino_libs/NewSoftSerial/Examples/NewSoftSerialTest | |
| parent | fe92239d966f0219e8b7caf6335a776938b4e0e3 (diff) | |
Diffstat (limited to 'arduino_libs/NewSoftSerial/Examples/NewSoftSerialTest')
| -rw-r--r-- | arduino_libs/NewSoftSerial/Examples/NewSoftSerialTest/NewSoftSerialTest.pde | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/arduino_libs/NewSoftSerial/Examples/NewSoftSerialTest/NewSoftSerialTest.pde b/arduino_libs/NewSoftSerial/Examples/NewSoftSerialTest/NewSoftSerialTest.pde deleted file mode 100644 index 0d9e815..0000000 --- a/arduino_libs/NewSoftSerial/Examples/NewSoftSerialTest/NewSoftSerialTest.pde +++ /dev/null @@ -1,25 +0,0 @@ -
-#include <NewSoftSerial.h>
-
-NewSoftSerial mySerial(2, 3);
-
-void setup()
-{
- Serial.begin(57600);
- Serial.println("Goodnight moon!");
-
- // set the data rate for the NewSoftSerial port
- mySerial.begin(4800);
- mySerial.println("Hello, world?");
-}
-
-void loop() // run over and over again
-{
-
- if (mySerial.available()) {
- Serial.print((char)mySerial.read());
- }
- if (Serial.available()) {
- mySerial.print((char)Serial.read());
- }
-}
|
