Arduino - Pointer
function toggle(obj) {
var elstyle = document.getElementById(obj).style;
var text = document.getElementById(obj + "tog");
if (elstyle.display == 'none') {
elstyle.display = 'block';
text.innerHTML = "hide";
} else {
elstyle.display = 'none';
text.innerHTML = "show";
}
}
Arduino
Buy
Download
Getting Started
Learning
Reference
Hardware
FAQ
Blog »Forum »Playground »
Reference Language | Libraries | Comparison | Changes
The pointer operators
& (reference) and * (dereference)
Pointers are one of the more complicated subjects for beginners in learning C, and it is possible to write the vast majority of Arduino sketches without ever encountering pointers. However for manipulating certain data structures, the use of pointers can simplify the code, and and knowledge of manipulating pointers is handy to have in one's toolkit.
Reference Home
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a
Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.
var addthis_language = "en";
Share|
©Arduino |
Edit Page | Page History | Printable View | All Recent Site Changes
Wyszukiwarka
Podobne podstrony:
nano x pointerJoseph Tinguely Manuel d escrime á la contre pointe, composé pour les officiers de toutes armes 1856PointerInfopointers to memberspointerPointerFunction Pointer TutorialsPointerInfopointer to unary functionpointerPointerpointer to binary functionwięcej podobnych podstron