⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
rpiGPIO
All Projects
Scol
»
rpiGPIO
Overview
Activity
Roadmap
Issues
Spent time
Gantt
Calendar
News
Documents
Wiki
Files
Repository
API Documentation
Raspberry PI GPIO Scol plugin
G:
work
subversion
scol-technologies
trunk
scol
plugins
rpiGPIO
include
rpiPCA9685.h
1
2
#ifndef RPIPCA9685_H
3
#define RPIPCA9685_H
4
5
6
class
RpiPCA9685
7
{
8
public
:
9
RpiPCA9685
(
int
deviceId = 0x40,
int
pinBase = 300,
int
frequency = 50);
10
11
~RpiPCA9685
();
12
13
int
PwmRead(
int
pin);
14
15
void
PwmWrite(
int
pin,
int
value);
16
17
void
Reset();
18
19
void
SetFrequency(
int
frequency);
20
21
void
FullOn(
int
pin);
22
23
void
FullOff(
int
pin);
24
25
private
:
26
int
mPinBase;
27
int
mDeviceId;
28
int
mFileHandler;
29
};
30
31
#endif
//RPIPCA9685_H
RpiPCA9685
Definition
rpiPCA9685.h:7
Generated by
1.9.8
Loading...