EasyManuals Logo

Arduino uno User Manual

Arduino uno
311 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #262 background imageLoading...
Page #262 background image
APPENDIX 2
Advanced Arduino Programming
In reality, the Arduino programming language is nothing but C++, but it has
some restrictions, and it uses a special tool suite. In this appendix, youll
learn what your options are. Also, youll find a short section showing how bit
operators work, because you need them often when working with sensors
and other devices.
The Arduino Programming Language
The first sketches youll write for an Arduino might seem to be written in a
special Arduino language, but they arent. To program the Arduino, you
usually use plain old C/C++. Unfortunately, the Arduino doesnt understand
C or C++ code, so you have to compile the code on your PC or Mac into
machine code suitable for the Arduinos microcontroller. This process is called
cross-compiling, and its the usual way of creating executable software for
microcontrollers. You edit and compile the software on your PC, and then
you transfer the machine code to the microcontroller.
In case of the Arduino, these microcontrollers are often part of the AVR family
produced by a company named Atmel. To make software development for
Atmel microcontrollers as easy as possible, Atmel has developed a whole tool
chain based on the GNU compiler tools. All tools work like the originals, but
they have been optimized for generating code for the Atmel microcontrollers.
For nearly all GNU development tools, such as
gcc
,
ld
, or
as
, theres an AVR
variant:
avr-gcc
,
avr-ld
, and so on. You can find them in the
hardware/tools/avr/bin
directory of the Arduino IDE.
The IDE is mainly a graphical wrapper that helps you avoid using the com-
mand-line tools directly. Whenever you compile or upload a program using
the IDE, it delegates all work to the AVR tools. As a serious software developer,
report erratum discuss
www.it-ebooks.info

Table of Contents

Other manuals for Arduino uno

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Arduino uno and is the answer not in the manual?

Arduino uno Specifications

General IconGeneral
Form factorArduino
CertificationRoHS, FC, CE
Processor model-
Processor frequency- MHz
Microcontroller modelATmega328
Microcontroller frequency16 MHz
DC input voltage7-12 V
Operating voltage5 V
DC current per I/O pin40 mA
Flash memory0.032 MB
Maximum internal memory- GB
SRAM (Static Random Access Memory)2 KB
EEPROM (Electrically Erasable Programmable Read-Only Memory)1 KB
Wi-FiNo
Number of analog I/O pins6
Number of digital I/O pins14
Weight and Dimensions IconWeight and Dimensions
Board dimensions53.4 x 68.6 mm

Related product manuals