Finch C API
1
Documentation for the Finch's C Library
Main Page
Files
File List
Globals
Source Only
Finch
Finch.h
Go to the documentation of this file.
1
#ifndef FINCH_H
2
#define FINCH_H
3
5
#define _LINUX_
6
8
#ifdef _LINUX_
9
#define Sleep(mm) usleep(mm*1000)
10
#endif
11
20
int
Fin_Init
(
void
);
21
29
int
Fin_Exit
(
void
);
30
44
int
Fin_Motor
(
int
tenth,
int
left,
int
right);
45
56
int
Fin_Move
(
int
tenth,
int
left,
int
right );
57
66
int
Fin_Speed
(
int
*left,
int
*right);
67
78
int
Fin_LED
(
int
red,
int
green,
int
blue);
79
90
int
Fin_Buzzer
(
int
msec,
int
freq);
91
101
int
Fin_Lights
(
int
*left,
int
*right);
102
112
int
Fin_Obstacle
(
int
*left,
int
*right);
113
122
int
Fin_Temp
(
float
*temp);
123
136
int
Fin_Accel
(
float
*x,
float
*y,
float
*z,
int
*tap,
int
*shake);
137
138
139
#ifdef _LINUX_
140
int
kbhit
(
void
);
141
#endif
142
143
#endif
/* FINCH_H */
Generated on Fri Dec 7 2012 10:39:12 for Finch C API by
1.8.2