many changes :Py
This commit is contained in:
6
io/IO.h
6
io/IO.h
@@ -1,6 +1,8 @@
|
||||
#ifndef IO_H
|
||||
#define IO_H
|
||||
|
||||
#include "../Platforms.h"
|
||||
|
||||
// http://www.electrodragon.com/w/ESP8266_IoT_Firmware
|
||||
// https://esp8266.ru/esp8266-pin-register-strapping/
|
||||
// http://www.limpkin.fr/index.php?post/2014/12/07/First-Steps-with-the-ESP8266-03-Development-Board
|
||||
@@ -70,8 +72,8 @@ public:
|
||||
GPIO2_OUTPUT_SET;
|
||||
if (on) {GPIO2_H;} else {GPIO2_L;}
|
||||
#elif PLATFORM == NODE_MCU
|
||||
GPIO16_OUTPUT_SET;
|
||||
if (on) {GPIO16_H;} else {GPIO16_L;}
|
||||
//GPIO16_OUTPUT_SET;
|
||||
//if (on) {GPIO16_H;} else {GPIO16_L;}
|
||||
GPIO2_OUTPUT_SET;
|
||||
if (on) {GPIO2_H;} else {GPIO2_L;}
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user