Switch / If Statement revisited
On Fri, 2 Mar 2001 02:02:58 -0800, you wrote:
Because they're cheap, available and familiar.
>>Other controllers are much better for larger apps.
Not if the app will fit a smaller one - ok it maybe easier to do some
things on bigger chips if you have that luxury, but component cost and
power consumption are almost always major issues.
>>Maybe my opinion will change but I still think PIC
>>C programming is a poor solution.
Horses for courses. It all depends on the application. For low-level
bit-bashing C is terrible and ASM is usually much quicker to write,
but doing lots of maths or complicated flow-control is a royal pain in
asm. I use Asm unless there is a good reason to use C, and then often do
the twiddly bits in ASM. Fortunately most MCU C compilers allow bits
of ASM to be added very easily without having to mess with linkers
etc. Now if only someone would do it the other way round and write an
assembler that allowed little bits of C to be included....!
http://www.piclist.com hint: To leave the PICList
In reply to: <184.108.40.206.20010302020221.009b4330@mail.ARMAnet.com>
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the