Pages: [1] 2 3 ... 5   Go Down
Author Topic: Arduino 0018 now available.  (Read 8679 times)
0 Members and 2 Guests are viewing this topic.
Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 9
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 148
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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).
Logged

Chile
Offline Offline
Edison Member
*
Karma: 32
Posts: 1233
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: January 30, 2010, 04:15:28 am by eried » Logged

My website: http://ried.cl

London
Offline Offline
Faraday Member
**
Karma: 8
Posts: 6240
Have fun!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Mobile, AL
Offline Offline
Sr. Member
****
Karma: 0
Posts: 314
CAUTION!-Slow Learner
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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>
Logged

Kaliningrad, Russia
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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


Bonn, Germany
Offline Offline
God Member
*****
Karma: 0
Posts: 903
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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..
Logged

Believe me, Mike, I calculated the odds of this succeeding against the odds I was doing something incredibly stupid[ch8230] and I went ahead

Florida
Offline Offline
Full Member
***
Karma: 0
Posts: 171
1 Cor 10:31
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 16
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
« Last Edit: February 01, 2010, 08:36:17 am by Lupus » Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 9
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

U of A, Tucson, AZ
Offline Offline
Full Member
***
Karma: 0
Posts: 164
Hello World
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
/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.
« Last Edit: February 01, 2010, 11:10:35 am by estranged » Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

tiny support?
Logged


Mobile, AL
Offline Offline
Sr. Member
****
Karma: 0
Posts: 314
CAUTION!-Slow Learner
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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>
« Last Edit: February 01, 2010, 07:43:27 pm by KenH » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 24
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys/girls,

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



Thanks in advance
cwhitto
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 24
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1] 2 3 ... 5   Go Up
Jump to: