ok auch kein anlernen möglich... erhalte weiterhin:
Code: Alles auswählen
AskSin++ v5.0.0 (Mar 5 2021 11:58:17)
Address Space: 32 - 473
CC init1
CC Version: 04
- ready
MPR121 found!
I2C scan...
device at 0x5A
done
debounce
pressed
released
<- 1A 01 84 00 376FF8 000000 01 F6 A9 48 42 36 39 33 30 33 33 32 38 43 06 00 00 - 8402
-> 10 01 A0 01 BCA96D 376FF8 00 05 00 00 00 00 00 - 8595
<- 11 01 A0 02 376FF8 BCA96D 04 A7 F1 D9 2A 82 C8 00 - 8599
-> 19 01 A0 03 BCA96D 376FF8 D8 2D ED 0F DC DD B7 51 86 1D F2 2C 51 50 A9 4C - 8861
Signature FAILED
<- 0A 01 80 02 376FF8 BCA96D 80 - 8896
ignore 1A B0 84 70 F1D002 000000 00 19 27 FA 64 02 31 99 82 E7 00 E9 00 01 08 00 00 - 27924
ignore 1A B1 84 70 F1D002 000000 00 19 27 FB 64 02 35 33 82 E7 00 CF 00 00 EE 00 00 - 48390
ignore 1A B2 84 70 F1D002 000000 00 19 27 FB 64 02 40 00 82 E7 00 90 00 00 98 00 00 - 68864
ignore 1A B3 84 70 F1D002 000000 00 1A 27 FB 64 02 4A CC 82 E7 00 D5 00 00 E4 00 00 - 89315
ignore 0C B8 86 5A 6AF509 000000 80 9D 28 - 89358
ignore 1A B4 84 70 F1D002 000000 00 1A 27 FB 64 02 4A CC 82 E7 C1 02 44 01 1C 00 00 - 109774
ignore 0F E2 86 10 71E76C 000000 0A A8 D7 0F 02 00 - 118829
ignore 1A B5 A0 70 F1D002 BCA96D 00 1A 27 FC 64 02 59 33 82 E7 C1 03 00 01 40 00 00 - 130228
ignore 0A B5 80 02 BCA96D F1D002 00 - 130342
nun dachte ich mir ich bespiele das ganze mal einfach mit dem Sketch und erhalte folgenden "fehler"
Code: Alles auswählen
In file included from C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:19:0:
C:\Users\Wiege\OneDrive\Dokumente\Arduino\libraries\FastLED-master\src/FastLED.h:14:21: note: #pragma message: FastLED version 3.004.000
# pragma message "FastLED version 3.004.000"
^~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino: In member function 'void CDLChannelDevice<HalType, ChannelType, ChannelCount, List0Type>::configChanged()':
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:233:3: warning: there are no arguments to 'buzzer' that depend on a template parameter, so a declaration of 'buzzer' must be available [-fpermissive]
buzzer().enabled(getList0().buzzerEnabled());
^~~~~~
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:233:20: warning: there are no arguments to 'getList0' that depend on a template parameter, so a declaration of 'getList0' must be available [-fpermissive]
buzzer().enabled(getList0().buzzerEnabled());
^~~~~~~~
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino: In member function 'void CodeLock<keymap, i2c_addr>::check_buffer()':
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:426:2: warning: jump to label 'clear' [-fpermissive]
clear:
^~~~~
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:383:30: note: from here
if (buffer.pos() < 4) goto clear; // we need at least 2 digit input
^~~~~
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:387:11: note: crosses initialization of 'uint8_t pwd_slot'
uint8_t pwd_slot = get_password_slot(buffer.passwd()); // check if we find the password, 0xff if not
^~~~~~~~
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:386:11: note: crosses initialization of 'uint8_t prg_slot'
uint8_t prg_slot = buffer.prg_slot(); // get the slot number, only if in prg mode
^~~~~~~~
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:385:11: note: crosses initialization of 'uint8_t cnl'
uint8_t cnl = buffer.channel(); // get the buffer channel byte
^~~
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino: In instantiation of 'void CDLChannel<HALTYPE, PEERCOUNT, List0Type, List1Type>::firstinit() [with HALTYPE = Hal; int PEERCOUNT = 10; List0Type = CDLList0; List1Type = CDLList1]':
C:\Users\Wiege\OneDrive\Dokumente\Arduino\libraries\AskSinPP-master/MultiChannelDevice.h:146:7: required from 'void as::ChannelDevice<HalType, ChannelType, ChannelCount, List0Type>::firstinit() [with HalType = Hal; ChannelType = CDLChannel<Hal, 10, CDLList0, CDLList1>; int ChannelCount = 6; List0Type = CDLList0]'
C:\Users\Wiege\OneDrive\Dokumente\Arduino\libraries\AskSinPP-master/MultiChannelDevice.h:119:16: required from 'bool as::ChannelDevice<HalType, ChannelType, ChannelCount, List0Type>::init(HalType&) [with HalType = Hal; ChannelType = CDLChannel<Hal, 10, CDLList0, CDLList1>; int ChannelCount = 6; List0Type = CDLList0]'
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:438:15: required from here
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:208:34: warning: invalid conversion from 'const uint8_t* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
if (this->number() == 1) temp = master_pwd;
~~~~~^~~~~~~~~~~~
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino: In instantiation of 'void CodeLock<keymap, i2c_addr>::check_buffer() [with const uint8_t* keymap = (& keymap); unsigned char i2c_addr = 90]':
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:367:16: required from 'void CodeLock<keymap, i2c_addr>::activity(uint8_t, uint8_t) [with const uint8_t* keymap = (& keymap); unsigned char i2c_addr = 90; uint8_t = unsigned char]'
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:475:1: required from here
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:426:2: warning: jump to label 'clear' [-fpermissive]
clear:
^~~~~
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:383:30: note: from here
if (buffer.pos() < 4) goto clear; // we need at least 2 digit input
^~~~~
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:387:11: note: crosses initialization of 'uint8_t pwd_slot'
uint8_t pwd_slot = get_password_slot(buffer.passwd()); // check if we find the password, 0xff if not
^~~~~~~~
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:386:11: note: crosses initialization of 'uint8_t prg_slot'
uint8_t prg_slot = buffer.prg_slot(); // get the slot number, only if in prg mode
^~~~~~~~
C:\Users\Wiege\AppData\Local\Temp\Temp1_HB-CDL-6-main.zip\HB-CDL-6-main\HB-CDL-6\HB-CDL-6.ino:385:11: note: crosses initialization of 'uint8_t cnl'
uint8_t cnl = buffer.channel(); // get the buffer channel byte
^~~
key.h habe ich entfernt und durch:
Code: Alles auswählen
#define USE_AES
#define HM_DEF_KEY 0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10
#define HM_DEF_KEY_INDEX 0
ersetzt.
Aber irgendwo liegt ein Fehler bei mir vor, da auch die LEDS nicht leuchten :/ was mir egal wäre, solangs funktionier.. (ich glaub ich hab nen Lötpin einer LED geschrottet)