by clusher » Thu Sep 18, 2008 10:24 am
by clusher
Thu Sep 18, 2008 10:24 am
No, not at all.
Matlab can communicate through the serial port, so you can transmit the number directly to the CM5. Maybe you should send a message with a header (like sending "clap x", where x is the number) and have your C program to recognize the header "clap", read "x" and clap that many times.
About programming in C, you should read the documentation and some other posts in the forum. The main idea is to download Win-AVR (a compiler) and use Programmers Notepad to make the code and the makefile. Base the code in the example.c that comes in the Bioloid CD (although it has some errors) and in other examples you may find around here, and the makefile too.
Then you have to use Robot Terminal to upload it to the CM5. And it's a go :p
No, not at all.
Matlab can communicate through the serial port, so you can transmit the number directly to the CM5. Maybe you should send a message with a header (like sending "clap x", where x is the number) and have your C program to recognize the header "clap", read "x" and clap that many times.
About programming in C, you should read the documentation and some other posts in the forum. The main idea is to download Win-AVR (a compiler) and use Programmers Notepad to make the code and the makefile. Base the code in the example.c that comes in the Bioloid CD (although it has some errors) and in other examples you may find around here, and the makefile too.
Then you have to use Robot Terminal to upload it to the CM5. And it's a go :p