Project

General

Profile

Raspberry PI GPIO Scol plugin
RpiPin Class Reference

Public Member Functions

 RpiPin (int pin, int mode)
 
void SetPullUpDnControl (int mode)
 
void DigitalWrite (int value)
 
int DigitalRead ()
 
void AnalogWrite (int value)
 
int AnalogRead ()
 
void PwmWrite (int value)
 
void threadLoop ()
 

Detailed Description

Definition at line 11 of file rpipin.h.

Constructor & Destructor Documentation

◆ RpiPin() [1/2]

RpiPin::RpiPin ( )

Definition at line 19 of file rpipin.cpp.

◆ RpiPin() [2/2]

RpiPin::RpiPin ( int  pin,
int  mode 
)

Definition at line 23 of file rpipin.cpp.

◆ ~RpiPin()

RpiPin::~RpiPin ( )

Definition at line 46 of file rpipin.cpp.

Member Function Documentation

◆ AnalogRead()

int RpiPin::AnalogRead ( )

Definition at line 143 of file rpipin.cpp.

◆ AnalogWrite()

void RpiPin::AnalogWrite ( int  value)

Definition at line 124 of file rpipin.cpp.

◆ DigitalRead()

int RpiPin::DigitalRead ( )

Definition at line 115 of file rpipin.cpp.

◆ DigitalWrite()

void RpiPin::DigitalWrite ( int  value)

Definition at line 108 of file rpipin.cpp.

◆ PwmWrite()

void RpiPin::PwmWrite ( int  value)

Definition at line 159 of file rpipin.cpp.

◆ SetPullUpDnControl()

void RpiPin::SetPullUpDnControl ( int  mode)

Definition at line 101 of file rpipin.cpp.

◆ threadLoop()

void RpiPin::threadLoop ( )

Definition at line 71 of file rpipin.cpp.


The documentation for this class was generated from the following files:
  • G:/work/subversion/scol-technologies/trunk/scol/plugins/rpiGPIO/include/rpipin.h
  • G:/work/subversion/scol-technologies/trunk/scol/plugins/rpiGPIO/src/rpipin.cpp