|
FastLED 3.9.15
|
#include "fl/stl/stdint.h"
Include dependency graph for pin.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | fl |
| Base definition for an LED controller. | |
Enumerations | |
| enum class | fl::AdcRange { fl::Default = 0 , fl::Range0_1V1 , fl::Range0_1V5 , fl::Range0_2V2 , fl::Range0_3V3 , fl::Range0_5V , fl::External } |
| ADC voltage range configuration. More... | |
| enum class | fl::PinMode { fl::Input = 0 , fl::Output , fl::InputPullup , fl::InputPulldown } |
| Pin mode configuration. More... | |
| enum class | fl::PinValue { fl::Low = 0 , fl::High = 1 } |
| Digital pin value. More... | |
Functions | |
| u16 | fl::analogRead (int pin) |
| Read analog value from pin. | |
| void | fl::analogWrite (int pin, u16 val) |
| Write analog value to pin (PWM) | |
| void | fl::analogWrite16 (int pin, u16 val) |
| Alias for setPwm16 - Set PWM duty cycle with 16-bit resolution. | |
| PinValue | fl::digitalRead (int pin) |
| Read digital value from pin. | |
| void | fl::digitalWrite (int pin, PinValue val) |
| Write digital value to pin. | |
| u32 | fl::getPwmFrequency (int pin) |
| Query the configured PWM frequency for a pin. | |
| void | fl::pinMode (int pin, PinMode mode) |
| Set pin mode (input, output, pull-up, pull-down) | |
| int | fl::pwmEnd (int pin) |
| Release PWM channel and stop output on a pin. | |
| void | fl::setAdcRange (AdcRange range) |
| Set ADC voltage range. | |
| void | fl::setPwm16 (int pin, u16 val) |
| Set PWM duty cycle with 16-bit resolution. | |
| int | fl::setPwmFrequency (int pin, u32 frequency_hz) |
| Set PWM frequency for a pin. | |