ninjablocks / 433Utils

433Kit is a collection of code and documentation designed to assist you in the connection and usage of RF 433MHz transmit and receive modules to/with your Arduino and Rapberry Pi.
ninjablocks.com
MIT License
903 stars 335 forks source link

added "repeatTransmit" parameter to codesend #60

Closed chrisEff closed 4 years ago

chrisEff commented 6 years ago

Hi guys,

RCSwitch has a "repeatTransmit" setting where you can tell it how often to repeat a code that you want to send. It defaults to 10. Unfortunately 10 times doesn't seem to be enough to always reliably control my window shutters. Since codesend didn't have a parameter for that yet, I added one.

Now that we have three optional parameters already, it would be cool, if we could convert them into the "--" notation like this: ./codesend 12345678 --repeatTransmit=10 So that if you only want the last one, you don't always have to pass them all.

But since my C skills are VERY limited, I have no idea how to do that. Maybe you could help me out here? :-)

Cheers, Chris

chrisEff commented 5 years ago

Hey there,

it's been a while already. Any response would be appreciated. :-)

Thanks in advance, Chris

chrisEff commented 4 years ago

Ok, I'm considering this repo dead now. But I'd at least like to keep this PR open indefinitely, so that others who might stumble upon my change and find it useful can benefit from it.

The only problem is that it's based off of my repo's master, which means I can't push to my master without changing this PR.

And since it doesn't seem to be possible to change a PR's source branch, I'll close this one and create it again from another branch in my repo...