Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: Kylepowers on December 06, 2009, 09:15:55 PM

Title: $50 Robot programing
Post by: Kylepowers on December 06, 2009, 09:15:55 PM
I was woundering what language is the $50 robot programed in? Second can I use Robotbasic to program it? If not dose any one know how to translate Robotbasic to the proper language?
Title: Re: $50 Robot programing
Post by: GearMotion on December 07, 2009, 06:18:25 AM
RobotBASIC is a scripting and simulation that runs on a PC. It isn't a cross-compiling language that runs on the embedded microcontroller.
Title: Re: $50 Robot programing
Post by: z.s.tar.gz on December 07, 2009, 06:59:47 AM
The 50 dollar robot is programmed in C, and no.
Title: Re: $50 Robot programing
Post by: GearMotion on December 07, 2009, 08:42:16 AM
You could program the controller in a dialect of BASIC.

BASCOM, for example, is BASIC for the AVR. http://www.mcselec.com/ (http://www.mcselec.com/)
Title: Re: $50 Robot programing
Post by: Kylepowers on December 07, 2009, 12:44:06 PM
Ok thanks but then i have another question since I am new to programing when making my programs how do I use .h files and so on?
Title: Re: $50 Robot programing
Post by: SmAsH on December 13, 2009, 10:58:06 PM
well, you use a compiler to "compile" all of the bits of code into a .hex code that gets uploaded to the microcontroller.