Hi all --
I'm trying to inherit the Yun's Console class in a library that I'm writing.
#ifndef YUNMESSENGER_H
#define YUNMESSENGER_H
#include <Bridge.h>
#include <Console.h>
#include "Arduino.h"
class Messenger : public Console {
public:
Messenger();
using Console::print;
};
#endif
When I compile this, I get the following errors:
YunMessenger.h:8: error: expected class-name before '{' token
YunMessenger.h:11: error: 'Console' is not a class or namespace
Is it possible to inherit the Console object?
Thanks a bunch!