⚲
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
rpii2c.h
1
2
#ifndef RPII2C_H
3
#define RPII2C_H
4
5
class
RpiI2C
6
{
7
public
:
8
RpiI2C
();
9
10
RpiI2C
(
int
deviceId);
11
12
~RpiI2C
();
13
14
int
Read();
15
16
void
Write(
int
value);
17
18
void
WriteReg8(
int
reg,
int
value);
19
20
int
ReadReg8(
int
reg);
21
22
void
WriteReg16(
int
reg,
int
value);
23
24
int
ReadReg16(
int
reg);
25
26
private
:
27
int
mDeviceId;
28
int
mFileHandler;
29
};
30
31
#endif
//RPII2C_H
RpiI2C
Definition
rpii2c.h:6
Generated by
1.9.8
Loading...