biblioteki dla Arduino MEGA 2560
-
alankedzior
- Posts: 114
- Joined: Mon Jun 18, 2018 5:38 pm
Czy dysponuje ktoś może paczką bibliotek które należałoby dodać do arduino ide chcąc korzystać z Arduino MEGA 2560 w pełnej funkcjonalności z Suplą, po formacie cały czas wywala mi błąd kompilacji ze względu na zbyt małą lub zbyt dużą liczbę tych bibliotek lecz różnych wersji.
-
alankedzior
- Posts: 114
- Joined: Mon Jun 18, 2018 5:38 pm
I na przykładach i wcześniejszych programach które są rozbudowywane, wcześcniej korzystałem jeszcze np. z Onewire, dallas temperature, ethernet, a teraz mi się wszystko sypie i nie kompiluje.
-
klew
- Posts: 13911
- Joined: Thu Jun 27, 2019 12:16 pm
- Location: Wrocław
- Has thanked: 136 times
- Been thanked: 137 times
Wklej tutaj jakie masz błędyalankedzior wrote: Sun Dec 08, 2019 9:47 pm I na przykładach i wcześniejszych programach które są rozbudowywane, wcześcniej korzystałem jeszcze np. z Onewire, dallas temperature, ethernet, a teraz mi się wszystko sypie i nie kompiluje.
Najlepsze suple dla Twojego domu 
-
alankedzior
- Posts: 114
- Joined: Mon Jun 18, 2018 5:38 pm
np.
Dla przykładu z dallas temperature
In file included from C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice\examples\SuplaEthernetShield_DallasTemperature\SuplaEthernetShield_DallasTemperature.ino:21:0:
C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice/SuplaDevice.h:93:1: warning: 'typedef' was ignored in this declaration
typedef struct SuplaChannelPin {
^~~~~~~
C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice/SuplaDevice.h:110:1: warning: 'typedef' was ignored in this declaration
typedef struct SuplaDeviceRollerShutterTask {
^~~~~~~
C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice/SuplaDevice.h:118:1: warning: 'typedef' was ignored in this declaration
typedef struct SuplaDeviceRollerShutterCVR {
^~~~~~~
C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice/SuplaDevice.h:132:1: warning: 'typedef' was ignored in this declaration
typedef struct SuplaDeviceRollerShutter {
^~~~~~~
In file included from C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice/SuplaDevice.h:299:0,
from C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice\examples\SuplaEthernetShield_DallasTemperature\SuplaEthernetShield_DallasTemperature.ino:21:
C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice/supla_main_helper._cpp_:68:3: error: 'UNKNOWN' does not name a type
UNKNOWN ETHERNET LIBRARY
^~~~~~~
Znaleziono wiele bibliotek w "SPI.h"
Wykorzystane: C:\Program
Znaleziono wiele bibliotek w "Ethernet.h"
Wykorzystane: C:\Program
Znaleziono wiele bibliotek w "OneWire.h"
Wykorzystane: C:\Users\xXx\Documents\Arduino\libraries\OneWire
Znaleziono wiele bibliotek w "DallasTemperature.h"
Wykorzystane: C:\Users\xXx\Documents\Arduino\libraries\DallasTemperature-3.8.0
Znaleziono wiele bibliotek w "SuplaDevice.h"
Wykorzystane: C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice
exit status 1
Błąd kompilacji dla płytki Arduino Mega ADK.
Dla przykładu z dallas temperature
In file included from C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice\examples\SuplaEthernetShield_DallasTemperature\SuplaEthernetShield_DallasTemperature.ino:21:0:
C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice/SuplaDevice.h:93:1: warning: 'typedef' was ignored in this declaration
typedef struct SuplaChannelPin {
^~~~~~~
C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice/SuplaDevice.h:110:1: warning: 'typedef' was ignored in this declaration
typedef struct SuplaDeviceRollerShutterTask {
^~~~~~~
C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice/SuplaDevice.h:118:1: warning: 'typedef' was ignored in this declaration
typedef struct SuplaDeviceRollerShutterCVR {
^~~~~~~
C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice/SuplaDevice.h:132:1: warning: 'typedef' was ignored in this declaration
typedef struct SuplaDeviceRollerShutter {
^~~~~~~
In file included from C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice/SuplaDevice.h:299:0,
from C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice\examples\SuplaEthernetShield_DallasTemperature\SuplaEthernetShield_DallasTemperature.ino:21:
C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice/supla_main_helper._cpp_:68:3: error: 'UNKNOWN' does not name a type
UNKNOWN ETHERNET LIBRARY
^~~~~~~
Znaleziono wiele bibliotek w "SPI.h"
Wykorzystane: C:\Program
Znaleziono wiele bibliotek w "Ethernet.h"
Wykorzystane: C:\Program
Znaleziono wiele bibliotek w "OneWire.h"
Wykorzystane: C:\Users\xXx\Documents\Arduino\libraries\OneWire
Znaleziono wiele bibliotek w "DallasTemperature.h"
Wykorzystane: C:\Users\xXx\Documents\Arduino\libraries\DallasTemperature-3.8.0
Znaleziono wiele bibliotek w "SuplaDevice.h"
Wykorzystane: C:\Users\xXx\Documents\Arduino\libraries\SuplaDevice
exit status 1
Błąd kompilacji dla płytki Arduino Mega ADK.
-
klew
- Posts: 13911
- Joined: Thu Jun 27, 2019 12:16 pm
- Location: Wrocław
- Has thanked: 136 times
- Been thanked: 137 times
Zmień w tym pliku w bibliotece u siebie tą lijnikę na taką jak poniżej:
https://github.com/klew/arduino/blob/4a ... ._cpp_#L18
https://github.com/klew/arduino/blob/4a ... ._cpp_#L18
Najlepsze suple dla Twojego domu 
