Keypad_I2C werkt ineens niet meer

Arduino specifieke Software
Berichten: 34
Geregistreerd: 09 Jun 2017, 01:59

Re: Keypad_I2C werkt ineens niet meer

Berichtdoor Dino » 23 Nov 2017, 11:51

Arduino: 1.8.5 (Windows 10), Board:"Arduino/Genuino Uno"

G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\arduino-builder -dump-prefs -logger=machine -hardware G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware -hardware C:\Users\Benny\AppData\Local\Arduino15\packages -tools G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\tools-builder -tools G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr -tools C:\Users\Benny\AppData\Local\Arduino15\packages -built-in-libraries G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\libraries -libraries G:\arduino-1.6.5-r5\libraries\libraries -fqbn=arduino:avr:uno -ide-version=10805 -build-path C:\Users\Benny\AppData\Local\Temp\arduino_build_337642 -warnings=default -build-cache C:\Users\Benny\AppData\Local\Temp\arduino_cache_507222 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr -prefs=runtime.tools.avrdude.path=G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr -verbose G:\arduino-1.6.5-r5\libraries\sketch_nov23a\sketch_nov23a.ino
G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\arduino-builder -compile -logger=machine -hardware G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware -hardware C:\Users\Benny\AppData\Local\Arduino15\packages -tools G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\tools-builder -tools G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr -tools C:\Users\Benny\AppData\Local\Arduino15\packages -built-in-libraries G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\libraries -libraries G:\arduino-1.6.5-r5\libraries\libraries -fqbn=arduino:avr:uno -ide-version=10805 -build-path C:\Users\Benny\AppData\Local\Temp\arduino_build_337642 -warnings=default -build-cache C:\Users\Benny\AppData\Local\Temp\arduino_cache_507222 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr -prefs=runtime.tools.avrdude.path=G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr -verbose G:\arduino-1.6.5-r5\libraries\sketch_nov23a\sketch_nov23a.ino
Using board 'uno' from platform in folder: G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr
Using core 'arduino' from platform in folder: G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr
Detecting libraries used...
"G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\cores\arduino" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\variants\standard" "C:\Users\Benny\AppData\Local\Temp\arduino_build_337642\sketch\sketch_nov23a.ino.cpp" -o "nul"
"G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\cores\arduino" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\variants\standard" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master" "C:\Users\Benny\AppData\Local\Temp\arduino_build_337642\sketch\sketch_nov23a.ino.cpp" -o "nul"
"G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\cores\arduino" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\variants\standard" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad\src" "C:\Users\Benny\AppData\Local\Temp\arduino_build_337642\sketch\sketch_nov23a.ino.cpp" -o "nul"
"G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\cores\arduino" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\variants\standard" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad\src" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\libraries\Wire\src" "C:\Users\Benny\AppData\Local\Temp\arduino_build_337642\sketch\sketch_nov23a.ino.cpp" -o "nul"
"G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\cores\arduino" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\variants\standard" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad\src" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\libraries\Wire\src" "G:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master\Keypad_I2C.cpp" -o "nul"
"G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\cores\arduino" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\variants\standard" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad\src" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\libraries\Wire\src" "G:\arduino-1.6.5-r5\libraries\libraries\Keypad\src\Key.cpp" -o "nul"
"G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\cores\arduino" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\variants\standard" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad\src" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\libraries\Wire\src" "G:\arduino-1.6.5-r5\libraries\libraries\Keypad\src\Keypad.cpp" -o "nul"
"G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\cores\arduino" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\variants\standard" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad\src" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\libraries\Wire\src" "G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\libraries\Wire\src\Wire.cpp" -o "nul"
"G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\cores\arduino" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\variants\standard" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad\src" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\libraries\Wire\src" "G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\libraries\Wire\src\utility\twi.c" -o "nul"
Generating function prototypes...
"G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\cores\arduino" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\variants\standard" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad\src" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\libraries\Wire\src" "C:\Users\Benny\AppData\Local\Temp\arduino_build_337642\sketch\sketch_nov23a.ino.cpp" -o "C:\Users\Benny\AppData\Local\Temp\arduino_build_337642\preproc\ctags_target_for_gcc_minus_e.cpp"
"G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\Benny\AppData\Local\Temp\arduino_build_337642\preproc\ctags_target_for_gcc_minus_e.cpp"
Bezig met het compileren van de schets...
"G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\tools\avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\cores\arduino" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\variants\standard" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master" "-IG:\arduino-1.6.5-r5\libraries\libraries\Keypad\src" "-IG:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\libraries\Wire\src" "C:\Users\Benny\AppData\Local\Temp\arduino_build_337642\sketch\sketch_nov23a.ino.cpp" -o "C:\Users\Benny\AppData\Local\Temp\arduino_build_337642\sketch\sketch_nov23a.ino.cpp.o"
sketch_nov23a:37: error: no matching function for call to 'Keypad_I2C::Keypad_I2C(char*, byte [4], byte [3], const byte&, const byte&, int&)'

Keypad_I2C kpd = Keypad_I2C( makeKeymap(keys), rowPins, colPins, ROWS, COLS, i2caddress );

^

G:\arduino-1.6.5-r5\libraries\sketch_nov23a\sketch_nov23a.ino:37:89: note: candidates are:

In file included from G:\arduino-1.6.5-r5\libraries\sketch_nov23a\sketch_nov23a.ino:1:0:

G:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master/Keypad_I2C.h:29:9: note: Keypad_I2C::Keypad_I2C(int, int)

Keypad_I2C(int i2c_addr, int int_pin);

^

G:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master/Keypad_I2C.h:29:9: note: candidate expects 2 arguments, 6 provided

G:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master/Keypad_I2C.h:26:7: note: constexpr Keypad_I2C::Keypad_I2C(const Keypad_I2C&)

class Keypad_I2C

^

G:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master/Keypad_I2C.h:26:7: note: candidate expects 1 argument, 6 provided

G:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master/Keypad_I2C.h:26:7: note: constexpr Keypad_I2C::Keypad_I2C(Keypad_I2C&&)

G:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master/Keypad_I2C.h:26:7: note: candidate expects 1 argument, 6 provided

Bibliotheek Keypad_I2C-master in map: G:\arduino-1.6.5-r5\libraries\libraries\Keypad_I2C-master (legacy) wordt gebruikt
Bibliotheek Keypad op versie 3.1.1 in map: G:\arduino-1.6.5-r5\libraries\libraries\Keypad wordt gebruikt
Bibliotheek Wire op versie 1.0 in map: G:\arduino-1.6.5-r5\arduino-1.8.5-windows\arduino-1.8.5\hardware\arduino\avr\libraries\Wire wordt gebruikt
exit status 1
no matching function for call to 'Keypad_I2C::Keypad_I2C(char*, byte [4], byte [3], const byte&, const byte&, int&)'

Advertisement

Gebruikers-avatar
Berichten: 4646
Geregistreerd: 13 Mei 2013, 20:57
Woonplaats: Heemskerk

Re: Keypad_I2C werkt ineens niet meer

Berichtdoor nicoverduin » 23 Nov 2017, 12:25

Ik weet niet waarom je dit hier zet?????? Ik wil weten waar je de libraries van keypad vandaan hebt.......
Docent Software Engineering, Embedded ontwikkelaar & elektronicus
http://www.verelec.nl

Berichten: 34
Geregistreerd: 09 Jun 2017, 01:59

Re: Keypad_I2C werkt ineens niet meer

Berichtdoor Dino » 23 Nov 2017, 14:01

Heb even verder gezocht en heb nu een goede libraly gevonden en alles werkt weer , al dat oude spul weg.
dank voor je hulp .

Vorige

Terug naar Arduino software

Wie is er online?

Gebruikers in dit forum: Geen geregistreerde gebruikers en 6 gasten