-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
This is an awesome useful piece of code, exactly what I am looking for. I successfully used as it is on my Arduino Nano with INT0 (pin2)
My problem after successful protocol detection is how to implement the suggested Timing specification proposal:
makeTimingSpec< #, 10, 20, 34,1038, 35, 99, 100, 32, false>,
I understood to make a change in "ProtocolDefinition.hpp" according to this:
static const RxProtocolTable <
// #, clk, %, syA, syB, d0A,d0B, d1A,d1B, inverseLevel
/* * makeTimingSpec< 1, 350, 20, 1, 31, 1, 3, 3, 1, false>, // (PT2262)
* makeTimingSpec< 2, 650, 20, 1, 10, 1, 3, 3, 1, false>, // ()
* makeTimingSpec< 3, 100, 20, 30, 71, 4, 11, 9, 6, false>, // ()
* makeTimingSpec< 4, 380, 20, 1, 6, 1, 3, 3, 1, false>, // ()
* makeTimingSpec< 5, 500, 20, 6, 14, 1, 2, 2, 1, false>, // ()
* makeTimingSpec< 6, 450, 20, 1, 23, 1, 2, 2, 1, true>, // (HT6P20B)
* makeTimingSpec< 7, 150, 20, 2, 62, 1, 6, 6, 1, false>, // (HS2303-PT)
* makeTimingSpec< 8, 200, 20, 3, 130, 7, 16, 3, 16, false>, // (Conrad RS-200)
* makeTimingSpec< 9, 365, 20, 1, 18, 3, 1, 1, 3, true>, // (1ByOne Doorbell)
* makeTimingSpec< 10, 270, 20, 1, 36, 1, 2, 2, 1, true>, // (HT12E)
* makeTimingSpec< 11, 320, 20, 1, 36, 1, 2, 2, 1, true> // (SM5212) */
makeTimingSpec< 12, 10, 20, 34, 1038, 35, 99, 100, 32, false> // (EV1527)<---### This line I added.
> rxProtocolTable;
But this gives the following compiler error:
C:\Users\User\Documents\Arduino\libraries\RcSwitchReceiver\src/ProtocolDefinition.hpp:150:15: error: 'RxProtocolTable' does not name a type
static const RxProtocolTable <
^~~~~~~~~~~~~~~
I tried with all the makeTimingSpec<...> lines un-commented: the same error message...
I know it is my lack of enough knowledge in C++.
Could you please direct me what change (maybe more changes) I need exactly to succeed my remote controller EV1527 recognition?
Thank you very much indeed.
Regards: Janos
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels