Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
Boards.h
1 /****
2  * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development.
3  * Created 2015 by Skurydin Alexey
4  * http://github.com/anakod/Sming
5  * All files of the Sming Core are provided under the LGPL v3 license.
6  ****/
7 
8 #ifndef _SMING_CORE_BOARDS_H_
9 #define _SMING_CORE_BOARDS_H_
10 
11 #include "../SmingCore/ESP8266EX.h"
12 
13 // BETA state. Will be rewritten with new interface.
15 
16 #ifdef BOARD_ESP01
17 
19 {
20 public:
21  EspDigitalPin gpio0 = EspDigitalPins[0];
22  EspDigitalPin gpio2 = EspDigitalPins[2];
23  EspDigitalPin tx = EspDigitalPins[1];
24  EspDigitalPin rx = EspDigitalPins[3];
25 };
26 
27 static ESP01_Description ESP01;
28 
29 #endif
30 
31 #endif /* _SMING_CORE_BOARDS_H_ */
Definition: Boards.h:18
ESP GPIO pin configuration.
Definition: ESP8266EX.h:26