1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00
Go to file
Matthijs Kooijman ece02e93bd Instead of #defining true and false, include stdbool.h
In C++, true and false are language keywords, so there is no need to
define them as macros. Including stdbool.h in C++ effectively changes
nothing. In C, true, false and also the bool type are not available, but
including stdbool.h will make them available.

Using stdbool.h means that we get true, false and the bool type in
whatever way the compiler thinks is best, which seems like a good idea
to me.

This also fixes the following compiler warnings if a .c file includes
both stdbool.h and Arduino.h:

	warning: "true" redefined [enabled by default]
	 #define true 0x1

	warning: "false" redefined [enabled by default]
	#define false 0x0

This fixes #1570 and helps toward fixing #1728.

This only changed the AVR core, the SAM core already doesn't define true
and false (but doesn't include stdbool.h either).
2014-02-19 16:09:29 +01:00
.settings Update to eclipse project files 2011-12-31 15:30:50 +01:00
app Merge branch 'master' into ide-1.5.x 2014-02-12 17:17:33 +01:00
build Added command line option --verbose-build and --verbose-upload 2014-02-10 12:55:16 +01:00
core working on #223: Auto-detection of serial ports. Linux version ready 2013-05-06 12:31:01 +02:00
hardware Instead of #defining true and false, include stdbool.h 2014-02-19 16:09:29 +01:00
libraries Don't use IPAddress::_address from EthernetClass 2014-02-19 16:09:29 +01:00
.classpath Update .classpath 2014-01-30 11:03:22 +01:00
.gitignore Introducing Artistic Style: new IDE autoformatter 2013-10-14 18:11:30 +02:00
.project Fix eclipse project files 2012-01-11 14:18:48 +01:00
format.every.sketch.sh Added script to run astyle every once in a while against all .ino files 2013-12-11 21:55:00 +01:00
license.txt adding LGPL (a bit late, whoops). 2007-10-12 01:58:48 +00:00
README.md Update README.md 2014-02-17 07:32:09 +11:00
todo.txt Updates to build.xml. (version auto defetect for "dist" target) 2013-01-24 14:46:57 +01:00

Arduino

  • Arduino is an open-source physical computing platform based on a simple i/o board and a development environment that implements the Processing/Wiring language. Arduino can be used to develop stand-alone interactive objects or can be connected to software on your computer (e.g. Flash, Processing, MaxMSP). The boards can be assembled by hand or purchased preassembled; the open-source IDE can be downloaded for free.

  • For more information, see the website at: http://www.arduino.cc/ or the forums at: http://arduino.cc/forum/

  • To report a bug in the software or to request a simple enhancement go to: http://github.com/arduino/Arduino/issues

  • More complex requests and technical discussion should go on the Arduino Developers mailing list: https://groups.google.com/a/arduino.cc/forum/#!forum/developers

  • If you're interested in modifying or extending the Arduino software, we strongly suggest discussing your ideas on the Developers mailing list before starting to work on them. That way you can coordinate with the Arduino Team and others, giving your work a higher chance of being integrated into the official release https://groups.google.com/a/arduino.cc/forum/#!forum/developers

Installation

Detailed instructions are in reference/Guide_Windows.html and reference/Guide_MacOSX.html. For Linux, see the Arduino playground: http://www.arduino.cc/playground/Learning/Linux

Credits

Arduino is an open source project, supported by many.

The Arduino team is composed of Massimo Banzi, David Cuartielles, Tom Igoe, Gianluca Martino, Daniela Antonietti, and David A. Mellis.

Arduino uses the GNU avr-gcc toolchain, avrdude, avr-libc, and code from Processing and Wiring.

Icon and about image designed by ToDo: http://www.todo.to.it/