2014-06-30 19:19:39 +02:00
|
|
|
/*
|
|
|
|
* Arduino JSON library
|
|
|
|
* Benoit Blanchon 2014 - MIT License
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2014-07-01 14:08:15 +02:00
|
|
|
#ifndef ARDUINO
|
|
|
|
|
|
|
|
typedef unsigned char uint8_t;
|
|
|
|
|
2014-07-01 13:36:22 +02:00
|
|
|
class Print
|
2014-06-30 19:19:39 +02:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
2014-07-01 14:08:15 +02:00
|
|
|
virtual size_t write(uint8_t c) = 0;
|
|
|
|
|
2014-07-03 12:55:53 +02:00
|
|
|
size_t write(const char* s);
|
2014-06-30 19:19:39 +02:00
|
|
|
};
|
|
|
|
|
2014-07-01 14:08:15 +02:00
|
|
|
#else
|
|
|
|
|
|
|
|
#include <Print.h>
|
|
|
|
|
|
|
|
#endif
|