MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / setMicrosPerByte

Method setMicrosPerByte

libraries/RS485/RS485.cpp:105–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103
104
105void RS485::setMicrosPerByte(uint32_t baudRate)
106{
107 // count 11 bits / byte
108 _microsPerByte = (11 * 1000000UL) / baudRate;
109}
110
111
112

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64