I started to attempt to use NewSoftSerial for interfacing with the iPod. I have inserted this:
#define rxPin 6
#define txPin 7
NewSoftSerial nss(rxPin, txPin);
static const char *STATE_NAME =
"Waiting for Header 1",
"Waiting for Header 2",
"Waiting for length",
"Waiting for data",
"Waiting for checksum"
pDebugPrint(0), // default to no debug, since most Arduinos don't have a spare serial to use for debug
pLogPrint(0) // default to no log, since most Arduinos don't have a spare serial to use for debug
A couple of things puzzle me first if I use #include <NewSoftSerial.h> I get a file not found error. Can someone explain what the difference between " " and <> for including files.
Second if I use #include "NewSoftSerial.h" I get this error:
error: cannot convert 'NewSoftSerial' to 'HardwareSerial*' in initialization
Does anyone have any insight?
Thank you very much,