Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
105
void RS485::setMicrosPerByte(uint32_t baudRate)
106
{
107
// count 11 bits / byte
108
_microsPerByte = (11 * 1000000UL) / baudRate;
109
}
110
111
112
Callers
1
unittest
Function · 0.80
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.64