This documentation is out of date.
The new version of the documentation is here: https://cannylogic.com/docs |
Difference between revisions of "Converter 1-to-8"
From CANNY Wiki
[unchecked revision] | [unchecked revision] |
(Created page with " <div style="float:right;margin:5px;"> {|class="cannytable" width="350px" |- !colspan="2" style="background-color:#AFEEEE;"|Appearance |- |colspan="2" align="center" style="...") |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
!colspan="2" style="background-color:#AFEEEE;"|Appearance | !colspan="2" style="background-color:#AFEEEE;"|Appearance | ||
|- | |- | ||
− | |colspan="2" align="center" style="padding:10px;"|[[ | + | |colspan="2" align="center" style="padding:10px;"|[[File:5_10_3_2.png]] |
|- | |- | ||
!colspan="2" style="background-color:#AFEEEE;"|Symbol | !colspan="2" style="background-color:#AFEEEE;"|Symbol | ||
Line 18: | Line 18: | ||
!colspan="2" style="background-color:#AFEEEE;"|Inputs | !colspan="2" style="background-color:#AFEEEE;"|Inputs | ||
|- | |- | ||
− | |style="padding-left:1em;"| | + | |style="padding-left:1em;"|Input: |
− | |style="padding-left:1em;"|[[CFD Language#Data| | + | |style="padding-left:1em;"|[[CFD Language#Data|Integer]] |
|- | |- | ||
!colspan="2" style="background-color:#AFEEEE;"|Outputs | !colspan="2" style="background-color:#AFEEEE;"|Outputs | ||
|- | |- | ||
|style="padding-left:1em;"|Bit 0...Bit 7: | |style="padding-left:1em;"|Bit 0...Bit 7: | ||
− | |style="padding-left:1em;"|[[CFD Language#Data| | + | |style="padding-left:1em;"|[[CFD Language#Data|Logical]] |
|- | |- | ||
!colspan="2" style="background-color:#AFEEEE;"|Version [[CANNY Lab]] | !colspan="2" style="background-color:#AFEEEE;"|Version [[CANNY Lab]] | ||
Line 34: | Line 34: | ||
<div style="min-height:100%;display:block;"> | <div style="min-height:100%;display:block;"> | ||
<div style="float:left;width:70px;"> | <div style="float:left;width:70px;"> | ||
− | [[ | + | [[File:5_10_3_1.png|left|Icon]] |
</div> | </div> | ||
<div> | <div> | ||
− | Sets the | + | Sets the output bits value in accordance with respective bits in binary representation of the input value. |
<br clear="left"> | <br clear="left"> | ||
</div> | </div> | ||
Line 45: | Line 45: | ||
== Examples == | == Examples == | ||
{| | {| | ||
− | |[[ | + | |[[File:5_10_3_3.png|thumb|400px|Decimal 25 = 0b00011001]] |
|} | |} | ||
Line 53: | Line 53: | ||
[[Converter 16-to-1]] | [[Converter 16-to-1]] | ||
− | [[Converter 1-to- | + | [[Converter 1-to-16]] |
[[ASCII to Integer]] | [[ASCII to Integer]] | ||
− | [[Integer to | + | [[Integer to ASCII]] |
− | [[ | + | [[Built-in_Function_Blocks | Built-in Function Blocks]] |
Latest revision as of 18:40, 23 November 2015
Appearance | |
---|---|
Symbol | |
B2b | |
Group | |
Converters | |
Inputs | |
Input: | Integer |
Outputs | |
Bit 0...Bit 7: | Logical |
Version CANNY Lab | |
from 0.6b |
Sets the output bits value in accordance with respective bits in binary representation of the input value.