Ich habe nun schon etliches probiert. Irgendwie hänge ich. Immer wieder bekomme ich Fehlermeldungen angezeigt.
xdrv_ir_send:50: error: 'IRsend' does not name a type
IRsend *irsend = NULL;
^
/Users/Admin/Desktop/Sonoff Tasmota/Sonoff-Tasmota-5.9.0/sonoff/xdrv_ir_send.ino: In function 'void IrSendInit()':
xdrv_ir_send:54: error: 'irsend' was not declared in this scope
irsend = new IRsend(pin[GPIO_IRSEND]); // an IR led is at GPIO_IRSEND
^
xdrv_ir_send:54: error: expected type-specifier before 'IRsend'
irsend = new IRsend(pin[GPIO_IRSEND]); // an IR led is at GPIO_IRSEND
^
xdrv_ir_send:54: error: expected ';' before 'IRsend'
/Users/Admin/Desktop/Sonoff Tasmota/Sonoff-Tasmota-5.9.0/sonoff/xdrv_ir_send.ino: At global scope:
xdrv_ir_send:73: error: 'IRrecv' does not name a type
IRrecv *irrecv = NULL;
^
/Users/Admin/Desktop/Sonoff Tasmota/Sonoff-Tasmota-5.9.0/sonoff/xdrv_ir_send.ino: In function 'void IrReceiveInit()':
xdrv_ir_send:78: error: 'irrecv' was not declared in this scope
irrecv = new IRrecv(pin[GPIO_IRRECV]); // an IR led is at GPIO_IRRECV
^
xdrv_ir_send:78: error: expected type-specifier before 'IRrecv'
irrecv = new IRrecv(pin[GPIO_IRRECV]); // an IR led is at GPIO_IRRECV
^
xdrv_ir_send:78: error: expected ';' before 'IRrecv'
/Users/Admin/Desktop/Sonoff Tasmota/Sonoff-Tasmota-5.9.0/sonoff/xdrv_ir_send.ino: In function 'void IrReceiveCheck()':
xdrv_ir_send:89: error: 'decode_results' was not declared in this scope
decode_results results;
^
xdrv_ir_send:89: error: expected ';' before 'results'
decode_results results;
^
xdrv_ir_send:91: error: 'irrecv' was not declared in this scope
if (irrecv->decode(&results)) {
^
xdrv_ir_send:91: error: 'results' was not declared in this scope
if (irrecv->decode(&results)) {
^
/Users/Admin/Desktop/Sonoff Tasmota/Sonoff-Tasmota-5.9.0/sonoff/xdrv_ir_send.ino: In function 'boolean IrSendCommand(char*, uint16_t, char*, uint16_t, int16_t)':
xdrv_ir_send:308: error: 'irsend' was not declared in this scope
irsend->sendNEC(data, bits); break;
^
exit status 1
'IRsend' does not name a type
Was kann das sein. Die Schaltung habe ich schon mehrfach geprüft. Den FTDI schon getauscht. Die Sonoff's getauscht. Immer wieder dieser Fehler. Kann mir hier jemand helfen? Ich arbeite auf einem MAC. Die Software ist ARDUINO in der Version 1.8.5. Die LIB's sollten alle Installiert sein. Bin die Anleitung nun schon auf einem anderen Rechner durch? Bin am verzweifeln.
Eigentlich sollte doch nichts kompliziertes dabei sein. Aber ich denke, ich habe irgendwo einen Fehler drin.
Danke für die Hilfe
Bluebird.