LOW/de

From MCS Wiki AVR
< LOW(Difference between revisions)
Jump to: navigation, search
((**COPIED FROM ENGLISH PAGE**) =)
(Anmerkungen)
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
 
= <span class="f_Header">Funktion</span> =
 
= <span class="f_Header">Funktion</span> =
  
Gibt das niederwertige Byte eine Variable zurück.
+
Gibt das niederwertige Byte (LSB) einer Variable zurück.
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
Line 15: Line 15:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
= <span class="f_Header">Remarks</span> =
+
= <span class="f_Header">Anmerkungen</span> =
 
<div style="padding: 0px; margin: 0px 0px 0px 4px;">
 
<div style="padding: 0px; margin: 0px 0px 0px 4px;">
 
{| width="485" cellspacing="0" cellpadding="1" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;"
 
{| width="485" cellspacing="0" cellpadding="1" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;"
Line 23: Line 23:
  
 
| valign="top" width="100%" style="width: 417px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="100%" style="width: 417px; border: 1px solid rgb(0, 0, 0);" |  
The variable that is assigned with the LSB of var S.
+
Eine Variable der das LSB von S zugewiesen wird.
  
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
Line 30: Line 30:
  
 
| valign="top" width="100%" style="width: 417px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="100%" style="width: 417px; border: 1px solid rgb(0, 0, 0);" |  
The source variable to get the LSB from.
+
Die Quellvariable von der das LSB kopiert wird.
  
 
|}
 
|}
Line 36: Line 36:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
You can also assign a byte to retrieve the LSB of a Word or Long.
+
Ein Byte genügt um das LSB eines Word oder Long aufzunehmen.
  
For example&nbsp;:
+
Ein Beispiel:&nbsp;:
  
 
B = L &nbsp;, where B is a byte and L is a Long.
 
B = L &nbsp;, where B is a byte and L is a Long.
Line 46: Line 46:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
= <span class="f_Header">See also</span> =
+
= <span class="f_Header">Siehe auch</span> =
  
 
[[HIGH]]&nbsp;,&nbsp;[[HIGHW]]
 
[[HIGH]]&nbsp;,&nbsp;[[HIGHW]]
Line 54: Line 54:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
= <span class="f_Header">Example</span> =
+
= <span class="f_Header">Beispiel</span> =
  
 
<br/><source lang="bascomavr">
 
<br/><source lang="bascomavr">

Latest revision as of 11:13, 5 March 2013

Contents

Funktion

Gibt das niederwertige Byte (LSB) einer Variable zurück.

 

 

Syntax

var = LOW( s )

 

 

Anmerkungen

Var

Eine Variable der das LSB von S zugewiesen wird.

S

Die Quellvariable von der das LSB kopiert wird.

 

Ein Byte genügt um das LSB eines Word oder Long aufzunehmen.

Ein Beispiel: :

B = L  , where B is a byte and L is a Long.

 

 

Siehe auch

HIGH , HIGHW

 

 

Beispiel


$regfile = "m48def.dat" ' specify the used micro
$crystal = 4000000 ' used crystal frequency
$baud = 19200 ' use baud rate
$hwstack = 32 ' default use 32 for the hardware stack
$swstack = 10 ' default use 10 for the SW stack
$framesize = 40 ' default use 40 for the frame space
 
Dim I As Integer , Z As Byte
I = &H1001
Z = Low(i) ' is 1
End

Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language