- Wed Jan 05, 2011 4:35 pm
#116712
I'm using Arduino Duemilanove board and openLog. On the product description it says that it's as simple as plug it in and it will log anything that's send to the serial.. But it does nothing for me when I run this simple code below. The card is completely empty. What exactly is needed to be done in order to get this thing to work? Looking through a lot of different forums a lot of people seem to have problems and any of their solutions wont work for me..
Code: Select all
#include <NewSoftSerial.h>
NewSoftSerial mySerial = NewSoftSerial(1, 0);
void setup() {
Serial.begin(9600);
mySerial.begin(9600);
// Openlog RXI pin -> Ard 3, Openlog TXO -> Ard 2
}
void loop() {
Serial.println("This is a test line of text.");
mySerial.println("This is a test line of text.");
delay(5000); // wait 5 seconds
}