Go Down

Topic: Arduino 0018 now available. (Read 14 times) previous topic - next topic

mellis

Arduino 0018 is now available from the downloads page.  Changes below.

[core / libraries]

* Added tone() and noTone() functions for frequency generation.
* Added Serial.end() command.
* Added precision parameter for printing of floats / doubles.
* Incorporated latest version of Firmata.
* Fixed bug w/ disabling use of the RW pin in the LiquidCrystal library.
* No longer disabling interrupts in delayMicroseconds().
* Fixed bug w/ micros() returning incorrect values from within an interrupt.
* Fixed bug that broke use of analog inputs 8-15 on the Mega.

[environment]

* Synchronized with the Processing 1.0.9 code base, bringing various fixes,
 including to a bug causing saving to fail when closing the last sketch.

* Added support for third-party hardware in the SKETCHBOOK/hardware folder,
 mirroring the current structure of the hardware folder in Arduino.

* Added Ctrl-Shift-M / Command-Shift-M shortcut for serial monitor.

* Hold down shift when pressing the Verify / Compile or Upload toolbar
 buttons to generate verbose output (including command lines).

* Moving build (on upload) from the applet/ sub-folder of the sketch
 to a temporary directory (fixing problems with uploading examples from
 within the Mac OS X disk image or a Linux application directory).

* Fixed bug the prevented the inclusion of .cpp and .h (or .c and .h) files
 of the same name in a sketch.

* Improved the Mac OS X disk image (.dmg): added a shortcut to the
 Applications folder, a background image with arrow, and new FTDI drivers.

wally123

Where can i find more details on:
Quote
* Added tone() and noTone() functions for frequency generation.
* Added Serial.end() command.
* Added precision parameter for printing of floats / doubles.
* Added support for third-party hardware in the SKETCHBOOK/hardware folder,
mirroring the current structure of the hardware folder in Arduino.


How to change this back as in 017 ?
Quote
* Moving build (on upload) from the applet/ sub-folder of the sketch
to a temporary directory (fixing problems with uploading examples from
within the Mac OS X disk image or a Linux application directory).


eried

#2
Jan 30, 2010, 09:43 am Last Edit: Jan 30, 2010, 10:15 am by eried Reason: 1
Cool! thanks

Well, is not Windows 7 friendly yet  ;D but my workaround works well with 0018: http://servicios.ried.cl/win7_arduino_0018.rar
(to get the arduino icon on the taskbar/right context menu)

And for those who experience delays opening the "Tools" menu or when the ide starts in Windows: http://erwin.ried.cl/files/articles/arduino_bluetooth_001/rxtxSerial-2.2_fixed_2009-08-04.rar

Greets
My website: http://ried.cl

mem

Quote
Moving build (on upload) from the applet/ sub-folder of the sketch
to a temporary directory (fixing problems with uploading examples from
within the Mac OS X disk image or a Linux application directory).


What happened to the .elf file?

With the option to "Delete previous applet or application folder on export" unchecked, the .o files can be found in the applet directory but not the .elf file

Please give me back my .elf files

KenH

Quote
Moving build (on upload) from the applet/ sub-folder of the sketch
to a temporary directory


Does that mean I can not have access to the hex file that is compiled?  Then, Please give us back the ability to have the build hex file for loading via a standard programmer when not in the arduino board.

Pretty  please?? :'( :-/

Ken H>

noonv

what about users libraries from directory  sketchbook/libraries ?
why they hav'nt load?  :-/

Nachtwind

Nice changes to the codebase. But still a few annoyances keep existing.. i know they are primarily IDE (so processing) based, but hey, on a mature product like Arduino minor bugs may be handled by the dev team...

- Open File Dialog: A new window is created when a file is loaded
- Shift+Backspace work as DEL...

Two big things for my personal wishlist to be changed... or to be at least toggable..
Believe me, Mike, I calculated the odds of this succeeding against the odds I was doing something incredibly stupid[ch8230] and I went ahead

knuckles904

I can second Nachtwinds post. The first reason is why im still using 0016, and #2 has plagued me forever. I dont even care if the fixes are official, i just want a way to KO those two "features." Great idea for the serial monitor hotkey, are there hotkeys for compile or upload tho?

Lupus

#8
Feb 01, 2010, 02:34 pm Last Edit: Feb 01, 2010, 02:36 pm by Lupus Reason: 1
Quote
* Added support for third-party hardware in the SKETCHBOOK/hardware folder,
mirroring the current structure of the hardware folder in Arduino.

How to use this feature? SKETCHBOOK/hardware and/or SKETCHBOOK/hardware/libraries is not in the compiler include path!
:-?
Quote
* Hold down shift when pressing the Verify / Compile or Upload toolbar
buttons to generate verbose output (including command lines).
Thanks for that! This was on top of my wish-list!

mellis

The .hex (and .elf, etc) files are still generated, just in a temporary directory.  Hold down shift while clicking the upload or compile button and you'll get the command line, which includes the path to these files.

estranged

#10
Feb 01, 2010, 05:08 pm Last Edit: Feb 01, 2010, 05:10 pm by estranged Reason: 1
Quote

What happened to the .elf file?

With the option to "Delete previous applet or application folder on export" unchecked, the .o files can be found in the applet directory but not the .elf file

Please give me back my .elf files

Speaking for OS X, it looks like the elf file gets written to temp space:

Code: [Select]
/private/var/folders/k2/k21y-zUCHVSPleISvzUf7U+++TI/-Tmp-/build2413601118337222057.tmp/

The build directories look like they get cleaned up when you quit Arduino, so drag files out before quitting.


KenH

#12
Feb 02, 2010, 01:18 am Last Edit: Feb 02, 2010, 01:43 am by KenH Reason: 1
Quote
The build directories look like they get cleaned up when you quit Arduino, so drag files out before quitting.


OK, we can at least get to them - what propose did it serve to change the applet folder so the project files (hex, etc) are not just stored there?

Edit: Just because I fuss a bit about the hex file being relocated to a temp folder - I wish to make clear I appreciate VERY much all the work and effort by the development team for the work done.

Ken H>

cwhitto

Hey guys/girls,

Can we get a description of how the "precision parameter for printing of floats / doubles" works.



Thanks in advance
cwhitto

cwhitto

Found it in the....print.cpp file.

for those who want to know here is an example.


void setup() {
 Serial.begin(9600);

}

void loop() {

float pi = 3.14156;

Serial.println(pi,3);
delay (2000);

}

This will print 3.142 as the function rounds up or down as needed.

cwhitto

Go Up