I have just read the thread "Picaxe based Segway project". I noticed that a Picaxe chip may not be fast enough to operate
this project.
I am aware that the Programming Editor has the capability to compile code to assembler and that Tech Supplies list the BAS800 Pic Programmer.
So it appears possible to perfect a program in Basic, test it out on a Picaxe, and after correcting any errors to compile the program into Assember
and program a PIC chip. Is this correct?
If this is the case (and assuming the PIC chip and Picaxe chip are the same basic chip) will there be any speed advantage in using the PIC chip.
I am assuming that both run a simple program that just switches a port on and off repeatedly to provide a square wave output for example.
Is the PC chip running the assembled hex code faster in operation than the Picaxe chip running its interpreted program. If this is correct is it possible to say
how much faster a PIC chip could theoretically operate at?
I am interested to see what the forum members have to say.
Many thanks Clockwork
this project.
I am aware that the Programming Editor has the capability to compile code to assembler and that Tech Supplies list the BAS800 Pic Programmer.
So it appears possible to perfect a program in Basic, test it out on a Picaxe, and after correcting any errors to compile the program into Assember
and program a PIC chip. Is this correct?
If this is the case (and assuming the PIC chip and Picaxe chip are the same basic chip) will there be any speed advantage in using the PIC chip.
I am assuming that both run a simple program that just switches a port on and off repeatedly to provide a square wave output for example.
Is the PC chip running the assembled hex code faster in operation than the Picaxe chip running its interpreted program. If this is correct is it possible to say
how much faster a PIC chip could theoretically operate at?
I am interested to see what the forum members have to say.
Many thanks Clockwork