Re: Wasserstandsmelder Script Frage
Verfasst: 12.02.2020, 15:44
Hallo Gemeinde,
ich habe jetzt die ersten Anfangshürden genommen bin aber noch absoluter Neuling. Ich möchte den https://github.com/jp112sdl/HB-UNI-Sen- ... /README.md von Jerome nachbauen. Nach tagelangem lesen und bestellen, wollte ich mich mal dem Code witmen.
https://github.com/jp112sdl/HB-UNI-Sen- ... LEV-US.ino. Nachdem mein Problem mit den libarys geklärt ist (hoffe ich), habe ich den Code kompaliert und erhalte folgende Fehlermeldung. Nun weiß ich nicht mehr weiter. kann mir bitte von euch jemand helfen ?
In file included from C:\Users\Video\Documents\Arduino\sketch_feb12c\sketch_feb12c.ino:11:0:
C:\Users\Video\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:22:125: note: #pragma message: NOTICE: *** EnableInterrupt library version pre-0.9.6. This is not a problem. Keep calm, and carry on. ***
#pragma message("NOTICE: *** EnableInterrupt library version pre-0.9.6. This is not a problem. Keep calm, and carry on. ***")
^
C:\Users\Video\Documents\Arduino\sketch_feb12c\sketch_feb12c.ino: In member function 'virtual void MeasureChannel::trigger(as::AlarmClock&)':
sketch_feb12c:249:79: error: 'as::Channel<Hal, UList1, as::EmptyList, as::List4, 2, UList0>::DeviceType {aka class as::Device<Hal, UList0>}' has no member named 'broadcastEvent'; did you mean 'broadcastPeerEvent'?
if (msgcnt % 20 == 1) device().sendPeerEvent(msg, *this); else device().broadcastEvent(msg, *this);
^~~~~~~~~~~~~~
broadcastPeerEvent
C:\Users\Video\Documents\Arduino\sketch_feb12c\sketch_feb12c.ino: In function 'void setup()':
sketch_feb12c:316:3: error: 'DDEVINFO' was not declared in this scope
DDEVINFO(sdev);
^~~~~~~~
C:\Users\Video\Documents\Arduino\sketch_feb12c\sketch_feb12c.ino:316:3: note: suggested alternative: 'DDECLN'
DDEVINFO(sdev);
^~~~~~~~
DDECLN
Bibliothek EnableInterrupt in Version 0.9.8 im Ordner: C:\Users\Video\Documents\Arduino\libraries\EnableInterrupt wird verwendet
Bibliothek AskSinPP-3 in Version 2.1.5 im Ordner: C:\Users\Video\Documents\Arduino\libraries\AskSinPP-3 wird verwendet
Bibliothek Low-Power-9f54bde6ebabf7bc48c15ee4985f70271575e49f in Version 1.6 im Ordner: C:\Users\Video\Documents\Arduino\libraries\Low-Power-9f54bde6ebabf7bc48c15ee4985f70271575e49f wird verwendet
exit status 1
'as::Channel<Hal, UList1, as::EmptyList, as::List4, 2, UList0>::DeviceType {aka class as::Device<Hal, UList0>}' has no member named 'broadcastEvent'; did you mean 'broadcastPeerEvent'?
1000 Dank
ich habe jetzt die ersten Anfangshürden genommen bin aber noch absoluter Neuling. Ich möchte den https://github.com/jp112sdl/HB-UNI-Sen- ... /README.md von Jerome nachbauen. Nach tagelangem lesen und bestellen, wollte ich mich mal dem Code witmen.
https://github.com/jp112sdl/HB-UNI-Sen- ... LEV-US.ino. Nachdem mein Problem mit den libarys geklärt ist (hoffe ich), habe ich den Code kompaliert und erhalte folgende Fehlermeldung. Nun weiß ich nicht mehr weiter. kann mir bitte von euch jemand helfen ?
In file included from C:\Users\Video\Documents\Arduino\sketch_feb12c\sketch_feb12c.ino:11:0:
C:\Users\Video\Documents\Arduino\libraries\EnableInterrupt/EnableInterrupt.h:22:125: note: #pragma message: NOTICE: *** EnableInterrupt library version pre-0.9.6. This is not a problem. Keep calm, and carry on. ***
#pragma message("NOTICE: *** EnableInterrupt library version pre-0.9.6. This is not a problem. Keep calm, and carry on. ***")
^
C:\Users\Video\Documents\Arduino\sketch_feb12c\sketch_feb12c.ino: In member function 'virtual void MeasureChannel::trigger(as::AlarmClock&)':
sketch_feb12c:249:79: error: 'as::Channel<Hal, UList1, as::EmptyList, as::List4, 2, UList0>::DeviceType {aka class as::Device<Hal, UList0>}' has no member named 'broadcastEvent'; did you mean 'broadcastPeerEvent'?
if (msgcnt % 20 == 1) device().sendPeerEvent(msg, *this); else device().broadcastEvent(msg, *this);
^~~~~~~~~~~~~~
broadcastPeerEvent
C:\Users\Video\Documents\Arduino\sketch_feb12c\sketch_feb12c.ino: In function 'void setup()':
sketch_feb12c:316:3: error: 'DDEVINFO' was not declared in this scope
DDEVINFO(sdev);
^~~~~~~~
C:\Users\Video\Documents\Arduino\sketch_feb12c\sketch_feb12c.ino:316:3: note: suggested alternative: 'DDECLN'
DDEVINFO(sdev);
^~~~~~~~
DDECLN
Bibliothek EnableInterrupt in Version 0.9.8 im Ordner: C:\Users\Video\Documents\Arduino\libraries\EnableInterrupt wird verwendet
Bibliothek AskSinPP-3 in Version 2.1.5 im Ordner: C:\Users\Video\Documents\Arduino\libraries\AskSinPP-3 wird verwendet
Bibliothek Low-Power-9f54bde6ebabf7bc48c15ee4985f70271575e49f in Version 1.6 im Ordner: C:\Users\Video\Documents\Arduino\libraries\Low-Power-9f54bde6ebabf7bc48c15ee4985f70271575e49f wird verwendet
exit status 1
'as::Channel<Hal, UList1, as::EmptyList, as::List4, 2, UList0>::DeviceType {aka class as::Device<Hal, UList0>}' has no member named 'broadcastEvent'; did you mean 'broadcastPeerEvent'?
1000 Dank