Aktualizacja SuplaDevice

daniel
Posty: 34
Rejestracja: czw lut 15, 2018 7:29 am

Kod: Zaznacz cały

SuplaImpulseCounter - channel(4), impulsePin(35), counter(1)
W onTimer() Serial.print nadal nie działa, nie wiem czy działa licznik. Jutro coś podłączę.
Póki co dzięki wielkie za zaangażowanie.
Awatar użytkownika
klew
Posty: 8263
Rejestracja: czw cze 27, 2019 12:16 pm
Lokalizacja: Wrocław

daniel pisze: czw mar 19, 2020 9:09 pm

Kod: Zaznacz cały

SuplaImpulseCounter - channel(4), impulsePin(35), counter(1)
W onTimer() Serial.print nadal nie działa, nie wiem czy działa licznik. Jutro coś podłączę.
Póki co dzięki wielkie za zaangażowanie.
Ok, nie dodałem odpalania tych metod przy timerze. Wieczorem to dorzucę i powinno działać
Widzimy się na Supla Offline Party vol. 2 :!:
daniel
Posty: 34
Rejestracja: czw lut 15, 2018 7:29 am

No i oczywiście działa. :D Dzięki!
bigthomas
Posty: 234
Rejestracja: pn sie 12, 2019 3:35 pm

Pobrałem najnowszą bibliotekę z git'a.
I mam problem przy kompilacji:

Kod: Zaznacz cały

Arduino:1.8.12 (Windows 7), Płytka:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200, 4M (3M SPIFFS)"

<command-line>:0:9: error: expected unqualified-id before numeric constant

C:\Users\...\AppData\Local\Temp\arduino_modified_sketch_641495\Supla_DallasTemperature.ino:39:1: note: in expansion of macro 'ESP8266'

 ESP8266 based board:

 ^

In file included from c:\users\...\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\typeinfo:34:0,

                 from c:\users\...\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\functional:53,

                 from C:\Users\...\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:27,

                 from C:\Users\...\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,

                 from C:\Users\...\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,

                 from C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src/supla/network/esp_wifi.h:21,

                 from C:\Users\...\AppData\Local\Temp\arduino_modified_sketch_641495\Supla_DallasTemperature.ino:40:

c:\users\...\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\exception:35:37: error: expected declaration before end of line

 #pragma GCC visibility push(default)

                                     ^

exit status 1
Błąd kompilacji dla płytki NodeMCU 1.0 (ESP-12E Module).

Ten raport powinien zawierać więcej informacji jeśli w 
File -> Preferencje zostanie włączona opcja "Pokaż
szczegółowe informacje podczas kompilacji"
Próbuje skompilować przykład załączony przy bibliotece:

Kod: Zaznacz cały

/*
  Copyright (C) AC SOFTWARE SP. Z O.O.

  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version 2
  of the License, or (at your option) any later version.
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/

#include <SPI.h>
#include <SuplaDevice.h>

/*
   This example requires Dallas Temperature Control library installed.
   https://github.com/milesburton/Arduino-Temperature-Control-Library
*/
// Add include to DS sensor
#include <supla/sensor/DS18B20.h>


// Choose proper network interface for your card:
// Arduino Mega with EthernetShield W5100:
//#include <supla/network/ethernet_shield.h>
//// Ethernet MAC address
//uint8_t mac[6] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05};
//Supla::EthernetShield ethernet(mac);
//
// Arduino Mega with ENC28J60:
// #include <supla/network/ENC28J60.h>
// Supla::ENC28J60 ethernet(mac);
//
ESP8266 based board:
#include <supla/network/esp_wifi.h>
Supla::ESPWifi wifi("your_wifi_ssid", "your_wifi_password");
//
// ESP32 based board:
// #include <supla/network/esp32_wifi.h>
// Supla::ESP32Wifi wifi("your_wifi_ssid", "your_wifi_password");

void setup() {

  Serial.begin(9600);

  // Replace the falowing GUID with value that you can retrieve from https://www.supla.org/arduino/get-guid
  char GUID[SUPLA_GUID_SIZE] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};

  // Replace the following AUTHKEY with value that you can retrieve from: https://www.supla.org/arduino/get-authkey
  char AUTHKEY[SUPLA_AUTHKEY_SIZE] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};

  /*
     Having your device already registered at cloud.supla.org,
     you want to change CHANNEL sequence or remove any of them,
     then you must also remove the device itself from cloud.supla.org.
     Otherwise you will get "Channel conflict!" error.
  */

  // CHANNEL0 - RELAY
  SuplaDevice.addRelay(44, true);           // 44 - Pin number where the relay is connected
  // Call SuplaDevice.addRelay(44, true) with an extra "true" parameter
  // to enable "port value inversion"
  // where HIGH == LOW, and LOW == HIGH

  // CHANNEL1 - RELAY
  SuplaDevice.addRelay(45, true);           // 45 - Pin number where the relay is connected

  // CHANNEL3 - TWO RELAYS (Roller shutter operation)
  SuplaDevice.addRollerShutterRelays(46,     // 46 - Pin number where the 1st relay is connected
                                     47, true);    // 47 - Pin number where the 2nd relay is connected


  // CHANNEL6-9 - Thermometer DS18B20
  // 4 DS18B20 thermometers at pin 23. DS address can be omitted when there is only one device at a pin
  DeviceAddress ds1addr = {0x28, 0xFF, 0xC8, 0xAB, 0x6E, 0x18, 0x01, 0xFC};
  DeviceAddress ds2addr = {0x28, 0xFF, 0x54, 0x73, 0x6E, 0x18, 0x01, 0x77};
  DeviceAddress ds3addr = {0x28, 0xFF, 0x55, 0xCA, 0x6B, 0x18, 0x01, 0x8D};
  DeviceAddress ds4addr = {0x28, 0xFF, 0x4F, 0xAB, 0x6E, 0x18, 0x01, 0x66};

  new Supla::Sensor::DS18B20(23, ds1addr);
  new Supla::Sensor::DS18B20(23, ds2addr);
  new Supla::Sensor::DS18B20(23, ds3addr);
  new Supla::Sensor::DS18B20(23, ds4addr);


  /*
     SuplaDevice Initialization.
     Server address, LocationID and LocationPassword are available at https://cloud.supla.org
     If you do not have an account, you can create it at https://cloud.supla.org/account/create
     SUPLA and SUPLA CLOUD are free of charge

  */

  SuplaDevice.begin(GUID,              // Global Unique Identifier
                    "svr1.supla.org",  // SUPLA server address
                    "email@address",   // Email address used to login to Supla Cloud
                    AUTHKEY);          // Authorization key

}

void loop() {
  SuplaDevice.iterate();
}
Ustawiłem środowisko ArduinoIDE od nowa wszystko, ale błąd ten sam.
Poprzednia bibliotekę którą miałem i skrypty mi działają bez problemów.
Awatar użytkownika
klew
Posty: 8263
Rejestracja: czw cze 27, 2019 12:16 pm
Lokalizacja: Wrocław

bigthomas pisze: wt kwie 14, 2020 8:30 am
Ustawiłem środowisko ArduinoIDE od nowa wszystko, ale błąd ten sam.
Poprzednia bibliotekę którą miałem i skrypty mi działają bez problemów.
Zakomentuj tą linijkę:

Kod: Zaznacz cały

ESP8266 based board:
Widzimy się na Supla Offline Party vol. 2 :!:
bigthomas
Posty: 234
Rejestracja: pn sie 12, 2019 3:35 pm

klew pisze: wt kwie 14, 2020 8:41 am
bigthomas pisze: wt kwie 14, 2020 8:30 am
Ustawiłem środowisko ArduinoIDE od nowa wszystko, ale błąd ten sam.
Poprzednia bibliotekę którą miałem i skrypty mi działają bez problemów.
Zakomentuj tą linijkę:

Kod: Zaznacz cały

ESP8266 based board:
Teraz mam to:

Kod: Zaznacz cały

Arduino:1.8.12 (Windows 7), Płytka:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200, 4M (3M SPIFFS)"

In file included from C:\Users\...\AppData\Local\Temp\arduino_modified_sketch_523362\Supla_DallasTemperature.ino:40:0:

C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src/supla/network/esp_wifi.h: In member function 'virtual int Supla::ESPWifi::connect(const char*, int)':

C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src/supla/network/esp_wifi.h:87:41: error: 'class WiFiClientSecure' has no member named 'setFingerprint'

           ((WiFiClientSecure *)client)->setFingerprint(fingerprint.c_str());

                                         ^

C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src/supla/network/esp_wifi.h:90:41: error: 'class WiFiClientSecure' has no member named 'setInsecure'

           ((WiFiClientSecure *)client)->setInsecure();

                                         ^

exit status 1
Błąd kompilacji dla płytki NodeMCU 1.0 (ESP-12E Module).

Ten raport powinien zawierać więcej informacji jeśli w 
File -> Preferencje zostanie włączona opcja "Pokaż
szczegółowe informacje podczas kompilacji"
Awatar użytkownika
klew
Posty: 8263
Rejestracja: czw cze 27, 2019 12:16 pm
Lokalizacja: Wrocław

bigthomas pisze: wt kwie 14, 2020 8:55 am Teraz mam to:
Jaką masz wersję "board" dla ESP? Zaktualizuj do najnowszej.
Widzimy się na Supla Offline Party vol. 2 :!:
bigthomas
Posty: 234
Rejestracja: pn sie 12, 2019 3:35 pm

klew pisze: wt kwie 14, 2020 9:22 am
bigthomas pisze: wt kwie 14, 2020 8:55 am Teraz mam to:
Jaką masz wersję "board" dla ESP? Zaktualizuj do najnowszej.
Dzięki, wcześniej miałem wersję 2.3 .
Aktualizacja do najnowszej wersji 2.6.3 rozwiązało problem.
bigthomas
Posty: 234
Rejestracja: pn sie 12, 2019 3:35 pm

A jaka wersja dla ESP32 (NodeMCU-32S, wersja "board" 1.0.4).

Próbując skompilować przykład:

Kod: Zaznacz cały

/*
Copyright (C) AC SOFTWARE SP. Z O.O.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/

#include <SPI.h>
#include <SuplaDevice.h>

/*
 * This example requires Dallas Temperature Control library installed. 
 * https://github.com/milesburton/Arduino-Temperature-Control-Library
 */
// Add include to DS sensor
#include <supla/sensor/DS18B20.h>


// Choose proper network interface for your card:
// Arduino Mega with EthernetShield W5100:
//#include <supla/network/ethernet_shield.h>
//// Ethernet MAC address
//uint8_t mac[6] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05};
//Supla::EthernetShield ethernet(mac);
//
// Arduino Mega with ENC28J60:
// #include <supla/network/ENC28J60.h>
// Supla::ENC28J60 ethernet(mac);
//
// ESP8266 based board:
// #include <supla/network/esp_wifi.h>
// Supla::ESPWifi wifi("your_wifi_ssid", "your_wifi_password");
//
// ESP32 based board:
 #include <supla/network/esp32_wifi.h>
 Supla::ESP32Wifi wifi("your_wifi_ssid", "your_wifi_password");

void setup() {

  Serial.begin(9600);

  // Replace the falowing GUID with value that you can retrieve from https://www.supla.org/arduino/get-guid
  char GUID[SUPLA_GUID_SIZE] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};

  // Replace the following AUTHKEY with value that you can retrieve from: https://www.supla.org/arduino/get-authkey
  char AUTHKEY[SUPLA_AUTHKEY_SIZE] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};

  /*
   * Having your device already registered at cloud.supla.org,
   * you want to change CHANNEL sequence or remove any of them,
   * then you must also remove the device itself from cloud.supla.org.
   * Otherwise you will get "Channel conflict!" error.
   */

  // CHANNEL0 - RELAY
  SuplaDevice.addRelay(44, true);           // 44 - Pin number where the relay is connected      
                                      // Call SuplaDevice.addRelay(44, true) with an extra "true" parameter 
                                      // to enable "port value inversion"
                                      // where HIGH == LOW, and LOW == HIGH   

  // CHANNEL1 - RELAY
  SuplaDevice.addRelay(45, true);           // 45 - Pin number where the relay is connected   

  // CHANNEL3 - TWO RELAYS (Roller shutter operation)
  SuplaDevice.addRollerShutterRelays(46,     // 46 - Pin number where the 1st relay is connected   
                                     47, true);    // 47 - Pin number where the 2nd relay is connected  


  // CHANNEL6-9 - Thermometer DS18B20
  // 4 DS18B20 thermometers at pin 23. DS address can be omitted when there is only one device at a pin
  DeviceAddress ds1addr = {0x28, 0xFF, 0xC8, 0xAB, 0x6E, 0x18, 0x01, 0xFC};
  DeviceAddress ds2addr = {0x28, 0xFF, 0x54, 0x73, 0x6E, 0x18, 0x01, 0x77};
  DeviceAddress ds3addr = {0x28, 0xFF, 0x55, 0xCA, 0x6B, 0x18, 0x01, 0x8D};
  DeviceAddress ds4addr = {0x28, 0xFF, 0x4F, 0xAB, 0x6E, 0x18, 0x01, 0x66};

  new Supla::Sensor::DS18B20(23, ds1addr);
  new Supla::Sensor::DS18B20(23, ds2addr);
  new Supla::Sensor::DS18B20(23, ds3addr);
  new Supla::Sensor::DS18B20(23, ds4addr);


  /*
   * SuplaDevice Initialization.
   * Server address, LocationID and LocationPassword are available at https://cloud.supla.org 
   * If you do not have an account, you can create it at https://cloud.supla.org/account/create
   * SUPLA and SUPLA CLOUD are free of charge
   * 
   */

  SuplaDevice.begin(GUID,              // Global Unique Identifier 
                    "svr1.supla.org",  // SUPLA server address
                    "email@address",   // Email address used to login to Supla Cloud
                    AUTHKEY);          // Authorization key
    
}

void loop() {
  SuplaDevice.iterate();
}

Dostaję błąd:

Kod: Zaznacz cały

Arduino:1.8.12 (Windows 7), Płytka:"NodeMCU-32S, 80MHz, 921600"

C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src\supla\timer.cpp: In function 'void Supla::initTimers()':

C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src\supla\timer.cpp:72:3: error: reference to 'esp_timer' is ambiguous

   esp_timer = timerBegin(0, 80, true);                   // timer 0, div 80

   ^

In file included from C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/freertos/freertos/portmacro.h:82:0,

                 from C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/freertos/freertos/portable.h:94,

                 from C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,

                 from C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\cores\esp32/Arduino.h:32,

                 from C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src\supla\timer.cpp:17:

C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/esp32/esp_timer.h:53:16: note: candidates are: struct esp_timer

 typedef struct esp_timer* esp_timer_handle_t;

                ^

C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src\supla\timer.cpp:39:13: note:                 hw_timer_t* {anonymous}::esp_timer

 hw_timer_t *esp_timer = NULL;

             ^

C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src\supla\timer.cpp:73:24: error: reference to 'esp_timer' is ambiguous

   timerAttachInterrupt(esp_timer, &esp_timer_cb, true);  // attach callback

                        ^

In file included from C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/freertos/freertos/portmacro.h:82:0,

                 from C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/freertos/freertos/portable.h:94,

                 from C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,

                 from C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\cores\esp32/Arduino.h:32,

                 from C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src\supla\timer.cpp:17:

C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/esp32/esp_timer.h:53:16: note: candidates are: struct esp_timer

 typedef struct esp_timer* esp_timer_handle_t;

                ^

C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src\supla\timer.cpp:39:13: note:                 hw_timer_t* {anonymous}::esp_timer

 hw_timer_t *esp_timer = NULL;

             ^

C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src\supla\timer.cpp:74:19: error: reference to 'esp_timer' is ambiguous

   timerAlarmWrite(esp_timer, 10 * 1000, false);          // set time in us

                   ^

In file included from C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/freertos/freertos/portmacro.h:82:0,

                 from C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/freertos/freertos/portable.h:94,

                 from C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,

                 from C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\cores\esp32/Arduino.h:32,

                 from C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src\supla\timer.cpp:17:

C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/esp32/esp_timer.h:53:16: note: candidates are: struct esp_timer

 typedef struct esp_timer* esp_timer_handle_t;

                ^

C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src\supla\timer.cpp:39:13: note:                 hw_timer_t* {anonymous}::esp_timer

 hw_timer_t *esp_timer = NULL;

             ^

C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src\supla\timer.cpp:75:20: error: reference to 'esp_timer' is ambiguous

   timerAlarmEnable(esp_timer);                           // enable interrupt

                    ^

In file included from C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/freertos/freertos/portmacro.h:82:0,

                 from C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/freertos/freertos/portable.h:94,

                 from C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,

                 from C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\cores\esp32/Arduino.h:32,

                 from C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src\supla\timer.cpp:17:

C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/include/esp32/esp_timer.h:53:16: note: candidates are: struct esp_timer

 typedef struct esp_timer* esp_timer_handle_t;

                ^

C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\SuplaDevice\src\supla\timer.cpp:39:13: note:                 hw_timer_t* {anonymous}::esp_timer

 hw_timer_t *esp_timer = NULL;

             ^

Znaleziono wiele bibliotek w "WiFi.h"
Wykorzystane: C:\Users\...\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi
Niewykorzystane: C:\Users\...\Documents\Prywatne\Arduino\arduino-1.8.12\libraries\WiFi
exit status 1
Błąd kompilacji dla płytki NodeMCU-32S.

Ten raport powinien zawierać więcej informacji jeśli w 
File -> Preferencje zostanie włączona opcja "Pokaż
szczegółowe informacje podczas kompilacji"
Ostatnio zmieniony śr kwie 15, 2020 6:58 am przez bigthomas, łącznie zmieniany 1 raz.
Awatar użytkownika
Xoggo
Posty: 182
Rejestracja: ndz mar 29, 2020 10:03 pm
Lokalizacja: Zbąszynek

Panowie,
mam bibliotekę (SuplaDevice.h od np. @klew), w której nie ma urządzenia SensorNO.
W jakich jeszcze plikach oprócz SuplaDevice.h i SuplaDevice.cpp należy umieścić odnośniki do tego urządzenia aby poprawnie się skompilowało. Lub inaczej, w jakich plikach dodaje się nowe urządzenie?
ODPOWIEDZ

Wróć do „Arduino IDE”