MCPcopy Create free account
hub / github.com/FastLED/FastLED / analogWrite16

Function analogWrite16

src/fl/system/pin.h:104–106  ·  view source on GitHub ↗

Alias for setPwm16 - Set PWM duty cycle with 16-bit resolution @param pin Pin number (platform-specific numbering) @param val PWM duty cycle (0-65535, platform-specific maximum)

Source from the content-addressed store, hash-verified

102/// @param pin Pin number (platform-specific numbering)
103/// @param val PWM duty cycle (0-65535, platform-specific maximum)
104inline void analogWrite16(int pin, u16 val) {
105 setPwm16(pin, val);
106}
107
108/// Set ADC voltage range
109/// @param range Voltage range for analog readings

Callers

nothing calls this directly

Calls 1

setPwm16Function · 0.70

Tested by

no test coverage detected