brunohorta82 / EasyIot

Firmware Oficial OnOfre
https://onofre.store
MIT License
30 stars 16 forks source link

Dev - Esp12 error #81

Closed nikito7 closed 9 months ago

nikito7 commented 10 months ago
Compiling .pio\build\ESP12\src\Sensors.cpp.o
Compiling .pio\build\ESP12\src\Shutters.cpp.o
src\Sensors.cpp: In member function 'void SensorT::setup()':
src\Sensors.cpp:41:10: error: 'class TwoWire' has no member named 'setPins'
   41 |     Wire.setPins(13, 14);
      |          ^~~~~~~
src\Sensors.cpp:60:17: error: 'primaryGpio' was not declared in this scope
   60 |     Serial.pins(primaryGpio, secondaryGpio);
      |                 ^~~~~~~~~~~
src\Sensors.cpp:60:30: error: 'secondaryGpio' was not declared in this scope
   60 |     Serial.pins(primaryGpio, secondaryGpio);
      |                              ^~~~~~~~~~~~~
src\Sensors.cpp:68:52: error: 'primaryGpio' was not declared in this scope
   68 |     SoftwareSerial softwareSerial = SoftwareSerial(primaryGpio, secondaryGpio);
      |                                                    ^~~~~~~~~~~
src\Sensors.cpp:68:65: error: 'secondaryGpio' was not declared in this scope
   68 |     SoftwareSerial softwareSerial = SoftwareSerial(primaryGpio, secondaryGpio);
      |                                                                 ^~~~~~~~~~~~~
*** [.pio\build\ESP12\src\Sensors.cpp.o] Error 1
==================== [FAILED] Took 132.89 seconds ====================

Environment    Status    Duration
-------------  --------  ------------
ESP12          FAILED    00:02:12.886
=============== 1 failed, 0 succeeded in 00:02:12.886 ===============
nikito7 commented 9 months ago

Aparentemente resolvido