FastLED 3.9.7
Loading...
Searching...
No Matches
fl::DigitalPin Class Reference

Detailed Description

Definition at line 19 of file digital_pin.h.

Public Types

enum  Mode { kInput = 0 , kOutput }
 

Public Member Functions

 DigitalPin (int pin)
 
 DigitalPin (const DigitalPin &other)
 
DigitalPinoperator= (const DigitalPin &other)
 
 DigitalPin (DigitalPin &&other)=delete
 
void setPinMode (Mode mode)
 
bool high () const
 
void write (bool is_high)
 

Member Enumeration Documentation

◆ Mode

enum fl::DigitalPin::Mode

Definition at line 21 of file digital_pin.h.

Constructor & Destructor Documentation

◆ DigitalPin()

fl::DigitalPin::DigitalPin ( int pin)

Definition at line 80 of file digital_pin.cpp.

Member Function Documentation

◆ high()

bool fl::DigitalPin::high ( ) const

Definition at line 92 of file digital_pin.cpp.

◆ setPinMode()

void fl::DigitalPin::setPinMode ( Mode mode)

Definition at line 88 of file digital_pin.cpp.

◆ write()

void fl::DigitalPin::write ( bool is_high)

Definition at line 96 of file digital_pin.cpp.


The documentation for this class was generated from the following files: