Arduino Tutorial #3 - Functions, return values and variables
A tutorial on sketch structure, functions, return values and variables.
Sketch / code used in tutorial: http://mjlorton.com/forum/index.php?topic=119.0
Buy your Arduino kit here: http://astore.amazon.com/m0711-20?_encoding=UTF8&node=8
--------------------- Click "Show more" -------------------------------
My website and forum:- http://www.mjlorton.com
Donations and contributions:- http://www.mjlorton.com
My techie channel MJLorton - Solar Power and Electronic Measurement Equipment - http://www.youtube.com/MJLorton
My Techie Amazon Store: http://astore.amazon.com/m0711-20
My other channel VBlogMag - For almost any topic under the sun! - http://www.youtube.com/VBlogMag
My VBlogMag Amazon Store: http://astore.amazon.com/vblogmag-20
-----------------------------------------------------------------------
Arduino Site: http://www.arduino.cc/
Arduino software / IDE: http://arduino.cc/en/Main/Software
Arduino forum: http://arduino.cc/forum/
Items and topics covered in this video:
* Local and global variables
* Functions / procedures
* Return values from functions
* Sample sketch code that does Math / arithmetic and write to the terminal
* Some commands used: Serial.print; Serial.println, if, else, void setup, void loop, return
Arduino Uno R3 features:
* ATmega328 micro controller
* Input voltage - 7-12V
* 14 Digital I/O Pins (6 PWM outputs)
* 6 Analogue Inputs
* 32k Flash Memory
* 16Mhz Clock Speed
Handy websites:
http://www.toddfun.com/
http://www.arduino.cc/
http://tronixstuff.wordpress.com/
http://www.timnolan.com
http://www.timnolan.com/index.php?page=arduino-ppt-solar-charger
http://www.ladyada.net/learn/arduino/lesson2.html"
Ajouter un commentaire