Go Down

Topic: Arduino 0013 released. (Read 5 times) previous topic - next topic


I just uploaded Arduino 0013.  Get it from the download page.

Changes include:

[documentation / examples]
* Adding examples for Parallax Ping Sensor and Memsic 2125 accelerometer.

[core / libraries]
* Adding support for printing floats to Print class (meaning that it works
 in the Serial, Ethernet, and LiquidCrystal classes too).  Includes two
 decimal places.
* Added word, word(), bitRead(), bitWrite(), bitSet(), bitClear(), bit(),
 lowByte(), and highByte(); see reference for details.
* Working around problem that caused PWM output on pins 5 and 6 to never go
 to 0 (causing, for example, an LED to continue to glow faintly).
* Removing cast macros, since function-style casts are a feature of C++.  This
 should fix contributed libraries that broke in Arduino 0012.
* Modifying pulseIn() to wait for a transition to start timing (i.e. ignoring
 any pulse that had already started when the function was called).
* Fixing bug in random() that limited the ranges of values generated.  Thanks
 to Mikal Hart.
* Modifying delay() to pause for at least the given number of milliseconds.
* Fixing bug in Ethernet library that interfered with use of pins 8 and 9.
* Originating each outgoing network connection from a different port (in the
 Client class of the Ethernet library).  Thanks to Paul and joquer.
* Updating ATmega168 bootloader to work with standard distributions of avrdude
 (responding to signature requests made with the universal SPI command) and
 correctly store EEPROM data.  Thanks to ladyada.
* Adding support for the ATmega328.  The upload speed is 57600 baud, so you
 may need to edit boards.txt or reburn your bootloader if you bought an
 ATmega328 w/ bootloader from adafruit or other supplier.

* Omitting unused functions from compiled sketches, reducing their size.
* Changing compilation process to allow for use of EEMEM directive (although
 not yet uploading EEPROM data).


Feb 06, 2009, 08:34 pm Last Edit: Feb 07, 2009, 10:45 am by retrolefty Reason: 1
Thank you for all your effort in this project, I'm sure it's a labor of love, but a labor still  ;)

I editied the board.txt to change for my 328 to 19200 baud rate and it came right up. Now I've got to figure out if it's possible to make the changes that my version 12 has to support my Sanguino chip, but that may be beyond my ablities. I was using a modified version 11 IDE when working with my 328 and version 12 IDE when working with the Sanguino. I was hoping that I could work all in one IDE version when 13 was released but we will have to see. At least I can leave version 11 now.

Thanks again

EDIT: Well I made the changes to 13, adding Sanguino stuff and it works! Finally I can use 168, 328 & 644 all in one version. I'm happy!



Thanks for the great work.

Waiting patiently for AMD64 :-)
• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!


Thanks to all who brought us this new release.   :)

A few preliminary findings when compiling one of my biggest sketches:

I got the dreaded "byte does not name . . ." when I compiled with 0013.

So I included "WProgram.h" in the main tab and it compiled fine.

(I also found I couldn't include "WProgram.h" and compile with 0011.

The big news for me was, contrary to everything I know about the software word, my sketch was smaller under the new version!  :D (It went from 13934 to 13394 - 540 bytes less! Yahoo!)

Thanks again for the new release. Now I don't have to feel guilty about skipping 0012.
"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom."
~ Clifford Stoll


Nice one!

Ive just tried the linux version on Ubuntu 8.10.

One bug.
The only problem I found was that /hardware/tools/avrdude.conf didnt contain the 328p stuff.
Once I added that it worked a treat.

Now I can get on with it without having to use the dreaded windows.


Go Up