/demos/trunk/servo/time.c |
---|
File deleted |
/demos/trunk/servo/load.c |
---|
15,7 → 15,7 |
seme = sys_gettime(NULL); |
srand(seme); |
servo_open(COM2, 115200); |
servo_open(COM2, 19200); |
/*cprintf("servo_set_RS232_baudrate\n"); |
res = servo_set_RS232_baudrate(COM2, 9600); |
/demos/trunk/servo/ctrl.c |
---|
1,12 → 1,8 |
/* |
* Project: S.Ha.R.K. |
* |
* Coordinators: Giorgio Buttazzo <giorgio@sssup.it> |
* |
* Authors : Paolo Gai <pj@hartik.sssup.it> |
* (see authors.txt for full list of hartik's authors) |
* |
* ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy) |
* |
* http://www.sssup.it |
43,7 → 39,7 |
int res; |
char ch; |
servo_open(COM2, 115200); |
servo_open(COM2, 19200); |
/*cprintf("servo_set_RS232_baudrate\n"); |
res = servo_set_RS232_baudrate(COM2, 115200); |
/demos/trunk/servo/makefile |
---|
7,7 → 7,7 |
endif |
include $(BASE)/config/config.mk |
PROGS = ctrl time load |
PROGS = ctrl load |
include $(BASE)/config/example.mk |
14,8 → 14,5 |
ctrl: |
make -f $(SUBMAKE) APP=ctrl INIT= OTHEROBJS="initfile.o" OTHERINCL= SHARKOPT="__OLDCHAR__ __SERVO__" |
time: |
make -f $(SUBMAKE) APP=time INIT= OTHEROBJS="initfile.o" OTHERINCL= SHARKOPT="__OLDCHAR__ __SERVO__" |
load: |
make -f $(SUBMAKE) APP=load INIT= OTHEROBJS="initfile.o" OTHERINCL= SHARKOPT="__OLDCHAR__ __SERVO__" |