User Tools

Site Tools


arduino:arithmetic_operators:assignment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

arduino:arithmetic_operators:assignment [2013/02/15 18:05]
127.0.0.1 external edit
arduino:arithmetic_operators:assignment [2024/02/16 01:04] (current)
Line 7: Line 7:
 ==== Example   ==== ==== Example   ====
  
-<code arduino> int sensVal;                 // declare an integer variable named sensVal +<code arduino> 
- senVal = analogRead(0); </code>      // store the (digitized) input voltage at analog pin 0 in SensVal+ int sensVal; 
 + // declare an integer variable named sensVal 
 + senVal = analogRead(0);  
 + // store the (digitized) input voltage at analog pin 0 in SensVal 
 +</code>
  
 ==== Programming Tips   ==== ==== Programming Tips   ====
Line 17: Line 21:
 ==== See Also   ==== ==== See Also   ====
  
-*[[arduino:control structures:If| if (comparison operators)]] +   *[[arduino:control structures:If| if (comparison operators)]] 
-*[[char]] +   *[[arduino:data_types:char|char]] 
-*[[int]] +   *[[arduino:data_types:int|int]] 
-*[[long]]+   *[[arduino:data_types:long|long]]
  
 Source: arduino.cc Source: arduino.cc
  

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
arduino/arithmetic_operators/assignment.1360947917.txt · Last modified: 2024/02/16 01:02 (external edit)

Impressum Datenschutz