Society of Robots - Robot Forum
Software => Software => Topic started by: Razor Concepts on October 14, 2008, 04:39:44 PM
-
I've been looking at building this:
http://www.rc-cam.com/lma.htm
Plus some other interesting projects that guy has made. All of his projects use PIC, but I want to use AVR. Do all microcontrollers generally have the same features? The circuit on that lost model alarm is surprsingly simple, so I was wondering if I could just pop in a ATtiny25 and rewire it a little to get it to work.
Also the guy only releases the hex file for the PIC, so we dont have any readable code to look at.
-
Yes, and usually faster (comparing 8 bit avrs to 8 bit pics). Assembly wise, it's easier, too.
You must be an expert in both assembly languages (or be extremely patient and with a lot of reference around) to convert a hex from one format to another. It's doable, but it a hardcore job.
Way easier just to rewrite the code.
Or just use a PIC, if you want the functionality.
-
;D hai
what assamble language is more difficult AVR or PIC?
-
Assembly is the same, as C is the same, Basic is the same. The only thing that differs is the actual hardware of the microcontroller, which has different registers and functions for each micro, even in the same family of micros.