Pages: [1]   Go Down
Author Topic: Arduino 1.0 Beta Release  (Read 12073 times)
0 Members and 1 Guest are viewing this topic.
North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sounds like Arduino 1.0 Beta is out, go get it now (and 64-bit linux is there too smiley-grin)

Windows: http://files.arduino.cc/downloads/arduino-1.0-beta1.zip
Mac OS X: http://files.arduino.cc/downloads/arduino-1.0-beta1.dmg
Linux (32-bit): http://files.arduino.cc/downloads/arduino-1.0-beta1.tgz
Linux (64-bit): http://files.arduino.cc/downloads/arduino-1.0-beta1-64.tgz
Source: http://files.arduino.cc/downloads/arduino-1.0-beta1-src.tar.gz
Logged

Portugal
Offline Offline
God Member
*****
Karma: 6
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What is the difference?
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17263
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What is the difference?

http://code.google.com/p/arduino/wiki/Arduino1

http://code.google.com/p/arduino/issues/list?can=1&q=Milestone%3D1.0+status%3AFixed

Code: https://github.com/arduino/Arduino/tree/new-extension
Logged

Espoo, Finland
Offline Offline
God Member
*****
Karma: 7
Posts: 586
"Oops, try again..."
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

When users were asked about changes wanted for the new version, is there anything new, really?

And why can't they design button that would be nice to use, now they have just changed places and are still looking as illogical as before.

Oh, this is just the Beta, and the final version gets the improvements on the user interface too?
 smiley-roll

EDIT. Btw, why is the preferences still located in the same old folder, that is so stupid solution. If I wan't to use two IDE's at the same time, they are using the same preference-file for both.

Cheers,
Kari
« Last Edit: May 21, 2011, 05:22:38 am by GaryP » Logged


The only law for me; Ohms Law: U=R*I       P=U*I
Note to self: "Damn! Why don't you just fix it!!!"

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 72
Posts: 7175
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'll wait for enough guinea pigs to test the water. I just recently upgraded from 0018/19 to 0022. Not ready to make another upgrade yet. I hope the weird "lacking space between text and left window edge" is fixed. It's an eye sour.
Logged


Newcastle, England
Offline Offline
Sr. Member
****
Karma: 3
Posts: 489
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The arduino beta IDE is awkward when writing libraries. In the    hardware > arduino > cores > arduino > main    file is the code that is uploaded onto the arduino. The beta-version is below:

Code:
#define ARDUINO_MAIN
#include <Arduino.h>

int main(void)
{
init();

setup();
   
for (;;)
loop();
       
return 0;
}


In the non-beta IDEs, the code is

Code:
#include <WProgram.h>

int main(void)
{
init();

setup();
   
for (;;)
loop();
       
return 0;
}


Notice the #include bit at the top. It is #include <WProgram.h> in the non-beta IDEs, and #include <Arduino.h> in the beta version. When writing a library, you use the #include <Arduino.h> or #include <WProgram.h> at the top to allow your library access to all the arduino functions. The #include <Arduino.h> statement only works on the beta version (I think), and the #include <WProgram.h> statement only works on the non-beta IDEs. To get a library to work on both versions, you need two different versions of the library, which is simply annoying.

Onions.
Logged

My website: http://www.harryrabbit.co.uk/electronics/home.html Up and running now! (Feel free to look round!) smiley-grin

Global Moderator
The Netherlands
Offline Offline
Sr. Member
*****
Karma: 1
Posts: 287
don't panic...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

On the mailing list the following snippet came by.

Code:
#if defined(ARDUINO) && ARDUINO >= 100
  #include "Arduino.h"
#else
  #include "WProgram.h"
#endif

Regards,
Jeroen
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 72
Posts: 7175
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

So Onions,

The Wprogram.h is removed and replaced by Arduino.h?

I suppose you can Ctrl+A then Ctrl+C in Arduino.h and Ctrl+V in an empty file and save it as Wprogram.h

You will have to do this for every new IDE release since things may change inside the Arduino.h

Or can you simple set up a Wprogram.h so its first line is #inlucde <Arduino.h> ?
Logged


Newcastle, England
Offline Offline
Sr. Member
****
Karma: 3
Posts: 489
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
The Wprogram.h is removed and replaced by Arduino.h?

Yes, it is, which is annoying.

Quote
I suppose you can Ctrl+A then Ctrl+C in Arduino.h and Ctrl+V in an empty file and save it as Wprogram.h
You will have to do this for every new IDE release since things may change inside the Arduino.h

Yes, that should work. The only problem is that I cannot find arduino.h or WProgram.h ...   smiley-red

Onions.
Logged

My website: http://www.harryrabbit.co.uk/electronics/home.html Up and running now! (Feel free to look round!) smiley-grin

Dallas, TX USA
Offline Offline
Faraday Member
**
Karma: 63
Posts: 2648
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

On the mailing list the following snippet came by.

Code:
#if defined(ARDUINO) && ARDUINO >= 100
  #include "Arduino.h"
#else
  #include "WProgram.h"
#endif

Regards,
Jeroen

One potential big problem with that (unless they changed things in 1.0) is that the define ARDUINO is hard coded in the JAVA code.
After release 0016 the ARDUINO define was removed from a header file and hard coded into the JAVA code as a -D option to
the compiler. Because of this, people that want to use Makefiles (not use the IDE) have no way of knowing which version of Arduino software
they are dealing with.

I'll have to go off and look at the 1.0 files and see what they have done.

UPDATE:
Yep, Still doing stuff in Java rather than using a define in a header file:
https://github.com/arduino/Arduino/blob/new-extension/app/src/processing/app/Base.java
https://github.com/arduino/Arduino/blob/new-extension/app/src/processing/app/debug/Compiler.java

--- bill
« Last Edit: August 04, 2011, 01:24:41 am by bperrybap » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is there any news about Arduino 1.0 release date?
Logged

Torino, Italy
Offline Offline
Sr. Member
****
Karma: 2
Posts: 309
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

They are currently in release candidate 2 state. See http://code.google.com/p/arduino/wiki/Arduino1 for the download links and more informations.
Logged

Pages: [1]   Go Up
Jump to: