source: rtos_arduino/trunk/arduino_lib/libraries/Ciao/src/lib/Wifi.h@ 175

Last change on this file since 175 was 175, checked in by ertl-honda, 8 years ago

ライブラリを Arduino IDE 1.7.9 にupdate

File size: 585 bytes
Line 
1#ifndef WIFI_H_
2#define WIFI_H_
3
4#include <Arduino.h>
5
6#include <Stream.h>
7#include "crc16.h"
8//#include <mqtt.h>
9#include "rest.h"
10#include "espduino.h"
11#include "ringbuf.h"
12#include "FP.h"
13#include <string.h>
14
15#ifdef __AVR_ATmega328P__
16
17//#else
18
19#include "SC16IS750.h"
20
21class WifiClass {
22
23 public:
24 void begin();
25
26 void print(String str);
27 void println(String str);
28 int read();
29
30 WifiData stream();
31
32 boolean available();
33 boolean connected();
34
35 void connect(char* , char*);
36
37 void powerON();
38 void powerOFF();
39
40};
41
42extern WifiClass Wifi;
43
44#endif
45
46
47#endif /* WIFI_H_ */
Note: See TracBrowser for help on using the repository browser.