Comments (6)
In code, use one of:
void setProtocol(Protocol protocol);
void setProtocol(int nProtocol);
void setProtocol(int nProtocol, int nPulseLength);
Is that what you're asking for?
from rc-switch.
My protocol:
pulselength = 320;
Sync bit = 36 low pulses and 1 high pulses;
"0" bit = 1 low pulse and 2 high pulses;
"1" bit = 2 low pulses and 1 high pulse;
key = 24 bit
from rc-switch.
Prompt me how to change the protocol for this. Thank you.
from rc-switch.
You can define your own instance of the Protocol
struct with the parameters you just described, and then use the first of the three setProtocol
methods mentioned by @rotv
from rc-switch.
I need to change the cpp file?
from rc-switch.
Wait, in your protocol, the low pulses are first, the high pulses second?
Then you need something like #49, I am afraid, as RCSwitch does not yet support this out of the box.
from rc-switch.
Related Issues (20)
- Cant receive anything with receive demo HOT 1
- Small contribution
- SURNICE: receiver and transmitter HOT 1
- Protocol 6 optimization doubt
- A modest proposal - expose the interrupt so a user can write a callback function.
- How to add a new protocol for my RF receiver HOT 1
- SimpleRCScanner return error 500
- Switch does not respond
- SimpleRCScanner returning random numbers with no RF signal (no button pressed) HOT 1
- 433MHz 4-button code copy
- Repeat received code
- Dooya DD2702H two way protocol
- Can it support sending 5 bytes of data
- I am a little stuck as I think I have a variable bit count protocol appears manchester?
- Have anyone try Rcswitch with esp32c3 supermini HOT 2
- Library don't work
- Codes decoded with ReceiveDemo_Advanced seem to be incomplete and do not work when used for sending HOT 3
- CH32X035 how to work HOT 1
- Pulseview conversion to match RC-Switch Decode
- Need help decoding 433 signals
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rc-switch.