Arduino: Difference between revisions

Content deleted Content added
Reverted 1 edit by Jafar Your Best Friend (talk) to last revision by Kosack. (TW)
IDE: a temporarty change for a school project
Tag: references removed
Line 129:
 
===IDE===
ldi r17, 0x02
The Arduino [[integrated development environment]] (IDE) is a [[cross-platform]] application (for [[Windows]], [[macOS]], [[Linux]]) that is written in the programming language [[Java (programming language)|Java]]. It originated from the IDE for the languages ''[[Processing (programming language)|Processing]]'' and ''[[Wiring (development platform)|Wiring]]''. It includes a code editor with features such as text cutting and pasting, searching and replacing text, automatic indenting, [[brace matching]], and [[syntax highlighting]], and provides simple ''one-click'' mechanisms to compile and upload programs to an Arduino board. It also contains a message area, a text console, a toolbar with buttons for common functions and a hierarchy of operation menus. The source code for the IDE is released under the [[GNU General Public License]], version 2.<ref>{{cite web|title=The arduino source code|url=https://github.com/arduino/Arduino|work=The Arduino source code}}</ref>
ld r16, Z
cpi r16, 0xa5
brne end
ld r16, -Z
cpc r16, r17
brne end
ldi r17, 0x0
ld r16, -Z
cpc r16, r17
brne end
ld r16, -Z
cpc r16, r17
brne end
ret
 
end:
The Arduino IDE supports the languages [[C (programming language)|C]] and [[C++]] using special rules of code structuring. The Arduino IDE supplies a [[software library]] from the [[Wiring (development platform)|Wiring]] project, which provides many common input and output procedures. User-written code only requires two basic functions, for starting the sketch and the main program loop, that are compiled and linked with a program stub ''main()'' into an executable [[cyclic executive]] program with the [[GNU toolchain]], also included with the IDE distribution. The Arduino IDE employs the program ''avrdude'' to convert the executable code into a text file in hexadecimal encoding that is loaded into the Arduino board by a loader program in the board's firmware.
ret
 
===Sketch===