<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://forge.codesys.com/drv/mcp3008/home/Home/</link><description>Recent changes to Home</description><language>en</language><lastBuildDate>Mon, 16 Jul 2018 20:14:06 -0000</lastBuildDate><atom:link href="https://forge.codesys.com/drv/mcp3008/home/Home/feed" rel="self" type="application/rss+xml"></atom:link><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/drv/mcp3008/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v19
+++ v20
@@ -1,3 +1,5 @@
+[[download url=https://forge.codesys.com/svn/drv,mcp3008,code/trunk/mcp3008.package]]
+
 [TOC]

 # Hardware
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Mon, 16 Jul 2018 20:14:06 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com978130efb1e15a70371550ef504f232e863f5926</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/drv/mcp3008/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v18
+++ v19
@@ -45,4 +45,4 @@
 * Just create a variable of type DWORD,
 * go to the "I/O Mapping" page of the MCP3008 device,
 * double click on your desired I/O channel,
-* and click on the button [...] to select your variable.
+* and click on the button "..." to select your variable.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Mon, 16 Jul 2018 20:04:42 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.combfbc8ad2687162de62e665a099685e3cd66f5896</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/drv/mcp3008/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v17
+++ v18
@@ -14,7 +14,7 @@
 You need to have the device description and driver library installed from the "MCP3008" project.

 # Usage
-This driver can be used in a similar way as most other CODESYS devices. Except, that the outputs are not mapped through the I/O mapping, but they are provided as an output of the FB from the device tree.
+This driver can be used in a similar way as most other CODESYS devices. You add it to your project and map your input variables.

 ## Wiring
 The chip has to be connected to a free SPI port. We assume, that you connect the chip with a chip select that coresponds to your SPI port. ATM we don't support to use general GPIOs for chip selects. Also no daisy chaining is supported, as the device doesn't support that.
@@ -40,8 +40,9 @@
 The first number specifies the SPI bus. The second number specifies the chip select.

 ## Use the A/D values
-After the configuration is done, the input of the MCP3008 can be used directly from the output of the function block.
+You can easily map the analog input channels to some variables within your project.

-~~~
-ch1 := MCP3008.auiValue[0];
-~~~
+* Just create a variable of type DWORD,
+* go to the "I/O Mapping" page of the MCP3008 device,
+* double click on your desired I/O channel,
+* and click on the button [...] to select your variable.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Mon, 16 Jul 2018 20:04:22 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com24a9aa0f22f0496625b5f9a92cc5732cf9af31b8</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/drv/mcp3008/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v16
+++ v17
@@ -19,7 +19,7 @@
 ## Wiring
 The chip has to be connected to a free SPI port. We assume, that you connect the chip with a chip select that coresponds to your SPI port. ATM we don't support to use general GPIOs for chip selects. Also no daisy chaining is supported, as the device doesn't support that.

-This example shows the wirering of an MCP3008 with a Raspberry Pi on SPI port 0 and chip select 0. This corresponds to "spidev0.0".
+This example shows the wiring of an MCP3008 with a Raspberry Pi on SPI port 0 and chip select 0. This corresponds to "spidev0.0".

 [[img src=MCP3008_bb.png width=30%]]
 [[img src=MCP3008_schem.png width=30%]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Thu, 07 Jun 2018 19:50:23 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com770ab75d3ffd747fdffa1dd648a0ba84a09be93c</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/drv/mcp3008/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v15
+++ v16
@@ -16,7 +16,7 @@
 # Usage
 This driver can be used in a similar way as most other CODESYS devices. Except, that the outputs are not mapped through the I/O mapping, but they are provided as an output of the FB from the device tree.

-## Wirering
+## Wiring
 The chip has to be connected to a free SPI port. We assume, that you connect the chip with a chip select that coresponds to your SPI port. ATM we don't support to use general GPIOs for chip selects. Also no daisy chaining is supported, as the device doesn't support that.

 This example shows the wirering of an MCP3008 with a Raspberry Pi on SPI port 0 and chip select 0. This corresponds to "spidev0.0".
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Thu, 07 Jun 2018 19:49:14 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com6b5687215da7b58b872a11779df1b467c687b243</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/drv/mcp3008/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v14
+++ v15
@@ -19,7 +19,7 @@
 ## Wirering
 The chip has to be connected to a free SPI port. We assume, that you connect the chip with a chip select that coresponds to your SPI port. ATM we don't support to use general GPIOs for chip selects. Also no daisy chaining is supported, as the device doesn't support that.

-This examle shows the wirering of an MCP3008 with a Raspberry Pi on SPI port 0 and chip select 0. This corresponds to "spidev0.0".
+This example shows the wirering of an MCP3008 with a Raspberry Pi on SPI port 0 and chip select 0. This corresponds to "spidev0.0".

 [[img src=MCP3008_bb.png width=30%]]
 [[img src=MCP3008_schem.png width=30%]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Thu, 07 Jun 2018 19:48:24 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comcb8e837920c41d0ac2d99e29da40959e219e41e0</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/drv/mcp3008/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v13
+++ v14
@@ -17,7 +17,7 @@
 This driver can be used in a similar way as most other CODESYS devices. Except, that the outputs are not mapped through the I/O mapping, but they are provided as an output of the FB from the device tree.

 ## Wirering
-The chip has to be connected to a free SPI port. We assume, that you connect the chip with a chip select that coresponds to your SPI port. ATM we don't supporr to use general GPIOs for chip selects. Also no daisy chaining is supported, as the device doesn't support that.
+The chip has to be connected to a free SPI port. We assume, that you connect the chip with a chip select that coresponds to your SPI port. ATM we don't support to use general GPIOs for chip selects. Also no daisy chaining is supported, as the device doesn't support that.

 This examle shows the wirering of an MCP3008 with a Raspberry Pi on SPI port 0 and chip select 0. This corresponds to "spidev0.0".

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Thu, 07 Jun 2018 19:47:23 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com2bb1aec06c5d0ef5b9fa5cb10ca8fe44e27d3d16</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/drv/mcp3008/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v12
+++ v13
@@ -14,7 +14,7 @@
 You need to have the device description and driver library installed from the "MCP3008" project.

 # Usage
-This driver can be used in a similar way as most other CODESYS devices. Except, that the outputs are not mapped through the I/O mapping, but they are privided as an output of the FB from the device tree.
+This driver can be used in a similar way as most other CODESYS devices. Except, that the outputs are not mapped through the I/O mapping, but they are provided as an output of the FB from the device tree.

 ## Wirering
 The chip has to be connected to a free SPI port. We assume, that you connect the chip with a chip select that coresponds to your SPI port. ATM we don't supporr to use general GPIOs for chip selects. Also no daisy chaining is supported, as the device doesn't support that.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Thu, 07 Jun 2018 19:46:40 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comb662cca250f843b38bee99de641ea88664e43709</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/drv/mcp3008/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v11
+++ v12
@@ -10,7 +10,7 @@

 [[img src=mcp3008.gif width=30%]]

-# Prerequisits
+# Prerequisites
 You need to have the device description and driver library installed from the "MCP3008" project.

 # Usage
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Thu, 07 Jun 2018 19:45:05 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comd784b86f70a3d3e6d557566c39a151ce3725bca3</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/drv/mcp3008/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v10
+++ v11
@@ -8,7 +8,7 @@

 This is far beyond what we are able to read via Linux over SPI.

-[[img src=mcp3008.gif]]
+[[img src=mcp3008.gif width=30%]]

 # Prerequisits
 You need to have the device description and driver library installed from the "MCP3008" project.
@@ -21,8 +21,8 @@

 This examle shows the wirering of an MCP3008 with a Raspberry Pi on SPI port 0 and chip select 0. This corresponds to "spidev0.0".

-[[img src=MCP3008_bb.png]]
-[[img src=MCP3008_schem.png]]
+[[img src=MCP3008_bb.png width=30%]]
+[[img src=MCP3008_schem.png width=30%]]

 ## Add the device
 The device is named MCP3008 and has to be inserted below an SPI Master of your CODESYS project.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Mon, 04 Jun 2018 16:57:57 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com2daecf7d86af3c5f67bf69faec869b8588f80c55</guid></item></channel></rss>