<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://smartbox.benryves.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=INPORT</id>
	<title>INPORT - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://smartbox.benryves.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=INPORT"/>
	<link rel="alternate" type="text/html" href="https://smartbox.benryves.com/mediawiki/index.php?title=INPORT&amp;action=history"/>
	<updated>2026-11-15T05:05:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://smartbox.benryves.com/mediawiki/index.php?title=INPORT&amp;diff=53&amp;oldid=prev</id>
		<title>Benryves: Created page with &quot;== Syntax ==  INPORT  == Description ==  The function INPORT returns the current ‘value’ of all digital sensors as a single number. Each digital sensor has a unique ‘value’ as shown below:  * SENSOR 0 = 1 when it is on. * SENSOR 1 = 2 * SENSOR 2 = 4 * SENSOR 3 = 8 * SENSOR 4 = 16 * SENSOR 5 = 32 * SENSOR 6 = 64 * SENSOR 7 = 128  So if SENSORS 0,3 and 5 are ‘ON’ INPORT will return 41 (1+8+32)  == Example ==   IF INPORT = 255 THEN PRINT &quot;All sensors are on&quot;  ==...&quot;</title>
		<link rel="alternate" type="text/html" href="https://smartbox.benryves.com/mediawiki/index.php?title=INPORT&amp;diff=53&amp;oldid=prev"/>
		<updated>2023-10-06T19:22:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Syntax ==  INPORT  == Description ==  The function INPORT returns the current ‘value’ of all digital sensors as a single number. Each digital sensor has a unique ‘value’ as shown below:  * SENSOR 0 = 1 when it is on. * SENSOR 1 = 2 * SENSOR 2 = 4 * SENSOR 3 = 8 * SENSOR 4 = 16 * SENSOR 5 = 32 * SENSOR 6 = 64 * SENSOR 7 = 128  So if SENSORS 0,3 and 5 are ‘ON’ INPORT will return 41 (1+8+32)  == Example ==   IF INPORT = 255 THEN PRINT &amp;quot;All sensors are on&amp;quot;  ==...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Syntax ==&lt;br /&gt;
&lt;br /&gt;
INPORT&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
The function INPORT returns the current ‘value’ of all digital sensors as a single number.&lt;br /&gt;
Each digital sensor has a unique ‘value’ as shown below:&lt;br /&gt;
&lt;br /&gt;
* SENSOR 0 = 1 when it is on.&lt;br /&gt;
* SENSOR 1 = 2&lt;br /&gt;
* SENSOR 2 = 4&lt;br /&gt;
* SENSOR 3 = 8&lt;br /&gt;
* SENSOR 4 = 16&lt;br /&gt;
* SENSOR 5 = 32&lt;br /&gt;
* SENSOR 6 = 64&lt;br /&gt;
* SENSOR 7 = 128&lt;br /&gt;
&lt;br /&gt;
So if SENSORS 0,3 and 5 are ‘ON’ INPORT will return 41 (1+8+32)&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
 IF INPORT = 255 THEN PRINT &amp;quot;All sensors are on&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Associated keywords ==&lt;br /&gt;
&lt;br /&gt;
* [[SENSOR]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Reference]]&lt;br /&gt;
[[Category:Procedure]]&lt;/div&gt;</summary>
		<author><name>Benryves</name></author>
	</entry>
</feed>