FastLED 3.10.9
Loading...
Searching...
No Matches

◆ analogRead()

u16 fl::analogRead ( int pin)

Read analog value from pin.

Parameters
pinPin number (platform-specific numbering)
Returns
Analog value (0-1023 for 10-bit ADC, 0-4095 for 12-bit ADC)

Definition at line 17 of file analog_read.cpp.hpp.

17 {
18 return (platforms::analogRead)(pin);
19}

References analogRead(), and FL_NO_EXCEPT.

Referenced by analogRead(), and fl::PotentiometerLowLevel::read().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: