I'm having a compiling issue with TinyDebugSerial
I have searched the forums but can't seem to find the answer (this was the closest,
http://arduino.cc/forum/index.php/topic,123388.0.html)
I can get the SoftwareSerial working fine but I can't get TinyDebugSerial to compile.
The error is
tiny_serial:5: error: 'TinyDebugSerial' does not name a type
tiny_serial.cpp: In function 'void setup()':
tiny_serial:9: error: 'mySerial' was not declared in this scope
tiny_serial.cpp: In function 'void loop()':
tiny_serial:15: error: 'mySerial' was not declared in this scope
tiny_serial.cpp: At global scope:
tiny_serial:20: error: function definition does not declare parameters
I have the arduino tiny library installed under hardware and TinyDebugSerial.h is in there
I'm convinced this an error on my MAC rather than an arduino issue.
Can anyone confirm if this compiles please.
The code is this.
#include <TinyDebugSerial.h>
// Definitions
#define rxPin 2
#define txPin 0
TinyDebugSerial mySerial = TinyDebugSerial();
void setup()
{
mySerial.begin(9600);
}
void loop()
{
mySerial.print("test");
delay(1000);
}