Control Surface  1.1.1
MIDI Control Surface library for Arduino
Public Member Functions | Private Attributes | List of all members
DigitalCCSender Class Reference

#include <MIDI_Senders/DigitalCCSender.hpp>

Collaboration diagram for DigitalCCSender:

Public Member Functions

 DigitalCCSender (uint8_t onValue=0x7F, uint8_t offValue=0x00)
 
void sendOn (MIDICNChannelAddress address)
 
void sendOff (MIDICNChannelAddress address)
 
uint8_t getOnValue () const
 
void setOnValue (uint8_t onValue)
 
uint8_t getOffValue () const
 
void setOffValue (uint8_t offValue)
 

Private Attributes

uint8_t onValue
 
uint8_t offValue
 

Detailed Description

Definition at line 7 of file DigitalCCSender.hpp.

Constructor & Destructor Documentation

◆ DigitalCCSender()

DigitalCCSender ( uint8_t  onValue = 0x7F,
uint8_t  offValue = 0x00 
)
inline

Definition at line 9 of file DigitalCCSender.hpp.

Member Function Documentation

◆ sendOn()

void sendOn ( MIDICNChannelAddress  address)
inline

Definition at line 12 of file DigitalCCSender.hpp.

◆ sendOff()

void sendOff ( MIDICNChannelAddress  address)
inline

Definition at line 15 of file DigitalCCSender.hpp.

◆ getOnValue()

uint8_t getOnValue ( ) const
inline

Definition at line 19 of file DigitalCCSender.hpp.

◆ setOnValue()

void setOnValue ( uint8_t  onValue)
inline

Definition at line 20 of file DigitalCCSender.hpp.

◆ getOffValue()

uint8_t getOffValue ( ) const
inline

Definition at line 21 of file DigitalCCSender.hpp.

◆ setOffValue()

void setOffValue ( uint8_t  offValue)
inline

Definition at line 22 of file DigitalCCSender.hpp.

Member Data Documentation

◆ onValue

uint8_t onValue
private

Definition at line 25 of file DigitalCCSender.hpp.

◆ offValue

uint8_t offValue
private

Definition at line 26 of file DigitalCCSender.hpp.


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