<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / safe shut down]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=347&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=347"/>
	<updated>2017-03-15T20:06:56Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=347</id>
	<entry>
		<title type="html"><![CDATA[Re: safe shut down]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1555#p1555"/>
		<content type="html"><![CDATA[<p>Thanks Tomas</p>]]></content>
		<author>
			<name><![CDATA[mikeyh]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=60</uri>
		</author>
		<updated>2017-03-15T20:06:56Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1555#p1555</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: safe shut down]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1547#p1547"/>
		<content type="html"><![CDATA[<p>Hi Mike,</p><p>yes, RpiDrv is necessary for use of Raspberry Pi GPIOs within REX.</p><p>Good luck with your project!</p><p>Cheers, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2017-03-14T06:43:56Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1547#p1547</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: safe shut down]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1546#p1546"/>
		<content type="html"><![CDATA[<p>Hi Tomas,</p><p>Thanks for the help. Will I need to load the rpi module/driver as well or does the monarco hat driver include what is needed?</p><p>Cheers</p><p>Mike</p>]]></content>
		<author>
			<name><![CDATA[mikeyh]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=60</uri>
		</author>
		<updated>2017-03-13T19:29:29Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1546#p1546</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: safe shut down]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1543#p1543"/>
		<content type="html"><![CDATA[<p>Hi Mike,</p><p>thank you for your question. REX function block OSCALL is a good choice. In order to use it as a HW &quot;Shut down&quot; button you can connect its TRG input with Digital Input in your REX project.<br />If you are using MonarcoHAT you can use either MonarcoHAT DI or ordinary Raspberry Pi GPIO. Better go for the Raspberry Pi GPIO if you want to save some MonarcoHAT DIOs for your project.</p><p>Physical connection of push button to Raspberry Pi GPIO can be seen e.g. here: <a href="https://youtu.be/Bqk6M_XdIC0" rel="nofollow">https://youtu.be/Bqk6M_XdIC0</a>.</p><p>Please let me know if you have any questions.</p><p>Regards, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2017-03-13T12:20:07Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1543#p1543</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[safe shut down]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1538#p1538"/>
		<content type="html"><![CDATA[<p>Hi,</p><p>I&#039;m looking at creating a safe shut sown for my raspberry pi/monarco hat HW. What is the best way to do this?</p><p>I just need the HW and SW to stop before the power is turned off so not to corrupt anything. From within REX I think I can use the OSCALL block set to &quot;system halt&quot;. Is there a way I can do this through HW so it can be done locally, and not use to many of the monarco hat I/O?</p><p>Cheers</p><p>Mike</p>]]></content>
		<author>
			<name><![CDATA[mikeyh]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=60</uri>
		</author>
		<updated>2017-03-12T22:32:47Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1538#p1538</id>
	</entry>
</feed>
