MCPcopy Create free account
hub / github.com/DanielOgorchock/ST_Anything / dec2binWzerofill

Method dec2binWzerofill

Arduino/libraries/RCSwitch/RCSwitch.cpp:797–799  ·  view source on GitHub ↗

* Turns a decimal value to its binary representation */

Source from the content-addressed store, hash-verified

795 * Turns a decimal value to its binary representation
796 */
797char* RCSwitch::dec2binWzerofill(unsigned long Dec, unsigned int bitLength){
798 return dec2binWcharfill(Dec, bitLength, '0');
799}
800
801char* RCSwitch::dec2binWcharfill(unsigned long Dec, unsigned int bitLength, char fill){
802 static char bin[64];

Callers 1

sendMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected