Català-Valencià - Catalan
中文 - Chinese (Simplified)
中文 - Chinese (Traditional)
Česky - Czech
Dansk - Danish
Nederlands - Dutch
English - English
Suomi - Finnish
Français - French
Deutsch - German
עברית - Hebrew
हिंदी - Hindi
Magyar - Hungarian
Bahasa Indonesia - Indonesian
Italiano - Italian
日本語 - Japanese
한국어 - Korean
Македонски - Macedonian
मराठी - Marathi
Norsk - Norwegian
Polski - Polish
Português - Portuguese
Português - Portuguese (Brazil)
Русский - Russian
Slovenčina - Slovak
Slovenščina - Slovenian
Español - Spanish
Svenska - Swedish
Türkçe - Turkish
Українська - Ukrainian
Oëzbekcha - Uzbek
Subversion Repositories
shark
(root)
/
demos
/
trunk
/
servo
/
servo.c
@ 1204
- Rev 1196
Rev
Rev 1195
|
Blame
|
Compare with Previous
|
Last modification
|
View Log
|
RSS feed
#include "kernel/kern.h"
#include "servo.h"
int
main
(
)
{
int
res
;
servo_open
(
SERVO_COM2
)
;
res
=
servo_set_angle_sec
(
0
,
ANGLE2SEC
(
45
,
0
,
0
)
)
;
cprintf
(
"Res = %d"
,
res
)
;
servo_close
(
)
;
return
0
;
}