<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Floriansweb</title>
	
	<link>http://www.floriansweb.com</link>
	<description>No Panic! Situation normal, all fucked-up</description>
	<lastBuildDate>Sat, 16 Jan 2010 19:33:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Floriansweb" /><feedburner:info uri="floriansweb" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Das Handwerk – Werbung</title>
		<link>http://feedproxy.google.com/~r/Floriansweb/~3/vVe9i59Wax4/das-handwerk-werbung.html</link>
		<comments>http://www.floriansweb.com/fundstuck/das-handwerk-werbung.html#comments</comments>
		<pubDate>Sat, 16 Jan 2010 19:33:30 +0000</pubDate>
		<dc:creator>Hackfrag</dc:creator>
				<category><![CDATA[Fundstück]]></category>
		<category><![CDATA[das handwerk]]></category>
		<category><![CDATA[handwerk]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[werbung]]></category>

		<guid isPermaLink="false">http://www.floriansweb.com/?p=656</guid>
		<description><![CDATA[
Ich finde das Softwareentwicklung auch ein Handwerk ist  


No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/iUXwBmc2OgY&amp;hl=de_DE&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/iUXwBmc2OgY&amp;hl=de_DE&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Ich finde das Softwareentwicklung auch ein Handwerk ist <img src='http://www.floriansweb.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<p>No related posts.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Floriansweb?a=vVe9i59Wax4:ZP_4HyJemxM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Floriansweb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Floriansweb?a=vVe9i59Wax4:ZP_4HyJemxM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Floriansweb?i=vVe9i59Wax4:ZP_4HyJemxM:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Floriansweb/~4/vVe9i59Wax4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.floriansweb.com/fundstuck/das-handwerk-werbung.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.floriansweb.com/fundstuck/das-handwerk-werbung.html</feedburner:origLink></item>
		<item>
		<title>Silvester 2009</title>
		<link>http://feedproxy.google.com/~r/Floriansweb/~3/P8Qx7eBro-0/silvester-2009-2.html</link>
		<comments>http://www.floriansweb.com/party/silvester-2009-2.html#comments</comments>
		<pubDate>Mon, 04 Jan 2010 11:12:55 +0000</pubDate>
		<dc:creator>Hackfrag</dc:creator>
				<category><![CDATA[Party & Freunde]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Dänemark]]></category>
		<category><![CDATA[silvester]]></category>

		<guid isPermaLink="false">http://www.floriansweb.com/?p=652</guid>
		<description><![CDATA[


No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.floriansweb.com/upload/2010/01/1-3c1bc34dab2e57073c106cca66a0e223.jpg"><img class="aligncenter size-full wp-image-653" title="1-3c1bc34dab2e57073c106cca66a0e223" src="http://www.floriansweb.com/upload/2010/01/1-3c1bc34dab2e57073c106cca66a0e223.jpg" alt="" width="480" height="336" /></a></p>


<p>No related posts.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Floriansweb?a=P8Qx7eBro-0:FX5aH4ceL4s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Floriansweb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Floriansweb?a=P8Qx7eBro-0:FX5aH4ceL4s:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Floriansweb?i=P8Qx7eBro-0:FX5aH4ceL4s:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Floriansweb/~4/P8Qx7eBro-0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.floriansweb.com/party/silvester-2009-2.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.floriansweb.com/party/silvester-2009-2.html</feedburner:origLink></item>
		<item>
		<title>Arducar – RC Car with wifi</title>
		<link>http://feedproxy.google.com/~r/Floriansweb/~3/yGZ-a8Ql2Vw/arducar-rc-car-with-wifi.html</link>
		<comments>http://www.floriansweb.com/arduino/arducar-rc-car-with-wifi.html#comments</comments>
		<pubDate>Mon, 09 Nov 2009 07:25:37 +0000</pubDate>
		<dc:creator>Hackfrag</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[dc motor]]></category>
		<category><![CDATA[motorshield]]></category>
		<category><![CDATA[rc car]]></category>
		<category><![CDATA[servo]]></category>
		<category><![CDATA[wishield]]></category>

		<guid isPermaLink="false">http://www.floriansweb.com/?p=648</guid>
		<description><![CDATA[


No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" title="arducar" src="http://farm3.static.flickr.com/2576/4089090414_dd4dd94310.jpg" alt="" width="375" height="500" /></p>


<p>No related posts.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Floriansweb?a=yGZ-a8Ql2Vw:HuyeGta4Ij4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Floriansweb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Floriansweb?a=yGZ-a8Ql2Vw:HuyeGta4Ij4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Floriansweb?i=yGZ-a8Ql2Vw:HuyeGta4Ij4:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Floriansweb/~4/yGZ-a8Ql2Vw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.floriansweb.com/arduino/arducar-rc-car-with-wifi.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.floriansweb.com/arduino/arducar-rc-car-with-wifi.html</feedburner:origLink></item>
		<item>
		<title>arduino motoshield soldering action</title>
		<link>http://feedproxy.google.com/~r/Floriansweb/~3/YM0LXFsav_M/arduino-motoshield-soldering-action.html</link>
		<comments>http://www.floriansweb.com/arduino/arduino-motoshield-soldering-action.html#comments</comments>
		<pubDate>Wed, 04 Nov 2009 20:40:26 +0000</pubDate>
		<dc:creator>Hackfrag</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[adafruits]]></category>
		<category><![CDATA[motor]]></category>
		<category><![CDATA[motorshield]]></category>
		<category><![CDATA[servo]]></category>

		<guid isPermaLink="false">http://www.floriansweb.com/?p=645</guid>
		<description><![CDATA[


After about 2 houres of soldering everything works well  
Now i can control my servo &#038; dc motor with ease

#include &#60;servotimer1 .h&#62;
&#160;
ServoTimer1 servo1;
ServoTimer1 servo2;
&#160;
void setup&#40;&#41; &#123;
  Serial.begin&#40;9600&#41;;           // set up Serial library at 9600 bps
  Serial.println&#40;&#34;Servo test!&#34;&#41;;
  servo1.attach&#40;10&#41;;
  servo2.attach&#40;9&#41;;
&#125;
&#160;
&#160;
void loop&#40;&#41; [...]


Related posts:<ol><li><a href='http://www.floriansweb.com/arduino/arduino-wishield-led-matrix-a-lot-of-fun.html' rel='bookmark' title='Permanent Link: Arduino + Wishield + LED Matrix = a lot of fun!'>Arduino + Wishield + LED Matrix = a lot of fun!</a> <small> socketapp.c extern char buffer&#91;20&#93;; static int handle_connection&#40;struct socket_app_state *s&#41;...</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-iphone-webinterface-alcohol-sensor.html' rel='bookmark' title='Permanent Link: Arduino iphone Webinterface + Alcohol Sensor'>Arduino iphone Webinterface + Alcohol Sensor</a> <small> Erreichte Ziele Arduino über Webinterface gesteuert (LED an/aus) Alcohol...</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-led-matrix-control-part-ii.html' rel='bookmark' title='Permanent Link: Arduino LED Matrix Control Part II'>Arduino LED Matrix Control Part II</a> <small> With the Arduino app you can control a led...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" title="arduino motorshield" src="http://farm3.static.flickr.com/2680/4075351991_ba5de8466f.jpg" alt="" width="500" height="333" /></p>
<p><img class="aligncenter" title="motorshield" src="http://farm3.static.flickr.com/2468/4075348629_577f30f84b.jpg" alt="" width="500" height="375" /></p>
<p><img class="aligncenter" title="motoshield" src="http://farm3.static.flickr.com/2492/4076102378_05741c9d47.jpg" alt="" width="500" height="333" /></p>
<p>After about 2 houres of soldering everything works well <img src='http://www.floriansweb.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now i can control my servo &#038; dc motor with ease</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#include &lt;servotimer1 .h&gt;</span>
&nbsp;
ServoTimer1 servo1<span style="color: #339933;">;</span>
ServoTimer1 servo2<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #993333;">void</span> setup<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  Serial.<span style="color: #202020;">begin</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">9600</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>           <span style="color: #666666; font-style: italic;">// set up Serial library at 9600 bps</span>
  Serial.<span style="color: #202020;">println</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Servo test!&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  servo1.<span style="color: #202020;">attach</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  servo2.<span style="color: #202020;">attach</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">9</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #993333;">void</span> loop<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;tick&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  servo1.<span style="color: #202020;">write</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">180</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  servo2.<span style="color: #202020;">write</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  delay<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;tock&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  servo1.<span style="color: #202020;">write</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  servo2.<span style="color: #202020;">write</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">180</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  delay<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&lt;/</span>servotimer1<span style="color: #339933;">&gt;</span></pre></div></div>



<p>Related posts:<ol><li><a href='http://www.floriansweb.com/arduino/arduino-wishield-led-matrix-a-lot-of-fun.html' rel='bookmark' title='Permanent Link: Arduino + Wishield + LED Matrix = a lot of fun!'>Arduino + Wishield + LED Matrix = a lot of fun!</a> <small> socketapp.c extern char buffer&#91;20&#93;; static int handle_connection&#40;struct socket_app_state *s&#41;...</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-iphone-webinterface-alcohol-sensor.html' rel='bookmark' title='Permanent Link: Arduino iphone Webinterface + Alcohol Sensor'>Arduino iphone Webinterface + Alcohol Sensor</a> <small> Erreichte Ziele Arduino über Webinterface gesteuert (LED an/aus) Alcohol...</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-led-matrix-control-part-ii.html' rel='bookmark' title='Permanent Link: Arduino LED Matrix Control Part II'>Arduino LED Matrix Control Part II</a> <small> With the Arduino app you can control a led...</small></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Floriansweb?a=YM0LXFsav_M:Erym2DXZD2s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Floriansweb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Floriansweb?a=YM0LXFsav_M:Erym2DXZD2s:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Floriansweb?i=YM0LXFsav_M:Erym2DXZD2s:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Floriansweb/~4/YM0LXFsav_M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.floriansweb.com/arduino/arduino-motoshield-soldering-action.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.floriansweb.com/arduino/arduino-motoshield-soldering-action.html</feedburner:origLink></item>
		<item>
		<title>Arduino LED Matrix Control Part II</title>
		<link>http://feedproxy.google.com/~r/Floriansweb/~3/041uAUH1lzc/arduino-led-matrix-control-part-ii.html</link>
		<comments>http://www.floriansweb.com/arduino/arduino-led-matrix-control-part-ii.html#comments</comments>
		<pubDate>Tue, 27 Oct 2009 21:38:21 +0000</pubDate>
		<dc:creator>Hackfrag</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[led]]></category>
		<category><![CDATA[matrix]]></category>

		<guid isPermaLink="false">http://www.floriansweb.com/?p=643</guid>
		<description><![CDATA[



With the Arduino app you can control a led matrix over wifi on your iphone.
Later you can save your &#8220;icon&#8221; and load older ones.
Sourcecode is still a bit clunky. But it Works  

- &#40;void&#41;drawRect:&#40;CGRect&#41;rect &#123;
&#160;
	CGContextRef context = UIGraphicsGetCurrentContext&#40;&#41;;
	if&#40;isOn&#41; &#123;
		&#91;color setFill&#93;;
	&#125; else &#123;
		&#91;&#91;UIColor grayColor&#93; setFill&#93;;
	&#125;
&#160;
	CGContextSetLineWidth&#40;context, 1.0&#41;;
&#160;
	CGContextAddEllipseInRect&#40;context, rect&#41;;
	CGContextDrawPath&#40;context, kCGPathFillStroke&#41;;
&#125;

Download Sourcecode


Related posts:Arduino + Wishield + LED Matrix [...]


Related posts:<ol><li><a href='http://www.floriansweb.com/arduino/arduino-wishield-led-matrix-a-lot-of-fun.html' rel='bookmark' title='Permanent Link: Arduino + Wishield + LED Matrix = a lot of fun!'>Arduino + Wishield + LED Matrix = a lot of fun!</a> <small> socketapp.c extern char buffer&#91;20&#93;; static int handle_connection&#40;struct socket_app_state *s&#41;...</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-led-matrix-controlling-by-iphone.html' rel='bookmark' title='Permanent Link: Arduino LED Matrix Controlling by iPhone'>Arduino LED Matrix Controlling by iPhone</a> <small>Today i ported the mac ArduinoControll app to my iPhone....</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-motoshield-soldering-action.html' rel='bookmark' title='Permanent Link: arduino motoshield soldering action'>arduino motoshield soldering action</a> <small> After about 2 houres of soldering everything works well...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p><a title="IMG_0105 von hackfrag bei Flickr" href="http://www.flickr.com/photos/hackfrag/4051209738/"><img src="http://farm3.static.flickr.com/2510/4051209738_d880dec2ed_o.jpg" alt="IMG_0105" width="320" height="480" /></a><br />
<a title="IMG_0106 von hackfrag bei Flickr" href="http://www.flickr.com/photos/hackfrag/4051210140/"><img src="http://farm3.static.flickr.com/2667/4051210140_9073e9cbbe_o.jpg" alt="IMG_0106" width="320" height="480" /></a><br />
<a title="IMG_0108 von hackfrag bei Flickr" href="http://www.flickr.com/photos/hackfrag/4051210964/"><img src="http://farm3.static.flickr.com/2547/4051210964_6098f36821_m.jpg" alt="IMG_0108" width="240" height="180" /></a><br />
<a title="IMG_0107 von hackfrag bei Flickr" href="http://www.flickr.com/photos/hackfrag/4050466511/"><img src="http://farm4.static.flickr.com/3503/4050466511_5f2afe17ea_o.jpg" alt="IMG_0107" width="320" height="480" /></a></p>
<p>With the Arduino app you can control a led matrix over wifi on your iphone.</p>
<p>Later you can save your &#8220;icon&#8221; and load older ones.</p>
<p>Sourcecode is still a bit clunky. But it Works <img src='http://www.floriansweb.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">-</span> <span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span>drawRect<span style="color: #339933;">:</span><span style="color: #009900;">&#40;</span>CGRect<span style="color: #009900;">&#41;</span>rect <span style="color: #009900;">&#123;</span>
&nbsp;
	CGContextRef context <span style="color: #339933;">=</span> UIGraphicsGetCurrentContext<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>isOn<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #009900;">&#91;</span>color setFill<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #009900;">&#91;</span><span style="color: #009900;">&#91;</span>UIColor grayColor<span style="color: #009900;">&#93;</span> setFill<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	CGContextSetLineWidth<span style="color: #009900;">&#40;</span>context<span style="color: #339933;">,</span> <span style="color:#800080;">1.0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	CGContextAddEllipseInRect<span style="color: #009900;">&#40;</span>context<span style="color: #339933;">,</span> rect<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	CGContextDrawPath<span style="color: #009900;">&#40;</span>context<span style="color: #339933;">,</span> kCGPathFillStroke<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p><a href="http://dl.getdropbox.com/u/2213241/Arduino.zip">Download Sourcecode</a></p>


<p>Related posts:<ol><li><a href='http://www.floriansweb.com/arduino/arduino-wishield-led-matrix-a-lot-of-fun.html' rel='bookmark' title='Permanent Link: Arduino + Wishield + LED Matrix = a lot of fun!'>Arduino + Wishield + LED Matrix = a lot of fun!</a> <small> socketapp.c extern char buffer&#91;20&#93;; static int handle_connection&#40;struct socket_app_state *s&#41;...</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-led-matrix-controlling-by-iphone.html' rel='bookmark' title='Permanent Link: Arduino LED Matrix Controlling by iPhone'>Arduino LED Matrix Controlling by iPhone</a> <small>Today i ported the mac ArduinoControll app to my iPhone....</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-motoshield-soldering-action.html' rel='bookmark' title='Permanent Link: arduino motoshield soldering action'>arduino motoshield soldering action</a> <small> After about 2 houres of soldering everything works well...</small></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Floriansweb?a=041uAUH1lzc:IxnwIVWiGVk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Floriansweb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Floriansweb?a=041uAUH1lzc:IxnwIVWiGVk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Floriansweb?i=041uAUH1lzc:IxnwIVWiGVk:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Floriansweb/~4/041uAUH1lzc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.floriansweb.com/arduino/arduino-led-matrix-control-part-ii.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.floriansweb.com/arduino/arduino-led-matrix-control-part-ii.html</feedburner:origLink></item>
		<item>
		<title>Arduino LED Matrix Controlling by iPhone</title>
		<link>http://feedproxy.google.com/~r/Floriansweb/~3/3y39sTWRvxQ/arduino-led-matrix-controlling-by-iphone.html</link>
		<comments>http://www.floriansweb.com/arduino/arduino-led-matrix-controlling-by-iphone.html#comments</comments>
		<pubDate>Wed, 21 Oct 2009 20:04:59 +0000</pubDate>
		<dc:creator>Hackfrag</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Accelerometer]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[led]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[objectiv-c]]></category>
		<category><![CDATA[sparkfun]]></category>

		<guid isPermaLink="false">http://www.floriansweb.com/?p=638</guid>
		<description><![CDATA[Today i ported the mac ArduinoControll app to my iPhone.
+ now you can controll the LED via the UIAccelerometer

#pragma mark UIAccelerometer delegate
- &#40;void&#41;accelerometer:&#40;UIAccelerometer *&#41;accelerometer didAccelerate:&#40;UIAcceleration *&#41;acceleration &#123;
&#160;
	double xAcceleration = 100.0 - &#40;acceleration.x + 1.0&#41; * 100.0;
	double yAcceleration = 100.0 - &#40;acceleration.y + 1.0&#41; * 100.0;
	double zAcceleration = 100.0 - &#40;acceleration.z + 1.0&#41; * 100.0;
&#160;
	accelerationX.text = [...]


Related posts:<ol><li><a href='http://www.floriansweb.com/arduino/arduino-wishield-led-matrix-a-lot-of-fun.html' rel='bookmark' title='Permanent Link: Arduino + Wishield + LED Matrix = a lot of fun!'>Arduino + Wishield + LED Matrix = a lot of fun!</a> <small> socketapp.c extern char buffer&#91;20&#93;; static int handle_connection&#40;struct socket_app_state *s&#41;...</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-led-matrix-control-part-ii.html' rel='bookmark' title='Permanent Link: Arduino LED Matrix Control Part II'>Arduino LED Matrix Control Part II</a> <small> With the Arduino app you can control a led...</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-iphone-webinterface-alcohol-sensor.html' rel='bookmark' title='Permanent Link: Arduino iphone Webinterface + Alcohol Sensor'>Arduino iphone Webinterface + Alcohol Sensor</a> <small> Erreichte Ziele Arduino über Webinterface gesteuert (LED an/aus) Alcohol...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.floriansweb.com/upload/2009/10/IMG_0099.PNG"><img class="aligncenter size-full wp-image-639" title="IMG_0099" src="http://www.floriansweb.com/upload/2009/10/IMG_0099.PNG" alt="IMG_0099" width="320" height="480" /></a><a href="http://www.floriansweb.com/upload/2009/10/IMG_0100.PNG"><img class="aligncenter size-full wp-image-640" title="IMG_0100" src="http://www.floriansweb.com/upload/2009/10/IMG_0100.PNG" alt="IMG_0100" width="320" height="480" /></a>Today i ported the mac ArduinoControll app to my iPhone.</p>
<p>+ now you can controll the LED via the UIAccelerometer</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#pragma mark UIAccelerometer delegate</span>
<span style="color: #339933;">-</span> <span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span>accelerometer<span style="color: #339933;">:</span><span style="color: #009900;">&#40;</span>UIAccelerometer <span style="color: #339933;">*</span><span style="color: #009900;">&#41;</span>accelerometer didAccelerate<span style="color: #339933;">:</span><span style="color: #009900;">&#40;</span>UIAcceleration <span style="color: #339933;">*</span><span style="color: #009900;">&#41;</span>acceleration <span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #993333;">double</span> xAcceleration <span style="color: #339933;">=</span> <span style="color:#800080;">100.0</span> <span style="color: #339933;">-</span> <span style="color: #009900;">&#40;</span>acceleration.<span style="color: #202020;">x</span> <span style="color: #339933;">+</span> <span style="color:#800080;">1.0</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">*</span> <span style="color:#800080;">100.0</span><span style="color: #339933;">;</span>
	<span style="color: #993333;">double</span> yAcceleration <span style="color: #339933;">=</span> <span style="color:#800080;">100.0</span> <span style="color: #339933;">-</span> <span style="color: #009900;">&#40;</span>acceleration.<span style="color: #202020;">y</span> <span style="color: #339933;">+</span> <span style="color:#800080;">1.0</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">*</span> <span style="color:#800080;">100.0</span><span style="color: #339933;">;</span>
	<span style="color: #993333;">double</span> zAcceleration <span style="color: #339933;">=</span> <span style="color:#800080;">100.0</span> <span style="color: #339933;">-</span> <span style="color: #009900;">&#40;</span>acceleration.<span style="color: #202020;">z</span> <span style="color: #339933;">+</span> <span style="color:#800080;">1.0</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">*</span> <span style="color:#800080;">100.0</span><span style="color: #339933;">;</span>
&nbsp;
	accelerationX.<span style="color: #202020;">text</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#91;</span>NSString alloc<span style="color: #009900;">&#93;</span> initWithFormat<span style="color: #339933;">:</span>@<span style="color: #ff0000;">&quot;%4.1f%&quot;</span><span style="color: #339933;">,</span> xAcceleration<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	accelerationY.<span style="color: #202020;">text</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#91;</span>NSString alloc<span style="color: #009900;">&#93;</span> initWithFormat<span style="color: #339933;">:</span>@<span style="color: #ff0000;">&quot;%4.1f%&quot;</span><span style="color: #339933;">,</span> yAcceleration<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	accelerationZ.<span style="color: #202020;">text</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#91;</span>NSString alloc<span style="color: #009900;">&#93;</span> initWithFormat<span style="color: #339933;">:</span>@<span style="color: #ff0000;">&quot;%4.1f%&quot;</span><span style="color: #339933;">,</span> zAcceleration<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
	<span style="color: #993333;">long</span> xValue <span style="color: #339933;">=</span> map<span style="color: #009900;">&#40;</span>xAcceleration<span style="color: #339933;">,</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">100</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">100</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">7</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #993333;">long</span> yValue <span style="color: #339933;">=</span> map<span style="color: #009900;">&#40;</span>yAcceleration<span style="color: #339933;">,</span> <span style="color: #339933;">-</span><span style="color: #0000dd;">100</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">100</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">7</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #009900;">&#91;</span>positionX setValue<span style="color: #339933;">:</span>xValue<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#91;</span>positionY setValue<span style="color: #339933;">:</span>yValue<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
	NSString <span style="color: #339933;">*</span>command <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>NSString stringWithFormat<span style="color: #339933;">:</span>@<span style="color: #ff0000;">&quot;SET LED %d:%d:%d&quot;</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span><span style="color: #009900;">&#41;</span>xValue<span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span><span style="color: #009900;">&#41;</span>yValue<span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span>color value<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#91;</span>socket sendData<span style="color: #339933;">:</span>command<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></div></div>

<p><a href="http://dl.getdropbox.com/u/2213241/ArduinoControlliPhone.zip">Sourcecode of Arduino Controlling with iPhone</a></p>


<p>Related posts:<ol><li><a href='http://www.floriansweb.com/arduino/arduino-wishield-led-matrix-a-lot-of-fun.html' rel='bookmark' title='Permanent Link: Arduino + Wishield + LED Matrix = a lot of fun!'>Arduino + Wishield + LED Matrix = a lot of fun!</a> <small> socketapp.c extern char buffer&#91;20&#93;; static int handle_connection&#40;struct socket_app_state *s&#41;...</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-led-matrix-control-part-ii.html' rel='bookmark' title='Permanent Link: Arduino LED Matrix Control Part II'>Arduino LED Matrix Control Part II</a> <small> With the Arduino app you can control a led...</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-iphone-webinterface-alcohol-sensor.html' rel='bookmark' title='Permanent Link: Arduino iphone Webinterface + Alcohol Sensor'>Arduino iphone Webinterface + Alcohol Sensor</a> <small> Erreichte Ziele Arduino über Webinterface gesteuert (LED an/aus) Alcohol...</small></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Floriansweb?a=3y39sTWRvxQ:VJZd-YEAQQQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Floriansweb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Floriansweb?a=3y39sTWRvxQ:VJZd-YEAQQQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Floriansweb?i=3y39sTWRvxQ:VJZd-YEAQQQ:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Floriansweb/~4/3y39sTWRvxQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.floriansweb.com/arduino/arduino-led-matrix-controlling-by-iphone.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.floriansweb.com/arduino/arduino-led-matrix-controlling-by-iphone.html</feedburner:origLink></item>
		<item>
		<title>Arduino + Wishield + LED Matrix = a lot of fun!</title>
		<link>http://feedproxy.google.com/~r/Floriansweb/~3/zB-r7f4Pn6U/arduino-wishield-led-matrix-a-lot-of-fun.html</link>
		<comments>http://www.floriansweb.com/arduino/arduino-wishield-led-matrix-a-lot-of-fun.html#comments</comments>
		<pubDate>Sun, 18 Oct 2009 17:49:00 +0000</pubDate>
		<dc:creator>Hackfrag</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[led]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[socket]]></category>
		<category><![CDATA[sparkfun]]></category>
		<category><![CDATA[wishield]]></category>
		<category><![CDATA[wlan]]></category>

		<guid isPermaLink="false">http://www.floriansweb.com/?p=627</guid>
		<description><![CDATA[
socketapp.c

extern char buffer&#91;20&#93;;
static int handle_connection&#40;struct socket_app_state *s&#41;
&#123;
&#160;
  PSOCK_BEGIN&#40;&#38;s-&#62;p&#41;;
  PSOCK_READTO&#40;&#38;s-&#62;p, '\n'&#41;;
  memcpy&#40;buffer,s-&#62;inputbuffer,20&#41;;
  memset&#40;s-&#62;inputbuffer, 0x00, sizeof&#40;s-&#62;inputbuffer&#41;&#41;;
  PSOCK_END&#40;&#38;amp;s-&#38;gt;p&#41;;
&#125;

main

void loop&#40;&#41; &#123;
  WiFi.run&#40;&#41;;
  if&#40;strncmp&#40;buffer, &#34;SET LED&#34;, 7&#41; == 0&#41; &#123;
&#160;
    substr&#40;positionX, buffer, 8,1&#41;;
    substr&#40;positionY, buffer, 10,1&#41;;
    substr&#40;color, buffer, 12,3&#41;;
    matrix.set&#40;atoi&#40;positionX&#41;,atoi&#40;positionY&#41;, atoi&#40;color&#41;&#41;;
 [...]


Related posts:<ol><li><a href='http://www.floriansweb.com/arduino/arduino-led-matrix-controlling-by-iphone.html' rel='bookmark' title='Permanent Link: Arduino LED Matrix Controlling by iPhone'>Arduino LED Matrix Controlling by iPhone</a> <small>Today i ported the mac ArduinoControll app to my iPhone....</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-led-matrix-control-part-ii.html' rel='bookmark' title='Permanent Link: Arduino LED Matrix Control Part II'>Arduino LED Matrix Control Part II</a> <small> With the Arduino app you can control a led...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/sezufqLj4z0&#038;hl=de&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/sezufqLj4z0&#038;hl=de&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p>
<p>socketapp.c</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">extern</span> <span style="color: #993333;">char</span> buffer<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">20</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #993333;">static</span> <span style="color: #993333;">int</span> handle_connection<span style="color: #009900;">&#40;</span><span style="color: #993333;">struct</span> socket_app_state <span style="color: #339933;">*</span>s<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
&nbsp;
  PSOCK_BEGIN<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>s<span style="color: #339933;">-&gt;</span>p<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  PSOCK_READTO<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>s<span style="color: #339933;">-&gt;</span>p<span style="color: #339933;">,</span> <span style="color: #ff0000;">'<span style="color: #000099; font-weight: bold;">\n</span>'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  memcpy<span style="color: #009900;">&#40;</span>buffer<span style="color: #339933;">,</span>s<span style="color: #339933;">-&gt;</span>inputbuffer<span style="color: #339933;">,</span><span style="color: #0000dd;">20</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  memset<span style="color: #009900;">&#40;</span>s<span style="color: #339933;">-&gt;</span>inputbuffer<span style="color: #339933;">,</span> <span style="color: #208080;">0x00</span><span style="color: #339933;">,</span> <span style="color: #993333;">sizeof</span><span style="color: #009900;">&#40;</span>s<span style="color: #339933;">-&gt;</span>inputbuffer<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  PSOCK_END<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span>s<span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>p<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>main</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">void</span> loop<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  WiFi.<span style="color: #202020;">run</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>strncmp<span style="color: #009900;">&#40;</span>buffer<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;SET LED&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">7</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
    substr<span style="color: #009900;">&#40;</span>positionX<span style="color: #339933;">,</span> buffer<span style="color: #339933;">,</span> <span style="color: #0000dd;">8</span><span style="color: #339933;">,</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    substr<span style="color: #009900;">&#40;</span>positionY<span style="color: #339933;">,</span> buffer<span style="color: #339933;">,</span> <span style="color: #0000dd;">10</span><span style="color: #339933;">,</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    substr<span style="color: #009900;">&#40;</span>color<span style="color: #339933;">,</span> buffer<span style="color: #339933;">,</span> <span style="color: #0000dd;">12</span><span style="color: #339933;">,</span><span style="color: #0000dd;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    matrix.<span style="color: #202020;">set</span><span style="color: #009900;">&#40;</span>atoi<span style="color: #009900;">&#40;</span>positionX<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>atoi<span style="color: #009900;">&#40;</span>positionY<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> atoi<span style="color: #009900;">&#40;</span>color<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    matrix.<span style="color: #202020;">send</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Sending to the socket server (Cocoa, NSStream)</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">-</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span>sendData<span style="color: #339933;">:</span><span style="color: #009900;">&#40;</span>NSString <span style="color: #339933;">*</span><span style="color: #009900;">&#41;</span><span style="color: #993333;">string</span> <span style="color: #009900;">&#123;</span>
&nbsp;
	NSString <span style="color: #339933;">*</span>stringWithEnding <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>NSString stringWithFormat<span style="color: #339933;">:</span>@<span style="color: #ff0000;">&quot;%@<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #993333;">string</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #993333;">const</span> uint8_t <span style="color: #339933;">*</span> rawstring <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #993333;">const</span> uint8_t <span style="color: #339933;">*</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span>stringWithEnding UTF8String<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#91;</span>oStream write<span style="color: #339933;">:</span>rawstring maxLength<span style="color: #339933;">:</span>strlen<span style="color: #009900;">&#40;</span>rawstring<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></div></div>

<p><a href="http://www.floriansweb.com/upload/2009/10/Bildschirmfoto-2009-10-21-um-21.58.01.png"><img src="http://www.floriansweb.com/upload/2009/10/Bildschirmfoto-2009-10-21-um-21.58.01.png" alt="Bildschirmfoto 2009-10-21 um 21.58.01" title="Bildschirmfoto 2009-10-21 um 21.58.01" width="372" height="282" class="aligncenter size-full wp-image-636" /></a></p>
<p><a href="http://dl.getdropbox.com/u/2213241/SocketApp.zip">Sourcecode of the Arduino Socket Server</a></p>
<p><a href="http://dl.getdropbox.com/u/2213241/ArduinoControll.zip">Sourcecode of the Cocoa Socket Client</a></p>
<p><a href="http://dl.getdropbox.com/u/2213241/LEDMatrixPong.zip">Sourcecode of &#8217;simple&#8217; pong</a></p>
<p>led matrix protocol:</p>
<pre>SET LED x:y:color</pre>


<p>Related posts:<ol><li><a href='http://www.floriansweb.com/arduino/arduino-led-matrix-controlling-by-iphone.html' rel='bookmark' title='Permanent Link: Arduino LED Matrix Controlling by iPhone'>Arduino LED Matrix Controlling by iPhone</a> <small>Today i ported the mac ArduinoControll app to my iPhone....</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-led-matrix-control-part-ii.html' rel='bookmark' title='Permanent Link: Arduino LED Matrix Control Part II'>Arduino LED Matrix Control Part II</a> <small> With the Arduino app you can control a led...</small></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Floriansweb?a=zB-r7f4Pn6U:4dzuBmHvNOI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Floriansweb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Floriansweb?a=zB-r7f4Pn6U:4dzuBmHvNOI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Floriansweb?i=zB-r7f4Pn6U:4dzuBmHvNOI:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Floriansweb/~4/zB-r7f4Pn6U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.floriansweb.com/arduino/arduino-wishield-led-matrix-a-lot-of-fun.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.floriansweb.com/arduino/arduino-wishield-led-matrix-a-lot-of-fun.html</feedburner:origLink></item>
		<item>
		<title>everpixx Kennenlern-Gutschein: 10 % auf Fotokalender</title>
		<link>http://feedproxy.google.com/~r/Floriansweb/~3/KUVwWccdzBE/everpixx-kennlern-rabatt-fotokalender.html</link>
		<comments>http://www.floriansweb.com/privat/everpixx-kennlern-rabatt-fotokalender.html#comments</comments>
		<pubDate>Tue, 06 Oct 2009 11:11:03 +0000</pubDate>
		<dc:creator>Hackfrag</dc:creator>
				<category><![CDATA[Privat & Persönliches]]></category>
		<category><![CDATA[everpixx]]></category>
		<category><![CDATA[fotokalender]]></category>
		<category><![CDATA[Gutschein]]></category>
		<category><![CDATA[rabatt]]></category>

		<guid isPermaLink="false">http://www.floriansweb.com/?p=624</guid>
		<description><![CDATA[
Kennenlern-Gutschein
10% Gutschein für alle Fotokalender

Laden Sie die kostenlose Gestaltungssoftware hier herunter.
Gestalten Sie Ihren individuellen Fotokalender
Bei der Bestellung tragen Sie folgenden Gutschein-Code* ein:
TIKILINECO

Ihr Fotokalender wird Ihnen bequem nach Hause geliefert.

*Dieser Gutschein ist gültig für Neukunden, bis zum 30.11.2009 auf alle Fotokalender-Bestellungen.


Related posts:Albumdruck &#8211; Mehr als nur Bilder. Fotobuch, Fotoalbum, Fotokalender &#8211; Software kostenlos downloaden  Seit [...]


Related posts:<ol><li><a href='http://www.floriansweb.com/development/albumdruck-mehr-als-nur-bilder-fotobuch-fotoalbum-fotokalender-software-kostenlos-downloaden.html' rel='bookmark' title='Permanent Link: Albumdruck &#8211; Mehr als nur Bilder. Fotobuch, Fotoalbum, Fotokalender &#8211; Software kostenlos downloaden'>Albumdruck &#8211; Mehr als nur Bilder. Fotobuch, Fotoalbum, Fotokalender &#8211; Software kostenlos downloaden</a> <small> Seit dem 1. August ist die Seite www.albumdruck.de online!...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<h2><img class="aligncenter" title="everpixx fotokalender" src="http://farm4.static.flickr.com/3435/3987034122_0c91a9d368.jpg" alt="" width="352" height="500" /></h2>
<h2>Kennenlern-Gutschein</h2>
<h3>10% Gutschein für alle Fotokalender</h3>
<ol>
<li>Laden Sie die kostenlose Gestaltungssoftware <a href="http://www.everpixx.de/software/download">hier</a> herunter.</li>
<li>Gestalten Sie Ihren individuellen Fotokalender</li>
<li>Bei der Bestellung tragen Sie folgenden Gutschein-Code* ein:<br />
<h2>TIKILINECO</h2>
</li>
<li>Ihr Fotokalender wird Ihnen bequem nach Hause geliefert.</li>
</ol>
<p>*Dieser Gutschein ist gültig für Neukunden, bis zum 30.11.2009 auf alle Fotokalender-Bestellungen.</p>


<p>Related posts:<ol><li><a href='http://www.floriansweb.com/development/albumdruck-mehr-als-nur-bilder-fotobuch-fotoalbum-fotokalender-software-kostenlos-downloaden.html' rel='bookmark' title='Permanent Link: Albumdruck &#8211; Mehr als nur Bilder. Fotobuch, Fotoalbum, Fotokalender &#8211; Software kostenlos downloaden'>Albumdruck &#8211; Mehr als nur Bilder. Fotobuch, Fotoalbum, Fotokalender &#8211; Software kostenlos downloaden</a> <small> Seit dem 1. August ist die Seite www.albumdruck.de online!...</small></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Floriansweb?a=KUVwWccdzBE:ofn_6VFZMXA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Floriansweb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Floriansweb?a=KUVwWccdzBE:ofn_6VFZMXA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Floriansweb?i=KUVwWccdzBE:ofn_6VFZMXA:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Floriansweb/~4/KUVwWccdzBE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.floriansweb.com/privat/everpixx-kennlern-rabatt-fotokalender.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.floriansweb.com/privat/everpixx-kennlern-rabatt-fotokalender.html</feedburner:origLink></item>
		<item>
		<title>Wasser auf dem Mars!</title>
		<link>http://feedproxy.google.com/~r/Floriansweb/~3/FOAE-noRJLk/wasser-auf-dem-mars.html</link>
		<comments>http://www.floriansweb.com/privat/wasser-auf-dem-mars.html#comments</comments>
		<pubDate>Thu, 01 Oct 2009 10:45:42 +0000</pubDate>
		<dc:creator>Hackfrag</dc:creator>
				<category><![CDATA[Privat & Persönliches]]></category>

		<guid isPermaLink="false">http://www.floriansweb.com/?p=622</guid>
		<description><![CDATA[


No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p><a href="http://apod.nasa.gov/apod/image/0504/WaterOnMars2_gcc.jpg"><img class="aligncenter" title="Wasser auf dem Mars" src="http://apod.nasa.gov/apod/image/0504/WaterOnMars2_gcc.jpg" alt="" width="640" height="480" /></a></p>


<p>No related posts.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Floriansweb?a=FOAE-noRJLk:cmPQyI4462Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Floriansweb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Floriansweb?a=FOAE-noRJLk:cmPQyI4462Y:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Floriansweb?i=FOAE-noRJLk:cmPQyI4462Y:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Floriansweb/~4/FOAE-noRJLk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.floriansweb.com/privat/wasser-auf-dem-mars.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.floriansweb.com/privat/wasser-auf-dem-mars.html</feedburner:origLink></item>
		<item>
		<title>Arduino iphone Webinterface + Alcohol Sensor</title>
		<link>http://feedproxy.google.com/~r/Floriansweb/~3/fH7o53c7FhE/arduino-iphone-webinterface-alcohol-sensor.html</link>
		<comments>http://www.floriansweb.com/arduino/arduino-iphone-webinterface-alcohol-sensor.html#comments</comments>
		<pubDate>Wed, 16 Sep 2009 20:41:29 +0000</pubDate>
		<dc:creator>Hackfrag</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[alcohol]]></category>
		<category><![CDATA[gas]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[sensor]]></category>
		<category><![CDATA[Serial]]></category>
		<category><![CDATA[Webinterface]]></category>

		<guid isPermaLink="false">http://www.floriansweb.com/?p=617</guid>
		<description><![CDATA[
Erreichte Ziele

Arduino über Webinterface gesteuert (LED an/aus)
Alcohol Sensor Werte auf 7-Segment LED angezeigt

Auswertung des Alcohol Sensors

    sensorValue = analogRead&#40;sensorPin&#41;;
    sensorValue = sensorValue;
    //Serial.println(sensorValue);
    display.showNumber&#40;map&#40;sensorValue, 0, 1023, 0, 9&#41;&#41;;



Related posts:Alcohol Gas Sensor MQ-3 + Arduino Mein selbstgebauter Alkohol Sensor. Der Sensor misst den aktuellen [...]


Related posts:<ol><li><a href='http://www.floriansweb.com/arduino/alcohol-gas-sensor-mq-3-arduino.html' rel='bookmark' title='Permanent Link: Alcohol Gas Sensor MQ-3 + Arduino'>Alcohol Gas Sensor MQ-3 + Arduino</a> <small>Mein selbstgebauter Alkohol Sensor. Der Sensor misst den aktuellen Alkohol...</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-motoshield-soldering-action.html' rel='bookmark' title='Permanent Link: arduino motoshield soldering action'>arduino motoshield soldering action</a> <small> After about 2 houres of soldering everything works well...</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-led-matrix-controlling-by-iphone.html' rel='bookmark' title='Permanent Link: Arduino LED Matrix Controlling by iPhone'>Arduino LED Matrix Controlling by iPhone</a> <small>Today i ported the mac ArduinoControll app to my iPhone....</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/qnUnwomRViQ&amp;hl=de&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/qnUnwomRViQ&amp;hl=de&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<h3>Erreichte Ziele</h3>
<ul>
<li>Arduino über Webinterface gesteuert (LED an/aus)</li>
<li>Alcohol Sensor Werte auf 7-Segment LED angezeigt</li>
</ul>
<h3>Auswertung des Alcohol Sensors</h3>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;">    sensorValue <span style="color: #339933;">=</span> analogRead<span style="color: #009900;">&#40;</span>sensorPin<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    sensorValue <span style="color: #339933;">=</span> sensorValue<span style="color: #339933;">;</span>
    <span style="color: #666666; font-style: italic;">//Serial.println(sensorValue);</span>
    display.<span style="color: #202020;">showNumber</span><span style="color: #009900;">&#40;</span>map<span style="color: #009900;">&#40;</span>sensorValue<span style="color: #339933;">,</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">1023</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">,</span> <span style="color: #0000dd;">9</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>



<p>Related posts:<ol><li><a href='http://www.floriansweb.com/arduino/alcohol-gas-sensor-mq-3-arduino.html' rel='bookmark' title='Permanent Link: Alcohol Gas Sensor MQ-3 + Arduino'>Alcohol Gas Sensor MQ-3 + Arduino</a> <small>Mein selbstgebauter Alkohol Sensor. Der Sensor misst den aktuellen Alkohol...</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-motoshield-soldering-action.html' rel='bookmark' title='Permanent Link: arduino motoshield soldering action'>arduino motoshield soldering action</a> <small> After about 2 houres of soldering everything works well...</small></li><li><a href='http://www.floriansweb.com/arduino/arduino-led-matrix-controlling-by-iphone.html' rel='bookmark' title='Permanent Link: Arduino LED Matrix Controlling by iPhone'>Arduino LED Matrix Controlling by iPhone</a> <small>Today i ported the mac ArduinoControll app to my iPhone....</small></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Floriansweb?a=fH7o53c7FhE:h_LjThr_Cgw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Floriansweb?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Floriansweb?a=fH7o53c7FhE:h_LjThr_Cgw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/Floriansweb?i=fH7o53c7FhE:h_LjThr_Cgw:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Floriansweb/~4/fH7o53c7FhE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.floriansweb.com/arduino/arduino-iphone-webinterface-alcohol-sensor.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.floriansweb.com/arduino/arduino-iphone-webinterface-alcohol-sensor.html</feedburner:origLink></item>
	</channel>
</rss>
