Posted by jaCK Hobson on 09/11/2014 10:21:25:
Posted by Iain Campbell on 05/11/2014 13:57:05:
A"But I can do that with a PIC**F**…"
Iain
I 'played' with PICs, The Arduino environment is just much easier and quicker to develop in. If you already know PICs and assembler, have favourite libraries of code etc then maybe stick with them. If you are coming new and want to dabble then Arduino is much more accessible than PIC.
It all just works. You can get the whole thing running and blitz through 10 tutorials in a morning. If you don't know any programming, C is easier to tweak than assembler…
Jack,
I know and I completely agree. If you read the rest of what I wrote, you'll see that I did say I've been using PICs for years and have enough knowledge and kit for them that I can't justify using Arduinos, hence "But I can do that with a PIC…". You'll also see I did say they were great for people who were just starting out and didn't have knowledge of things like PICs, AVR's, Stamps, etc.
As for software bloat, I'm not talking about the PC but on the chip itself. To be so easy to use and accessible, there must be a level of auto code generation used by Arduino dev system, right? Auto code generation is never the most efficient of things. And if you need a cross assembler as well (writing in C needs one, which Arduino provides) then it can get worse. Cross assemblers are notorious for adding extra steps in the chip's code that are not really needed. This all takes up memory and processing time. Not an issue for the OP's application, but may be a problem for more complicated projects.
Jack, I think you've taken my post and assumed I'm anti-Arduino. I'm not. Far from it, I like them a lot. They are extremely useful and they are perfect for people starting out. I know many electronics engineers who use them for prototyping because of the ease of development and I would look at using them myself, if I didn't have the kit for something else already – hence my second post in this thread ( I was pricing up while finding links for this thread… well, I am a geek, and geeks can never have TOO much dev kit! )
Iain
*Cross assembler: translator between high level languages like C/BASIC/ADA, etc., and assembly/machine code.