You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.
I'm trying to compile the examples with Arduino IDE 1.6.5 with hardware Arduino Pro Mini, Atmega328.
Some examples compile without errors and with some changes in hardware.h
(#define CC_GDO0_PIN PORTB2 -> PORTD4) I even got it pairing.
HM_LC_Dim1PWM_CV and HM_LC_Bl1_SM seem to work.
AskinNew_test is compiling with errors:
Build options changed, rebuilding all
NewAskSin\EEprom.cpp.o: In function EE::init()': C:\Users\Bas\Documents\Arduino\libraries\NewAskSin/EEprom.cpp:152: undefined reference tofirstTimeStart()'
C:\Users\Bas\Documents\Arduino\libraries\NewAskSin/EEprom.cpp:158: undefined reference to HMKEY' C:\Users\Bas\Documents\Arduino\libraries\NewAskSin/EEprom.cpp:158: undefined reference toHMKEY'
C:\Users\Bas\Documents\Arduino\libraries\NewAskSin/EEprom.cpp:158: undefined reference to HMKEY' C:\Users\Bas\Documents\Arduino\libraries\NewAskSin/EEprom.cpp:158: undefined reference toHMKEY'
C:\Users\Bas\Documents\Arduino\libraries\NewAskSin/EEprom.cpp:163: undefined reference to `everyTimeStart()'
collect2.exe: error: ld returned 1 exit status
Error compiling.
I got it compiling by adding
uint8_t HMKEY[16] = {0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,}; and
void everyTimeStart(void) {} and void firstTimeStart(void) {} in register.h
Now it is pairing as HM-WDS10-TH-O, but how to get Temperature and Humidity out of the sensor?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to compile the examples with Arduino IDE 1.6.5 with hardware Arduino Pro Mini, Atmega328.
Some examples compile without errors and with some changes in hardware.h
(#define CC_GDO0_PIN PORTB2 -> PORTD4) I even got it pairing.
HM_LC_Dim1PWM_CV and HM_LC_Bl1_SM seem to work.
AskinNew_test is compiling with errors:
Build options changed, rebuilding all
NewAskSin\EEprom.cpp.o: In function
EE::init()': C:\Users\Bas\Documents\Arduino\libraries\NewAskSin/EEprom.cpp:152: undefined reference to
firstTimeStart()'C:\Users\Bas\Documents\Arduino\libraries\NewAskSin/EEprom.cpp:158: undefined reference to
HMKEY' C:\Users\Bas\Documents\Arduino\libraries\NewAskSin/EEprom.cpp:158: undefined reference to
HMKEY'C:\Users\Bas\Documents\Arduino\libraries\NewAskSin/EEprom.cpp:158: undefined reference to
HMKEY' C:\Users\Bas\Documents\Arduino\libraries\NewAskSin/EEprom.cpp:158: undefined reference to
HMKEY'C:\Users\Bas\Documents\Arduino\libraries\NewAskSin/EEprom.cpp:163: undefined reference to `everyTimeStart()'
collect2.exe: error: ld returned 1 exit status
Error compiling.
I got it compiling by adding
uint8_t HMKEY[16] = {0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,}; and
void everyTimeStart(void) {} and void firstTimeStart(void) {} in register.h
Now it is pairing as HM-WDS10-TH-O, but how to get Temperature and Humidity out of the sensor?
The text was updated successfully, but these errors were encountered: