Vorstellung Leiterplatte für ePaper Displays (z.B. 7,5") inkl. Driver
Moderator: Co-Administratoren
-
- Beiträge: 179
- Registriert: 04.05.2020, 21:31
- System: CCU
- Hat sich bedankt: 16 Mal
- Danksagung erhalten: 8 Mal
Re: Vorstellung Leiterplatte für ePaper Displays (z.B. 7,5") inkl. Driver
Ja richtig, sehe ich auch so.
Moment.... Ah ja,
haste recht.
Seht ihr im scetch ne einfache möglichkeit das zu ändern.
Also dsodas taster aktive bei "high" erkannt wird?
Müsste ich nicht löten...
Gruß
Kai
Moment.... Ah ja,
haste recht.
Seht ihr im scetch ne einfache möglichkeit das zu ändern.
Also dsodas taster aktive bei "high" erkannt wird?
Müsste ich nicht löten...
Gruß
Kai
-
- Beiträge: 12115
- Registriert: 20.11.2016, 20:01
- Hat sich bedankt: 848 Mal
- Danksagung erhalten: 2150 Mal
- Kontaktdaten:
Re: Vorstellung Leiterplatte für ePaper Displays (z.B. 7,5") inkl. Driver
Probier mal aus Zeile 528FrankenKai hat geschrieben: ↑16.04.2021, 18:39Seht ihr im scetch ne einfache möglichkeit das zu ändern.
Code: Alles auswählen
class DispChannel : public RemoteChannel<Hal, PEERS_PER_CHANNEL, DispList0, DispList1> {
Code: Alles auswählen
class DispChannel : public RemoteChannel<Hal, PEERS_PER_CHANNEL, DispList0, DispList1, StateButton<LOW,HIGH,INPUT>> {
-
- Beiträge: 179
- Registriert: 04.05.2020, 21:31
- System: CCU
- Hat sich bedankt: 16 Mal
- Danksagung erhalten: 8 Mal
Re: Vorstellung Leiterplatte für ePaper Displays (z.B. 7,5") inkl. Driver
Code: Alles auswählen
Arduino: 1.8.13 (Windows 10), Board: "ATmega1284, Yes (UART0), Standard pinout, 1284P, BOD disabled, LTO disabled, External 8 MHz"
HB-Dis-EP-75BW:540:114: error: wrong number of template arguments (5, should be at least 2)
class DispChannel : public RemoteChannel<Hal, PEERS_PER_CHANNEL, DispList0, DispList1, StateButton<LOW,HIGH,INPUT>> {
^~
In file included from D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:62:0:
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Remote.h:30:7: note: provided for 'template<class HALTYPE, int PEERCOUNT, class List0Type, class List1Type> class as::RemoteChannel'
class RemoteChannel : public Channel<HALTYPE,List1Type,EmptyList,DefList4,PEERCOUNT,List0Type>, public Button {
^~~~~~~~~~~~~
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino: In constructor 'DispChannel::DispChannel()':
HB-Dis-EP-75BW:545:22: error: class 'DispChannel' does not have any field named 'RemoteChannel'
DispChannel () : RemoteChannel(), msgBufferIdx(0) {}
^~~~~~~~~~~~~
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino: In function 'void setup()':
HB-Dis-EP-75BW:818:24: error: 'class DispChannel' has no member named 'changed'
sdev.dispChannel().changed(true);
^~~~~~~
In file included from C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Remote.h:9:0,
from D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:62:
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'void as::VirtChannel<HalType, ChannelType, List0Type>::setup(as::Device<HalType, List0Type>*, uint8_t, uint16_t) [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0; uint8_t = unsigned char; uint16_t = unsigned int]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:400:88: error: 'class DispChannel' has no member named 'setup'
virtual void setup(Device<HalType,List0Type>* dev,uint8_t number,uint16_t addr) { ch.setup(dev,number,addr); }
~~~^~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'uint16_t as::VirtChannel<HalType, ChannelType, List0Type>::size() const [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0; uint16_t = unsigned int]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:401:46: error: 'const class DispChannel' has no member named 'size'
virtual uint16_t size () const { return ch.size(); }
~~~^~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'uint8_t as::VirtChannel<HalType, ChannelType, List0Type>::number() const [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0; uint8_t = unsigned char]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:402:47: error: 'const class DispChannel' has no member named 'number'
virtual uint8_t number () const { return ch.number(); }
~~~^~~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'uint16_t as::VirtChannel<HalType, ChannelType, List0Type>::address() const [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0; uint16_t = unsigned int]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:403:49: error: 'const class DispChannel' has no member named 'address'
virtual uint16_t address () const { return ch.address(); }
~~~^~~~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'uint8_t as::VirtChannel<HalType, ChannelType, List0Type>::peers() const [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0; uint8_t = unsigned char]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:404:46: error: 'const class DispChannel' has no member named 'peers'
virtual uint8_t peers () const { return ch.peers(); }
~~~^~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'bool as::VirtChannel<HalType, ChannelType, List0Type>::changed() const [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:405:45: error: 'const class DispChannel' has no member named 'changed'
virtual bool changed () const { return ch.changed(); }
~~~^~~~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'void as::VirtChannel<HalType, ChannelType, List0Type>::changed(bool) [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:406:38: error: 'class DispChannel' has no member named 'changed'
virtual void changed (bool c) { ch.changed(c); }
~~~^~~~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'void as::VirtChannel<HalType, ChannelType, List0Type>::inhibit(bool) [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:407:42: error: 'class DispChannel' has no member named 'inhibit'
virtual void inhibit (bool value) { ch.inhibit(value); }
~~~^~~~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'bool as::VirtChannel<HalType, ChannelType, List0Type>::inhibit() const [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:408:45: error: 'const class DispChannel' has no member named 'inhibit'
virtual bool inhibit () const { return ch.inhibit(); }
~~~^~~~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'bool as::VirtChannel<HalType, ChannelType, List0Type>::aesActive() const [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:409:47: error: 'const class DispChannel' has no member named 'aesActive'
virtual bool aesActive () const { return ch.aesActive(); }
~~~^~~~~~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'bool as::VirtChannel<HalType, ChannelType, List0Type>::has(const as::Peer&) const [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:410:54: error: 'const class DispChannel' has no member named 'has'
virtual bool has (const Peer& p) const { return ch.has(p); };
~~~^~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'as::Peer as::VirtChannel<HalType, ChannelType, List0Type>::peer(uint8_t) const [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0; uint8_t = unsigned char]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:411:53: error: 'const class DispChannel' has no member named 'peer'
virtual Peer peer (uint8_t idx) const { return ch.peer(idx); }
~~~^~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'bool as::VirtChannel<HalType, ChannelType, List0Type>::peer(const as::Peer&) [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:412:49: error: 'class DispChannel' has no member named 'peer'
virtual bool peer (const Peer& p) { return ch.peer(p); }
~~~^~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'bool as::VirtChannel<HalType, ChannelType, List0Type>::peer(const as::Peer&, const as::Peer&) [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:413:65: error: 'class DispChannel' has no member named 'peer'
virtual bool peer (const Peer& p1,const Peer& p2) { return ch.peer(p1,p2); }
~~~^~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'bool as::VirtChannel<HalType, ChannelType, List0Type>::deletepeer(const as::Peer&) [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:414:55: error: 'class DispChannel' has no member named 'deletepeer'
virtual bool deletepeer (const Peer& p) { return ch.deletepeer(p); }
~~~^~~~~~~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'void as::VirtChannel<HalType, ChannelType, List0Type>::firstinit() [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:415:34: error: 'class DispChannel' has no member named 'firstinit'
virtual void firstinit () { ch.firstinit(); }
~~~^~~~~~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'void as::VirtChannel<HalType, ChannelType, List0Type>::stop() [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:418:29: error: 'class DispChannel' has no member named 'stop'
virtual void stop () { ch.stop(); };
~~~^~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'uint8_t as::VirtChannel<HalType, ChannelType, List0Type>::status() [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0; uint8_t = unsigned char]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:424:41: error: 'class DispChannel' has no member named 'status'
virtual uint8_t status () { return ch.status(); }
~~~^~~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'void as::VirtChannel<HalType, ChannelType, List0Type>::patchStatus(as::Message&) [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:427:48: error: 'class DispChannel' has no member named 'patchStatus'
virtual void patchStatus (Message& msg) { ch.patchStatus(msg); }
~~~^~~~~~~~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'as::GenericList as::VirtChannel<HalType, ChannelType, List0Type>::getList1() const [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:430:53: error: 'const class DispChannel' has no member named 'getList1'
virtual GenericList getList1 () const { return ch.getList1(); }
~~~^~~~~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'as::GenericList as::VirtChannel<HalType, ChannelType, List0Type>::getList2() const [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:431:53: error: 'const class DispChannel' has no member named 'getList2'
virtual GenericList getList2 () const { return ch.getList2(); }
~~~^~~~~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'as::GenericList as::VirtChannel<HalType, ChannelType, List0Type>::getList3(const as::Peer&) const [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:432:66: error: 'const class DispChannel' has no member named 'getList3'
virtual GenericList getList3 (const Peer& p) const { return ch.getList3(p); }
~~~^~~~~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'as::GenericList as::VirtChannel<HalType, ChannelType, List0Type>::getList4(const as::Peer&) const [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:433:66: error: 'const class DispChannel' has no member named 'getList4'
virtual GenericList getList4 (const Peer& p) const { return ch.getList4(p); }
~~~^~~~~~~~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'bool as::VirtChannel<HalType, ChannelType, List0Type>::hasList3() const [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:434:64: error: 'hasList3' is not a member of 'DispChannel'
virtual bool hasList3 () const { return ChannelType::hasList3(); }
~~~~~~~~~~~~~~~~~~~~~^~
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h: In instantiation of 'bool as::VirtChannel<HalType, ChannelType, List0Type>::hasList4() const [with HalType = Hal; ChannelType = DispChannel; List0Type = DispList0]':
D:\daten\homatic\HB-Dis-EP-75BW-master_15042021\HB-Dis-EP-75BW-master\HB-Dis-EP-75BW\HB-Dis-EP-75BW.ino:1026:1: required from here
C:\Users\Kai\Documents\Arduino\libraries\AskSinPP/Channel.h:435:64: error: 'hasList4' is not a member of 'DispChannel'
virtual bool hasList4 () const { return ChannelType::hasList4(); }
~~~~~~~~~~~~~~~~~~~~~^~
Mehrere Bibliotheken wurden für "AskSinPP.h" gefunden
Benutzt: C:\Users\Kai\Documents\Arduino\libraries\AskSinPP
Nicht benutzt: C:\Users\Kai\Documents\Arduino\libraries\AskSinPP-master
Nicht benutzt: C:\Users\Kai\Documents\Arduino\libraries\AskSinPP-4
exit status 1
wrong number of template arguments (5, should be at least 2)
Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.
-
- Beiträge: 12115
- Registriert: 20.11.2016, 20:01
- Hat sich bedankt: 848 Mal
- Danksagung erhalten: 2150 Mal
- Kontaktdaten:
Re: Vorstellung Leiterplatte für ePaper Displays (z.B. 7,5") inkl. Driver
Hast du die neueste AskSinPP Lib installiert?
-
- Beiträge: 179
- Registriert: 04.05.2020, 21:31
- System: CCU
- Hat sich bedankt: 16 Mal
- Danksagung erhalten: 8 Mal
Re: Vorstellung Leiterplatte für ePaper Displays (z.B. 7,5") inkl. Driver
Geht leider nicht so einfach.
V 5.0.0 aber nicht head.
V 5.0.0 aber nicht head.
-
- Beiträge: 12115
- Registriert: 20.11.2016, 20:01
- Hat sich bedankt: 848 Mal
- Danksagung erhalten: 2150 Mal
- Kontaktdaten:
Re: Vorstellung Leiterplatte für ePaper Displays (z.B. 7,5") inkl. Driver
Habs grad mal kompilieren können.
Geht. Muss dann noch irgendwas bei dir (veraltet) sein. EDIT: Zur Erklärung
RemoteChannel hat default für den letzten weggelassenen Parameter als ButtonType "Button" übergeben.
https://github.com/pa-pa/AskSinPP/blob/ ... mote.h#L29
"Button" ist als StateButton<HIGH,LOW,INPUT_PULLUP> definiert.
https://github.com/pa-pa/AskSinPP/blob/ ... ton.h#L220
Mein Änderungsvorschlag übergibt nun als letzten Parameter nun den StateButton mit "umgekehrter" Logik wie beim Button
Geht. Muss dann noch irgendwas bei dir (veraltet) sein. EDIT: Zur Erklärung
RemoteChannel hat default für den letzten weggelassenen Parameter als ButtonType "Button" übergeben.
https://github.com/pa-pa/AskSinPP/blob/ ... mote.h#L29
"Button" ist als StateButton<HIGH,LOW,INPUT_PULLUP> definiert.
https://github.com/pa-pa/AskSinPP/blob/ ... ton.h#L220
Mein Änderungsvorschlag übergibt nun als letzten Parameter nun den StateButton mit "umgekehrter" Logik wie beim Button
Zuletzt geändert von jp112sdl am 16.04.2021, 19:51, insgesamt 1-mal geändert.
-
- Beiträge: 179
- Registriert: 04.05.2020, 21:31
- System: CCU
- Hat sich bedankt: 16 Mal
- Danksagung erhalten: 8 Mal
Re: Vorstellung Leiterplatte für ePaper Displays (z.B. 7,5") inkl. Driver
Welcher scetch ist das genau?
Der 4.2 oder der 7,5?
Der 4.2 oder der 7,5?
-
- Beiträge: 179
- Registriert: 04.05.2020, 21:31
- System: CCU
- Hat sich bedankt: 16 Mal
- Danksagung erhalten: 8 Mal
Re: Vorstellung Leiterplatte für ePaper Displays (z.B. 7,5") inkl. Driver
OK super.
Bei mir hatten sich schon die zeilennummern etwas verschoben.
Hat leider nicht viewl geändert.
Bei mir hatten sich schon die zeilennummern etwas verschoben.
Hat leider nicht viewl geändert.
Code: Alles auswählen
_wakeUp Power On : 128648
drawPaged : 4139752
_sleep Power Off : 41504
ignore 0F 5A 84 53 4EAE02 BA4BC3 00 C1 00 00 03 20 - 17825
<- 0E 01 A2 10 4EAEC8 BA4BC3 06 09 00 00 64 - 17864
-> 0A 01 80 02 BA4BC3 4EAEC8 00 - 17999
waitAck: 01
01 debounce
01 pressed
01 longpressed
<- 0B 04 86 40 4EAEC8 BA4BC3 41 00 - 18565
01 longpressed
<- 0B 05 86 40 4EAEC8 BA4BC3 41 00 - 18624
01 longpressed
<- 0B 06 86 40 4EAEC8 BA4BC3 41 00 - 18685
-
- Beiträge: 179
- Registriert: 04.05.2020, 21:31
- System: CCU
- Hat sich bedankt: 16 Mal
- Danksagung erhalten: 8 Mal
Re: Vorstellung Leiterplatte für ePaper Displays (z.B. 7,5") inkl. Driver
Zumcompelieren hats den Head von AskSin++ gebraucht.
Vertauschen von HIGH und LOW, ändert leider auch nix.
Gruß
Kai
Vertauschen von HIGH und LOW, ändert leider auch nix.
Gruß
Kai