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

Change PulseLength #51

Open willgower opened 6 years ago

willgower commented 6 years ago

I need to be able to send some decimal codes with a pulse length of 183 microseconds, and others with the default of 352. How can i achieve this?

I am currently sending the commands by

sudo ./codesend 5526844

Thanks in advance

Obnergnaw commented 5 years ago

You could define your protocol in RCSwitch.cpp, and compile these files. The complete command of codesend is ./codesend decimal [protocol] [pulse length]. Good luck.