Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ maxValue
Method
maxValue
libraries/MCP_DAC/MCP_DAC.h:40–40 ·
view source on GitHub ↗
255 (8 bit) or 1023 (10 bit) or 4095 (12 bit)
Source
from the content-addressed store, hash-verified
38
uint8_t channels() { return _channels; };
39
// 255 (8 bit) or 1023 (10 bit) or 4095 (12 bit)
40
uint16_t maxValue() { return _maxValue; };
41
42
// gain = 1 or 2
43
bool setGain(uint8_t gain = 1);
Callers
1
unittest
Function · 0.45
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.36