cpp started

This commit is contained in:
olikraus 2015-12-06 22:48:57 +01:00
parent 4ca94e2df8
commit a91a19ca69
2 changed files with 31 additions and 0 deletions

2
cppsrc/U8x8lib.cpp Normal file
View File

@ -0,0 +1,2 @@

29
cppsrc/U8x8lib.h Normal file
View File

@ -0,0 +1,29 @@
#ifndef _U8X8LIB_HH
#define _U8X8LIB_HH
#include <Arduino.h>
#include <Print.h>
#include "u8x8.h"
class U8x8 : public Print
{
protected:
u8x8_t u8x8;
public:
U8x8(void) {}
ucg_t *getU8x8(void) { return &u8x8; };
}
class U8x8_4W_SW_SPI : public U8x8
{
}
#endif /* _U8X8LIB_HH */