Hallo,
ich hänge mich hier mal an, weil es am besten zu diesem Aktor passt...
Ich möchte auch Homatic Komponenten selber bauen (Hardware ist zum Teil noch auf dem Weg zu mir).
Verwendet werden soll das mit OpenHAB auf RPI2 mit Homegear und CC1101 Modul am RPI2 SPI Bus.
Da hängen auch schon ein paar Originalsensoren/-aktoren dran.
Also gestern schon mal Arduino auf den Rechner geworfen - durch Probleme in der Vergangenheit durch Versionswirrwarr rund um Arduino mit dem schlimmsten rechnend...
Das ist nun drauf:
- Arduino V1.8.8
- EnableInterrupt 0.9.8
- Low-Power 1.6.0
- AskSinPP V3 (weil ich irgendwo las, man möge für die Beispielsketche die letzte stable verwenden)
Ergebnis:
HM-RC-P1 - Panikschalter - kompiliert
HM-SEC-WDS - Wassermelder - kompiliert
HM-LC-Bl1-FM - damit wollte ich starten - liefert neben dem Hinweis der EnableInterrupt Library:
Code: Alles auswählen
Arduino: 1.8.8 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)"
In file included from C:\Users\****\Desktop\Homematic\HM-LC-Bl1-FM\HM-LC-Bl1-FM.ino:10:0:
\\dc\Users\****\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. ***")
[b]HM-LC-Bl1-FM:67:38: error: expected template-name before '<' token
class BlChannel : public ActorChannel<Hal,BlindList1,BlindList3,PEERS_PER_CHANNEL,BlindList0,BlindStateMachine> {
HM-LC-Bl1-FM:67:38: error: expected '{' before '<' token
HM-LC-Bl1-FM:67:38: error: expected unqualified-id before '<' token[/b]
exit status 1
expected template-name before '<' token
...und schon bin ich fertig, bevor ich angefangen habe...
Habe es testweise mit dem Master Branch probiert - aber auch nicht besser:
Code: Alles auswählen
Arduino: 1.8.8 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)"
In file included from C:\Users\Abel\Desktop\Homematic\HM-LC-Bl1-FM\HM-LC-Bl1-FM.ino:10:0:
\\dc\Users\abel\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. ***")
\\dc\Users\****\Arduino\libraries\AskSinPP-master/Register.h: In member function 'readRegister':
\\dc\Users\***\Arduino\libraries\AskSinPP-master/Register.h:220:3: internal compiler error: Segmentation fault
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper.exe: fatal error: C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc returned 1 exit status
compilation terminated.
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
exit status 1
Fehler beim Kompilieren für das Board Arduino Pro or Pro Mini.
Kann mir jemand dazu kurz helfen?
Gruß, Dirk