To save space, the Arduino has no floating point support in printf/scanf routines. Adding it is possible, but increases your program size by a good 1500 bytes.
1500 bytes out of 256K is a small price to pay .....
I am begining to see the shortcomings of Arduino VS proper development platform like Atmel Studio and MPXLAB but can also see it is useful for quickie developments/ trials.
Will the DUE support real double values and proper encoding/decoding I wonder, be a shame to waste all that processing power without doing some serious number crunching.
I know what you mean. The Duemilanove had the same problem. This is where that 1500 bytes really makes a difference.
Flash Memory 16 KB (ATmega168) or 32 KB (ATmega328) of which 2 KB used by bootloader
That would be almost 10% of the memory just to print floats.
Argh! Stupid Arduino. Why can't a Mega be a Mega? Why have the same board, but with different chips? That's just barmy.
Calm down the mega board was released first using a 1280P chip, then later the mega2560 replaced it. You are looking at product evolution not desire to confuse you.
It would be much less confusing to give it a different name, like the Arduino Giga or Arduino Uber or something.
That's almost as bad as the ZX Spectrum +2, +2, and +2 (actually +2, +2A and +2B, all different, and all with incompatibilities.)
Can't talk about the ZX Spectrum, but the arduino platform has done a pretty good job of document and supporting both existing products and legacy. You just need to do a little more research on the subject IMHO.
Lefty
Oh, it's not personal confusion I'm worried about. It's when people say they have a mega you don't know which one they are talking about. And when you google for the mega, all you find is the 1280 mega, not the 2560 mega.
majenko:
Oh, it's not personal confusion I'm worried about. It's when people say they have a mega you don't know which one they are talking about. And when you google for the mega, all you find is the 1280 mega, not the 2560 mega.
Funny, I googled on "arduino mega" and see mostly mega2560 boards links. What search term did you use?
I google for Arduino Mega - first result takes you to the old mega. Yes, the mega2560 is listed there as the mega2560 - nothing really to tell you what is what, so you click on the mega link, and it tells you about the old one. Nothing on the old board's page to say it's been superseded by the 2560.
majenko:
I google for Arduino Mega - first result takes you to the old mega. Yes, the mega2560 is listed there as the mega2560 - nothing really to tell you what is what, so you click on the mega link, and it tells you about the old one. Nothing on the old board's page to say it's been superseded by the 2560.
Well your complaints seem pretty minor to me, but then it probably matters how long one has been following the arduino platform rather then if one joined at a later date. The product pace (for both new additions and newer revisions of older products) has been pretty hectic in recent years and the software IDE and supplied 'standard' libraries have been in a constant state of flux also. I still think they do a pretty good job of documentation as time has passed, but maybe not as perfect as you would wish.
I have to agree with Lefty..... only found out about Arduino a few weeks ago but am impressed by the quality of both the development platform and the boards.
As I said there are a few shortcomings in the functionality of the compiler but that apart its an excellent way to get a project off the ground and flying as I have found out already with one completed project using the ATmega2560.
I have already been playing with the DUE (well the microchip version MAX32) now thats a VERY good platform, would be nice if Arduino was extended for that one to do full double precision and ascii encoding decoding but the microchip MPLABX does.
I have a project that will require 4th and 5th order curve fitting routines and they WILL require true double precision but already have the board driving a CCD array and collecting data from it in less than a day!