Just as I suspected, it was me doing something retarded, thanks for your help.
Lanman
Posts
-
Relay with button -
Relay with buttonIt won't even upload to the arduino,
It works if you use the old library but on v 2.0 this is the result.
C:\Users\Shane\AppData\Local\Temp\ccwaR9Zf.ltrans2.ltrans.o: In function `loop':
ccwaR9Zf.ltrans2.o:(.text+0x8): undefined reference to `Bounce::update()'
ccwaR9Zf.ltrans2.o:(.text+0x10): undefined reference to `Bounce::read()'
C:\Users\Shane\AppData\Local\Temp\ccwaR9Zf.ltrans2.ltrans.o: In function `setup':
ccwaR9Zf.ltrans2.o:(.text+0x9e): undefined reference to `Bounce::attach(int)'
ccwaR9Zf.ltrans2.o:(.text+0xaa): undefined reference to `Bounce::interval(unsigned int)'
C:\Users\Shane\AppData\Local\Temp\ccwaR9Zf.ltrans3.ltrans.o: In function `global constructors keyed to 65535_0_relay_button1.ino.cpp.o.2246':
ccwaR9Zf.ltrans3.o:(.text.startup+0x64): undefined reference to `Bounce::Bounce()'
collect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "MySensors.h"
Used: D:\Data\Documents\Arduino\libraries\MySensors
Not used: C:\Program Files (x86)\Arduino\libraries\MySensors-master
exit status 1
Error compiling for board Arduino Nano. -
Relay with buttonHi, thanks for the reply, by the looks of it this is the same sketch on the my sensors site, unfortunately it doesn't seem to work on the new library, unless that is just me doing something retarded.
-
Relay with buttonDoes anyone have an updates sketch for the relay with button that works on the current library?