极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 9250|回复: 7

IDE 1.0.3与IDE 0022的区别是什么?

[复制链接]
发表于 2013-6-7 15:20:12 | 显示全部楼层 |阅读模式
请高手帮忙,我有两段程序,一段是WIFI发送数据的,在0022里编译通过,1.0.3编译报错,另一段是12864显示数据的程序,在0022编译报错,1.0.3编译通过,现在要把这两段程序程序整合在一起,两个版本都不行,修改了编译器定位的错误后,出现了“编译出错”,没有错误定位,只有一个路径的提示,有没有哪位朋友遇到过这种情况啊,帮忙提示一下这是什么问题啊!
回复

使用道具 举报

发表于 2013-6-8 08:43:06 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2013-6-8 08:46:49 | 显示全部楼层
ARDUINO 1.0.3 - 2012.12.10

[hardware]

* Added support for the Arduino Esplora

[environment]

* Signed application for MacOSX 10.8

[core]

* Fixed power-up-starts-bootloader in Leonardo (and derivative)
  bootloaders. (Kristian Lauszus)
  (https://github.com/arduino/Arduino/pull/118)

* Fixed digital_pin_to_timer_PGM array in Leonardo variant.

* Published updated Wifi firmware

* Updated source code for atmega8 bootloader

[libraries]

* Added 600 baud support in SoftwareSerial (Sébastien Jean)
  (http://github.com/arduino/Arduino/issues/1146)

ARDUINO 1.0.2 - 2012.11.05

[hardware]

* Added support for the Arduino Micro.

* Added support for the LilyPad Arduino USB.

* For Arduino Mega, having avrdude use "wiring" not "stk500v2" for
  uploads (to improve auto-reset behavior).
  http://code.google.com/p/arduino/issues/detail?id=806

[environment]

* Find-In-Reference now works whether or not text is selected.
  http://code.google.com/p/arduino/issues/detail?id=940

* Not generating prototypes for functions that already have them.
  (Lars J. Nielsen).
  http://code.google.com/p/arduino/issues/detail?id=973

* Improved line numbers for error messages. (Paul Stoffregen)
  http://code.google.com/p/arduino/issues/detail?id=907

* Automatically create libraries folder in the sketchbook.
  (Paul Stoffregen)
  http://code.google.com/p/arduino/issues/detail?id=986

* Tutorial on installing libraries (linked from readme.txt in the
  libraries folder). (Limor Fried)

* Fix to allow selection of Norwegian. (Rune Fauske)

* Fix to race condition / occasional error in compilation. (gandrewstone)
  http://code.google.com/p/arduino/issues/detail?id=950

* Don't break long C++ comments during auto-format.
  http://code.google.com/p/arduino/issues/detail?id=255

[core / libraries]

* Included WiFi library and wifi shield firmware.

* Added ability to specify serial configuration (data bits, stop bits
  and parity check) in Serial.begin(). (Alarus)
  http://code.google.com/p/arduino/issues/detail?id=770

* Avoided overruns of the incoming serial (CDC) buffer on the Leonardo.
  (Peter Van Hoyweghen)

* Avoided auto-reset of the Leonardo when opening serial port after
  upload without specifying a baud rate. (Peter Van Hoyweghen)

* Fix for tone() on the Leonardo. (Shigeru Kanemoto)
  http://code.google.com/p/arduino/issues/detail?id=960

* Fix for SD library on Leonardo.
  http://code.google.com/p/arduino/issues/detail?id=931

* Added other write functions on Leonardo.
  http://code.google.com/p/arduino/issues/detail?id=958

* Added support for Leonardo interrupts 2 and 3. (Kristian Lauszus)

* Print ovf, inf, or nan accordingly in Serial.print(). (Nick Gammon)
  http://code.google.com/p/arduino/issues/detail?id=946
  http://code.google.com/p/arduino/issues/detail?id=961
  http://code.google.com/p/arduino/issues/detail?id=967

* Fix initialization of SPI data lines. (gandrewstone)
  http://code.google.com/p/arduino/issues/detail?id=888

* Serial.flush() waits for last byte to transmit. (michele.mazzucchi)
  http://code.google.com/p/arduino/issues/detail?id=871

* Adding overloads so Serial.write(0) works.
  http://code.google.com/p/arduino/issues/detail?id=1006

[build]

* Fix Linux arduino script when there are spaces in directory name.

* Pass Linux command line arguments from arduino script through to the
  Java code. (Allows specifying sketch to open on command line.)

[examples]

* Included examples for the starter kit.

ARDUINO 1.0.1 - 2012.05.21

[environment]

* The IDE has been internationalized and translated into multiple languages.
  Thanks to Shigeru Kanemoto for the internationalization and Japanese
  translation and many others for the other translations.  For more
  information, see: http://arduino.cc/playground/Main/LanguagesIDE

* Added preference for selecting the language in which to display the
  Arduino software.  Defaults to the operating system locale.  

* New upload process for the Arduino Leonardo (ATmega32U4).

* The editor font size preference now applies to the serial monitor and
  error / message console as well as the editor.  (Paul Stoffregen)
  http://code.google.com/p/arduino/issues/detail?id=550

* Compilation has been speeded up by only compiling changed files.  (All
  files are recompiled when a new board is selected.)  (Paul Stoffregen)
  http://code.google.com/p/arduino/issues/detail?id=638

* Console log files (stdout.txt and stderr.txt) are now removed when the
  Arduino software exits.  (Paul Stoffregen)

* The minimum size for the Arduino software window has been reduced.
  http://code.google.com/p/arduino/issues/detail?id=52

* Improvements to the Find / Replace dialog.  (Peter Lewis)
  http://code.google.com/p/arduino/issues/detail?id=825

* Support for selecting words (on double-click) and lines (triple-click)
  in the Arduino software.  (Peter Lewis)
  http://code.google.com/p/arduino/issues/detail?id=824

* Don't insert newline when using serial monitor keyboard
  shortcut. (Lars J. Nielsen)
  http://code.google.com/p/arduino/issues/detail?id=279

* Added a preference for disabling verification on upload (for increased
  speed).  (Nathan Seidle)
  http://code.google.com/p/arduino/issues/detail?id=842

* Added the gcc toolchain to the Linux distribution.  (To use the
  toolchain already installed on your system, simply delete the one
  that comes with the Arduino software.)  (Paul Stoffregen)
  http://code.google.com/p/arduino/issues/detail?id=300

* Updating Arduino Mini upload protocol to 'arduino' from 'stk500' (should
  fix problems with auto-reset not working).

[core / libraries]

* Updated (and official) support for the Arduino Leonardo (ATmega32U4).
  Includes new bootloader and various fixes to the core.  

* Adding overloads to Wire.write() (for Wire.write(0)). (Paul Stoffregen)
  http://code.google.com/p/arduino/issues/detail?id=527

* Fixing delayMicroseconds() for 20 MHz clocks (Erdem U. Altinyurt)
  http://code.google.com/p/arduino/issues/detail?id=306

* Support third external interrupt on ATmega1284P. (maniacbug)
  http://code.google.com/p/arduino/issues/detail?id=728

* Update reference voltage constants for ATmega1284P. (maniacbug)
  http://code.google.com/p/arduino/issues/detail?id=728

* Adding --relax linker flag for ATmega2560. (arducopter)
  http://code.google.com/p/arduino/issues/detail?id=729

* Fixing Ethernet library bug on avr-gcc 4.5.1 (SurferTim)
  http://code.google.com/p/arduino/issues/detail?id=605

* Fixed DHCP hostname generation. (peter)

* Simplifying microseconds to clock cycles conversions (Rob Tillaart)
  http://code.google.com/p/arduino/issues/detail?id=675

* Fixed various warnings.  (maniacbug)
  http://code.google.com/p/arduino/issues/detail?id=688

* Fixed bug w/ repeated initial characters in findUntil().  (Jeffery.zksun)
  http://code.google.com/p/arduino/issues/detail?id=768

* Added INPUT_PULLUP option for pinMode().  The INPUT mode now explicitly
  disables the pullup resistors.  (Paul Stoffregen)
  http://code.google.com/p/arduino/issues/detail?id=246

* Fixing bug in the receiving of multiple UDP packets.  (dylan and peter)
  http://code.google.com/p/arduino/issues/detail?id=669

* Added ability to generate repeated starts in the Wire library (in
  master mode).  Extra boolean parameters to endTransmission() and
  requestFrom() control whether or not to send a stop (or a repeated
  start instead).  (Todd Krein)
  http://code.google.com/p/arduino/issues/detail?id=663

* Added Ethernet.maintain() to renew DHCP leases.  (Peter Magnusson)
  http://code.google.com/p/arduino/issues/detail?id=716

* Fix for CLOSE_WAIT bug that could cause Ethernet sketches to crash
  over time.  (mr-russ and Johann Richard)

* Fix to servo pulse timing calculation. (jwatte)
  http://code.google.com/p/arduino/issues/detail?id=908

* Added readString() and readStringUntil() functions.  (Adrian McEwen)
  http://code.google.com/p/arduino/issues/detail?id=454

[examples]

* Updated to latest ArduinoISP sketch. (rsbohn)
  http://code.google.com/p/arduino/issues/detail?id=378

* Fixed ArduinoISP sketch by lowering delay() in heartbeat.

* Other updates.

ARDUINO 1.0 - 2011.11.30

[environment]

* The file extension for sketches has changed from .pde to .ino, to avoid
  conflicts with the Processing software ("ino" are the last three letters
  in "Arduino").

* There are a new set of toolbar icons, including a checkmark icon to
  verify (compile) a sketch and an arrow for upload. The serial monitor
  icon has moved to the right of the toolbar. Also, shift-clicking the
  upload icon now uploads using a programmer (selected in the Tools menu).
  You can still enable verbose output in the preferences dialog. (Icons
  were designed by Nicholas Zambetti.)

* There’s a new color scheme and about image for the IDE (by ToDo.to.it).

* The name of the currently selected board and serial port are now shown
  at the bottom of the editor. (Code from Wiring.)

* A progress bar is displayed during compilation and upload. (from Wiring.)

[core / libraries]

* Serial transmission is now asynchronous - that is, calls to
  Serial.print(), etc. add data to an outgoing buffer which is transmitted
  in the background. Also, the Serial.flush() command has been repurposed
  to wait for outgoing data to be transmitted, rather than dropping
  received incoming data.

* The behavior of Serial.print() on a byte has been changed to align it
  with the other numeric data types. In particular, it will now print
  the digits of its argument as separate ASCII digits (e.g. '1', '2', '3')
  rather than a single byte. The BYTE keyword has been removed. To send a
  single byte of data, use Serial.write() (which is present in Arduino 0022
  as well).

* The Serial class (as well as other classes inheriting from Stream, like
  EthernetClient, SoftwareSerial, Wire and more) now contains functions
  for parsing incoming data, based on the TextFinder library by Michael
  Margolis. They include find() and findUntil() to search for data,
  parseInt() and parseFloat() for converting incoming characters into
  numeric values, and readBytes() and readBytesUntil() for reading
  multiple bytes into a buffer. They use a timeout that can be set with the
  new setTimeout().

* The SoftwareSerial class has been reimplemented, using the code originally
  written for the NewSoftSerial library by Mikal Hart. This allows for
  multiple simultaneous instances, although only one can receive at a time.

* Support has been added for printing strings stored in flash (program
  memory) rather than RAM. Wrap double-quoted strings in F() to indicate
  that they should be stored in flash, e.g. Serial.print(F("hello world")).

* The String class has been reimplemented as well, by Paul Stoffregen. This
  new version is more memory-efficient and robust. Some functions which
  previously returned new string instances (e.g. trim() and toUpperCase())
  have been changed to instead modify strings in place.

* Support for DHCP and DNS has been added to the Ethernet library, thanks
  to integration by Adrian McEwen. Most classes in the Ethernet library
  have been renamed to add a "Ethernet" prefix and avoid conflicts with
  other networking libraries. In particular, "Client" is now
  "EthernetClient", "Server" is "EthernetServer", and "UDP" is
  "EthernetUDP". A new IPAddress class makes it easier to manipulate
  those values.

* The UDP API has been changed to be more similar to other libraries.
  Outgoing packets are now constructed using calls to the standard write(),
  print(), and println() functions – bracketed by beginPacket() and
  endPacket(). The parsePacket() function checks for and parses an
  incoming packet, which can then be read using available(), read(), and
  peek(). The remoteIP() and remotePort() functions provide information
  about the packet’s origin. (Again, thanks to Adrian McEwen for the
  implementation.)

* The Wire library has also been modified to use the standard read() and
  write() functions instead of send() and receive(). You can also use
  print() and println() for outgoing data.

* The SD library now supports multiple simultaneous open files. It also
  provides the isDirectory(), openNextFile(), and rewindDirectory()
  functions for iterating through all the files in a directory. (Thanks
  to Limor Fried.)

[boards / firmwares]

* Added the Arduino Mini w/ ATmega328.

* Added Windows drivers (.inf files) and 16U2 firmware (.hex files) for
  the rev. 3 boards (Uno, Mega, and Mega ADK).  

[internals]

* The WProgram.h file, which provides declarations for the Arduino API,
  has been renamed to Arduino.h. To create a library that will work in
  both Arduino 0022 and Arduino 1.0, you can use an #ifdef that checks
  for the ARDUINO constant, which was 22 and is now 100.  For example:

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

* The write(), print(), and println() functions in Stream now return a
  size_t (instead of void). This indicates the number of bytes actually
  written by the function. Any classes that inherit from Stream will need
  to change accordingly. Additionally the write(str) function has been
  given a concrete implementation – it calls write(buf, len) - so
  sub-classes don't need to (and shouldn't) implement it.

* There are new abstract base-classes for Client, Server, and UDP to
  provide portability across networking libraries.

* The pin definitions for the Arduino boards (i.e. the mappings from pin
  numbers to port register / bit pairs) is now stored in a sub-folder of
  a new variants/ folder in the hardware folder. The variant to use for
  a given board is specified by the BOARD.build.variant preference in the
  boards.txt file.

* The new, variant-specific pins_arduino.h files now provides additional
  macros with information about the characteristics of the board (e.g.
  the locations of the SPI and TWI pins, and the number of digital and
  analog pins).

* The avrdude included with the Mac and Windows versions of the Arduino
  software has been upgraded to avrdude 5.11 (from an Arduino-specific
  version of avrdude 5.4). The software now uses the "arduino" programmer
  type in place of "stk500v1" for uploading to most Arduino boards.

ARDUINO 0023 - 2011.11.09

* Added .inf files for R3 boards.
* Updated to optiboot 4.4.
* Included combined firmwares for ATmega16U2.

ARDUINO 0022 - 2010.12.24

[core / libraries]

* Adding an SD card library based on sdfatlib by Bill Greiman and the
  MemoryCard library by Philip Lindsay (follower) for SparkFun.
  http://arduino.cc/en/Reference/SD

* Added character manipulation macros (from Wiring): isAlphaNumeric(),
  isAlpha(), isAscii(), isWhitespace(), isControl(), isDigit(), isGraph(),
  isLowerCase(), isPrintable(), isPunct(), isSpace(), isUpperCase(),
  isHexadecimalDigit(), toAscii(), toLowerCase(), toLowerCase().
  http://code.google.com/p/arduino/issues/detail?id=418

* Added String.toInt() function.

* Refactoring core to use register-based, not CPU-based, #ifdefs.
  Patch by Mark Sproul.
  http://code.google.com/p/arduino/issues/detail?id=307
  http://code.google.com/p/arduino/issues/detail?id=315
  http://code.google.com/p/arduino/issues/detail?id=316
  http://code.google.com/p/arduino/issues/detail?id=323
  http://code.google.com/p/arduino/issues/detail?id=324
  http://code.google.com/p/arduino/issues/detail?id=340

* Modification of serial baud rate calculation to match bootloader and 8U2
  firmware at 57600 baud.
  http://code.google.com/p/arduino/issues/detail?id=394

* Fixed bug in tone() function.
  http://code.google.com/p/arduino/issues/detail?id=361

* Fixed SPI.setClockDivider() function.
  http://code.google.com/p/arduino/issues/detail?id=365

* Fixed EEPROM library on Mega 2560.
  http://code.google.com/p/arduino/issues/detail?id=381

* Hardware serial receive interrupt optimization.
  http://code.google.com/p/arduino/issues/detail?id=391

* Applying the timeout parameter of pulseIn() during measurement of the
  pulse, not just while waiting for it.

[environment]

* Fixed problem with copy as html and angle brackets.
  http://code.google.com/p/arduino/issues/detail?id=29

* Showing serial port selection dialog if serial port not found on upload.

* Remembering serial monitor window size and line ending selection.
  http://code.google.com/p/arduino/issues/detail?id=96
  http://code.google.com/p/arduino/issues/detail?id=330

* Replaced oro.jar regular expressions with java.regex ones (patch by
  Eberhard Fahle and Christian Maglie).
  http://code.google.com/p/arduino/issues/detail?id=171

* Building the user sketch before the core or libraries, so errors appear
  faster.  Patch by William Westfield and Paul Stoffregen.
  http://code.google.com/p/arduino/issues/detail?id=393

* Setting application icon under Windows.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-6-8 14:51:36 | 显示全部楼层
p857211 发表于 2013-6-8 08:43
http://arduino.cc/en/Main/ReleaseNotes

哥们,你意思是用这个版本试试,还是这个版本能解决我遇到的问题啊!
回复 支持 反对

使用道具 举报

发表于 2013-6-8 15:28:26 | 显示全部楼层
好像从022之后1.0以上的版本 语法和lib 都有一些差异
所以才会编译错误
回复 支持 反对

使用道具 举报

发表于 2013-6-8 18:18:26 | 显示全部楼层
一些函数名称发生了变化,调用的基础库名字也发生了变化。。还有一些一些细微变化。。。开源软件就是这样的,会有各种版本兼容问题,所以最好各个时代的编译器都留着~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-6-9 09:31:17 | 显示全部楼层
弘毅 发表于 2013-6-8 18:18
一些函数名称发生了变化,调用的基础库名字也发生了变化。。还有一些一些细微变化。。。开源软件就是这样的 ...

编译器我是都有,即使没有,搞个编译器还是没有问题,只是我两段程序整合时候兼容出现问题,现在试了3个版本的IDE,都不行!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-6-9 09:32:09 | 显示全部楼层
弘毅 发表于 2013-6-8 18:18
一些函数名称发生了变化,调用的基础库名字也发生了变化。。还有一些一些细微变化。。。开源软件就是这样的 ...

有没有这样的说明文档,说明一下各个版本之间的差异呢,这样我也好改一些,总不能让我一个一个函数去对比吧!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|联系我们|极客工坊

GMT+8, 2026-6-5 07:27 , Processed in 0.041744 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表