<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>comp-e.com &#187; C</title>
	<atom:link href="http://comp-e.com/category/comp-e/forum/c-forum-comp-e/feed" rel="self" type="application/rss+xml" />
	<link>http://comp-e.com</link>
	<description>Computer Engineering</description>
	<lastBuildDate>Fri, 13 Nov 2009 06:57:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Pythons in the &#8216;C&#8217;ircus</title>
		<link>http://comp-e.com/pythons-in-the-circus</link>
		<comments>http://comp-e.com/pythons-in-the-circus#comments</comments>
		<pubDate>Thu, 06 Aug 2009 06:39:59 +0000</pubDate>
		<dc:creator>COMP-E</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[comp-e]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[Matlab]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://comp-e.com/?p=131</guid>
		<description><![CDATA[Spiffy code that is.  Stubby has made a few contributions as of late, so check them out.  I will be ragging on him to put his battleship game up, but alas it seems it&#8217;s lacking comments so we&#8217;ll see how long that takes.
I on the other hand, appologize for not tossing up any new coding [...]]]></description>
			<content:encoded><![CDATA[<p>Spiffy code that is.  Stubby has made a few contributions as of late, so check them out.  I will be ragging on him to put his battleship game up, but alas it seems it&#8217;s lacking comments so we&#8217;ll see how long that takes.</p>
<p>I on the other hand, appologize for not tossing up any new coding examples.  As of late I&#8217;ve been rather busy but fear not for I&#8217;ve been dabbling in Python and have some fun stuff to share.  To give a bit of a hint, I&#8217;ve been playing with the Numpy module and have found it incredibly useful as it ties in exceptionally well with Matlab.  I also plan on making a mini program to poll USB for those of you who rely on antiquated RS232 and are left without an easy means of switching over : )</p>
<p>Lastly, I encourage more of you to join and contribute well documented examples to the site.  As always, there are no ads and questions will be answered without the arrogant charm of other such code collaborative sites</p>
]]></content:encoded>
			<wfw:commentRss>http://comp-e.com/pythons-in-the-circus/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Morse Code Using The HCS08 Microcontroller</title>
		<link>http://comp-e.com/creating-morse-code-using-the-hcs08-microcontroller</link>
		<comments>http://comp-e.com/creating-morse-code-using-the-hcs08-microcontroller#comments</comments>
		<pubDate>Sun, 22 Mar 2009 15:21:51 +0000</pubDate>
		<dc:creator>COMP-E</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[computer engineering]]></category>
		<category><![CDATA[Freescale]]></category>
		<category><![CDATA[microcontroller]]></category>

		<guid isPermaLink="false">http://comp-e.com/?p=125</guid>
		<description><![CDATA[Recently I was faced with the task of sending data out of a HCS08 microcontroller wirelessly.  I had only one pin available to me and decided to effectively create Morse Code so that my receiver could decode the signal without having some sort of reference clock to distinguish the 1&#8217;s and 0&#8217;s.   What took many [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was faced with the task of sending data out of a HCS08 microcontroller wirelessly.  I had only one pin available to me and decided to effectively create Morse Code so that my receiver could decode the signal without having some sort of reference clock to distinguish the 1&#8217;s and 0&#8217;s.   What took many hours to conceptualize and diagram out on the blackboard, turned out to be a very small bit of code.</p>
<p>On the sender side is a simple function written in C that takes a byte and loops through masking each bit.  This masking is done inside an if / else block and the result determines whether or not you are getting a dit or a dash.</p>
<p>Tied to the RF receiver is another MC9S08QG8 which takes in the signal via interrupts and assembles eight interrupts into eight bytes.  It then does a series of bitwise operations on each of the eight bytes in order to reconstruct the original byte.  You will find that a few parts of the code are subject to change (the time for 0&#8217;s and 1&#8217;s can be adjusted and must be adjusted if you plan on implementing PLL or have a different desired data rate).  That byte is then sent to a PC vie RS232 serial port and stored using a free program called RS232 Data Logger from Eltima Software.  The code will be posted shortly under the microcontroller section on the COMP-E forum for you to use and <a title="Wireless Morse Code HCS08" href="http://comp-e.com/forum/viewtopic.php?f=40&amp;t=30">enjoy</a>.</p>
<p>- COMP-E</p>
<p>~ ALERT: This post does not return to main !!!</p>
]]></content:encoded>
			<wfw:commentRss>http://comp-e.com/creating-morse-code-using-the-hcs08-microcontroller/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
