<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
	<channel>
		<title>Ale&scaron; Zemene&#039;s Blog</title>
		<link>http://ales.mur.at/blog/index.php</link>
		<description><![CDATA[Happy blogging !]]></description>
		<copyright>Copyright 2012, Ales Zemene</copyright>
		<managingEditor>Ales Zemene</managingEditor>
		<language>en-US</language>
		<generator>SPHPBLOG 0.4.8</generator>
		<item>
			<title>pulse audio</title>
			<link>http://ales.mur.at/blog/index.php?entry=entry111012-101506</link>
			<description><![CDATA[#!/bin/bash<br /><br /><br />killall pulseaudio ; sleep 1 ; pulseaudio -n -F ~/.pulse/pulsejack.pa -D;  pactl load-module module-jack-sink ; pactl load-module module-jack-source<br /><br /># load-module module-jack-sink channels=2 channel_map=left,right<br /># load-module module-jack-source channels=2 channel_map=left,right ]]></description>
			<category></category>
			<guid isPermaLink="true">http://ales.mur.at/blog/index.php?entry=entry111012-101506</guid>
			<author>Ales Zemene</author>
			<pubDate>Wed, 12 Oct 2011 08:15:06 GMT</pubDate>
			<comments>http://ales.mur.at/blog/comments.php?y=11&amp;m=10&amp;entry=entry111012-101506</comments>
		</item>
		<item>
			<title>Timemachine</title>
			<link>http://ales.mur.at/blog/index.php?entry=entry110308-013607</link>
			<description><![CDATA[#!/bin/bash<br /><br />killall pulseaudio &amp;<br />killall mplayer &amp;<br />killall vlc &amp;<br />killall jackd &amp;<br />killall qjackctl &amp;<br />killall hdspmixer &amp;<br />killall timemachine &amp;<br /><br />hdsploader &amp;<br />sleep 3<br />jackd -d alsa &amp;<br />sleep 1<br />hdspmixer &amp;<br />sleep 1<br />qjackctl &amp;<br />sleep 2<br /><br />timemachine -c 2 -t 300 -p mix -f wav  &amp;<br />sleep 3<br />jack_connect system:capture_1 TimeMachine:in_1<br />jack_connect system:capture_2 TimeMachine:in_2<br />jack_connect system:capture_7 TimeMachine:in_1<br />jack_connect system:capture_8 TimeMachine:in_2<br />]]></description>
			<category></category>
			<guid isPermaLink="true">http://ales.mur.at/blog/index.php?entry=entry110308-013607</guid>
			<author>Ales Zemene</author>
			<pubDate>Tue, 08 Mar 2011 00:36:07 GMT</pubDate>
			<comments>http://ales.mur.at/blog/comments.php?y=11&amp;m=03&amp;entry=entry110308-013607</comments>
		</item>
		<item>
			<title>routing pulse audio to jack audio, enabling sound for flash in mozilla:</title>
			<link>http://ales.mur.at/blog/index.php?entry=entry110308-010642</link>
			<description><![CDATA[This is quick reminder what i need to get working sound applications which are using normally pulse audio, routing it all to jack audio connection kit, and also to get sound in flash movies in firefox working.<br /><br />you need libflassupport: <br />git clone <a href="http://git.0pointer.de/repos/libflashsupport.git/" target="_blank" >http://git.0pointer.de/repos/libflashsupport.git/</a><br />cd libflashsupport<br />./bootstrap.sh<br />(if it asks for libssl, get devel package:<br />sudo apt-get-install libssl-dev, and run ./bootstrap.sh again)<br />make<br />sudo make install<br />more instruction to get libflashsupport :<br /><a href="http://www.pulseaudio.org/wiki/FlashPlayer9Solution" target="_blank" >http://www.pulseaudio.org/wiki/FlashPlayer9Solution</a><br /><br />sudo apt-get install pulseaudio-module-jack<br />echo &quot;autospawn = no&quot; &gt; ~/.pulse/client.conf<br /><br />put in your startup script:<br /><br />killall pulseaudio; sleep 1; pulseaudio -n -F ~/.pulseaudio/pulsejack.pa -D; pactl load-module module-jack-sink; pactl load-module module-jack-source<br /><br />pavucontrol<br /><br />more detailed info can be found all over the internet<br /><br /><br />]]></description>
			<category></category>
			<guid isPermaLink="true">http://ales.mur.at/blog/index.php?entry=entry110308-010642</guid>
			<author>Ales Zemene</author>
			<pubDate>Tue, 08 Mar 2011 00:06:42 GMT</pubDate>
			<comments>http://ales.mur.at/blog/comments.php?y=11&amp;m=03&amp;entry=entry110308-010642</comments>
		</item>
		<item>
			<title>Whitelabel.name production</title>
			<link>http://ales.mur.at/blog/index.php?entry=entry110224-140515</link>
			<description><![CDATA[<a href="http://whitelabel.name" target="_blank" >Whitelabel.name production<br /><img src="http://ales.mur.at/blog/images/wl_logo.png" width="400" height="118" border="0" alt="" /><br />New web interface for this project, created in Drupal.</a><br /><br /><br /><br /><br />]]></description>
			<category></category>
			<guid isPermaLink="true">http://ales.mur.at/blog/index.php?entry=entry110224-140515</guid>
			<author>Ales Zemene</author>
			<pubDate>Thu, 24 Feb 2011 13:05:15 GMT</pubDate>
			<comments>http://ales.mur.at/blog/comments.php?y=11&amp;m=02&amp;entry=entry110224-140515</comments>
		</item>
		<item>
			<title>memories of Kusaj </title>
			<link>http://ales.mur.at/blog/index.php?entry=entry101024-171729</link>
			<description><![CDATA[Today kocour(tomcat) Kusaj who lived with me more than two years died under the wheels of car. Not that i would expect him to be here infinitely, but it is sad.<br />He was excellent cat DJ, and very good companion with fighting, bitting and scratching. Coolest cat i&#039;ve ever met.]]></description>
			<category></category>
			<guid isPermaLink="true">http://ales.mur.at/blog/index.php?entry=entry101024-171729</guid>
			<author>Ales Zemene</author>
			<pubDate>Sun, 24 Oct 2010 15:17:29 GMT</pubDate>
			<comments>http://ales.mur.at/blog/comments.php?y=10&amp;m=10&amp;entry=entry101024-171729</comments>
		</item>
		<item>
			<title>ata bus errors {DRDY} with rt kernel 2.6.29</title>
			<link>http://ales.mur.at/blog/index.php?entry=entry090602-120659</link>
			<description><![CDATA[<img src="http://ales.mur.at/blog/images/Er.jpg" width="800" height="600" border="0" alt="" /><br /><br /><a href="http://marc.info/?l=linux-kernel&amp;m=123863703423694&amp;w=2" target="_blank" >http://marc.info/?l=linux-kernel&amp;m= ... 94&amp;w=2</a><br /><br /><a href="http://ata.wiki.kernel.org/index.php/Libata_error_messages" target="_blank" >http://ata.wiki.kernel.org/index.php/Li ... r_messages</a><br /><br />]]></description>
			<category></category>
			<guid isPermaLink="true">http://ales.mur.at/blog/index.php?entry=entry090602-120659</guid>
			<author>Ales Zemene</author>
			<pubDate>Tue, 02 Jun 2009 10:06:59 GMT</pubDate>
			<comments>http://ales.mur.at/blog/comments.php?y=09&amp;m=06&amp;entry=entry090602-120659</comments>
		</item>
		<item>
			<title>mutt</title>
			<link>http://ales.mur.at/blog/index.php?entry=entry090311-172119</link>
			<description><![CDATA[In the case that the pass phrase was mistyped when it was asked for, Mutt seems to be &quot;hung&quot;, but that&#039;s not true, it is waiting for it to be retyped. To do this, push the &lt;Enter&gt; key and delete the pass phrase from memory with &lt;Ctrl&gt;F. Next we repeat the message sending with (&quot;y&quot;) and retype the pass phrase. ]]></description>
			<category></category>
			<guid isPermaLink="true">http://ales.mur.at/blog/index.php?entry=entry090311-172119</guid>
			<author>Ales Zemene</author>
			<pubDate>Wed, 11 Mar 2009 16:21:19 GMT</pubDate>
			<comments>http://ales.mur.at/blog/comments.php?y=09&amp;m=03&amp;entry=entry090311-172119</comments>
		</item>
		<item>
			<title>grep</title>
			<link>http://ales.mur.at/blog/index.php?entry=entry090207-213633</link>
			<description><![CDATA[export GREP_COLOR=31<br />alias grep=&#039;grep --color=auto&#039;]]></description>
			<category></category>
			<guid isPermaLink="true">http://ales.mur.at/blog/index.php?entry=entry090207-213633</guid>
			<author>Ales Zemene</author>
			<pubDate>Sat, 07 Feb 2009 20:36:33 GMT</pubDate>
			<comments>http://ales.mur.at/blog/comments.php?y=09&amp;m=02&amp;entry=entry090207-213633</comments>
		</item>
		<item>
			<title>RME Hammerfall Multiface on Debian</title>
			<link>http://ales.mur.at/blog/index.php?entry=entry080814-164346</link>
			<description><![CDATA[FIRST : we need a real time kernel <br /><br />wget <a href="http://www.eu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.tar.bz2" target="_blank" >http://www.eu.kernel.org/pub/linux/kern ... 26.tar.bz2</a><br />wget <a href="http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.26-rt1.bz2" target="_blank" >http://www.kernel.org/pub/linux/kernel/ ... 26-rt1.bz2</a><br />tar xjvf linux-2.6.26.tar.bz2<br />cd linux-2.6.26<br />bzcat ../patch-2.6.26-rt1.bz2|patch -p1<br />make menuconfig<br /><br />### Processor type and features&gt; Preemption Mode (Complete Preemption (Real-Time))<br />### Processor type and features&gt;Timer frequency (1000 HZ)<br /><br />make-kpkg clean<br />make-kpkg --revision &quot;01.rt&quot; --initrd kernel_image<br />cd ../<br />dpkg -i linux-image.....blah.blah.deb<br /><br />reboot and hope ...<br /><br /><b>Troubles configuring RME Hammerfall multiface (II) ?<br />Tired of the <br />&quot;Unable to open file                                                                                                     &#039;/usr/share/alsa/firmware/hdsploader/multiface_firmware_rev11.bin&#039;              <br /> for reading&quot; <br />message ?</b><br /><br /><b>then those are your friends :</b><br /><br />mkdir -p /usr/share/alsa/firmware/hdsploader<br />cd /usr/share/alsa/firmware/hdsploader<br />wget <a href="http://www.linuxproaudio.org/downloads/firmware/multiface_firmware_rev11.bin" target="_blank" >http://www.linuxproaudio.org/downloads/ ... _rev11.bin</a><br /><br /><b>and further friends of the friends :</b><br /><br />alsaconf<br />hdsploader<br />hdspmixer<br /><br /><b><br />there is even more friends on <a href="mailto:alsa-user@lists.sourceforge.net" target="_blank" >alsa-user@lists.sourceforge.net</a></b><br /><br /><br />************************************<br /><br />added to /etc/security/limits.conf :<br /><br />@audio - rtprio 99<br />@audio - nice -10<br />@audio - memlock 500000<br /><br />adduser XXXX audio<br /><br /><br />qjackctl :<br /><br />x realtime<br /><br />priority : default<br />frames/period : 1024<br />sample rate : 44100<br /><br /><a href="javascript:openpopup('http://ales.mur.at/image/qjackctl.png',618,484,false);"><img src="http://ales.mur.at/image/qjackctl.png" width="600" height="470" border="0" alt="" id="img_float_left" /></a>]]></description>
			<category></category>
			<guid isPermaLink="true">http://ales.mur.at/blog/index.php?entry=entry080814-164346</guid>
			<author>Ales Zemene</author>
			<pubDate>Thu, 14 Aug 2008 14:43:46 GMT</pubDate>
			<comments>http://ales.mur.at/blog/comments.php?y=08&amp;m=08&amp;entry=entry080814-164346</comments>
		</item>
		<item>
			<title>config : .screenrc</title>
			<link>http://ales.mur.at/blog/index.php?entry=entry080313-100318</link>
			<description><![CDATA[  autodetach            on              # default: on<br />  crlf                  off             # default: off<br />  deflogin              off             # default: on<br /># defsilence            off             # default: off<br />  hardcopy_append       on              # default: off<br /># nethack               on              # default: off<br />  startup_message       off             # default: on<br />  vbell                 on             # default: ???<br />  termcapinfo xterm     ti@:te@<br />  termcapinfo linux &quot;ve=\E[?25h\E[?17;0;64c&quot;<br />  termcapinfo rxvt-cygwin-native ti@:te@<br />  defscrollback         1000            # default: 100<br /># msgminwait            3               # default: 1<br />  silencewait           15              # default: 30<br />#caption always &quot;%&gt;%{yr}%?%-Lw%?%{yk}%n*%f %t%?(%u)%?%{yr}%?%+Lw%?&quot;<br />  caption always &quot;%&gt;%{WB}%?%-Lw%?%{Wk}%n*%f %t%?(%u)%?%{WB}%?%+Lw%?     %77=%{rB} %H %D %M %d  %94=%{WB}%c%=&quot;<br />#hardstatus alwayslastline &quot;%{yk}SCREEN SESSION  &lt;========================&gt; %50=%{ry}      hostname : %H %85=%{ry}%M%d    %92=%{yr}%c%=&quot;<br /> sorendition    rw # red    on white<br />#  sorendition    kG # black  on bold green<br />  activity              &quot;%C -&gt; %n%f %t activity!&quot;<br />  bell                  &quot;%C -&gt; %n%f %t bell!~&quot;<br />  pow_detach_msg        &quot;screen session power detached &quot;<br />  vbell_msg             &quot; *beepnulo_to* &quot;<br />  bind .<br /># bind ^\ quit        # default<br />  bind ^\<br /># bind \\ quit        # default<br />  bind \\<br /># bind h  hardcopy    # default<br /># bind h<br /># bind ^h ???         # default<br /># bind ^h<br /># bind }  history     # default<br /># bind }<br />bind L screen -t LINKS.ice links <a href="http://ice.mur.at" target="_blank" >http://ice.mur.at</a><br />bind M monitor # default!<br />bind P paste .<br />bind X lockscreen<br />bind Z screen -t MAIL 1 ssh hornet.mur.at<br />  msgwait 3<br />  version<br />  msgwait 2<br />screen -t r00t 0 su<br />screen -t ENCODE 1 bash<br />screen -t PYTHON 2 bash<br />]]></description>
			<category></category>
			<guid isPermaLink="true">http://ales.mur.at/blog/index.php?entry=entry080313-100318</guid>
			<author>Ales Zemene</author>
			<pubDate>Thu, 13 Mar 2008 09:03:18 GMT</pubDate>
			<comments>http://ales.mur.at/blog/comments.php?y=08&amp;m=03&amp;entry=entry080313-100318</comments>
		</item>
		<item>
			<title>Nvidia Debian </title>
			<link>http://ales.mur.at/blog/index.php?entry=entry080305-161913</link>
			<description><![CDATA[##########################################################################<br />Tue May 27 2008 :<br />apt-cache show nvidia-kernel-common<br />should be the one from sid :<br />vim /etc/apt/sources.list :<br />deb <a href="http://ftp.zcu.cz/mirrors/debian/" target="_blank" >http://ftp.zcu.cz/mirrors/debian/</a> sid main non-free<br />deb <a href="http://ftp.zcu.cz/mirrors/debian/" target="_blank" >http://ftp.zcu.cz/mirrors/debian/</a> sid contrib<br />deb-src <a href="http://ftp.zcu.cz/mirrors/debian/" target="_blank" >http://ftp.zcu.cz/mirrors/debian/</a> sid main non-free<br />apt-get update<br />apt-get install nvidia-kernel-common<br />update-pciids &amp;&amp; apt-get install module-assistant nvidia-kernel-source &amp;&amp; m-a prepare &amp;&amp; m-a a-i nvidia &amp;&amp; apt-get install nvidia-glx &amp;&amp;  depmod -a &amp;&amp; modprobe nvidia &amp;&amp; dpkg-reconfigure xserver-xorg<br /><br />irc.freenode.org #debian<br />/m dpkg why is nvidia-glx not in testing<br /><br />##########################################################################<br />since info on <a href="http://wiki.debian.org" target="_blank" >http://wiki.debian.org</a> is mostly outdated about this topic ...<br /><br />better to ask dpkg bot on #debian irc.freenode.org :<br />/m dpkg nvidia_post_etch<br /><br />04:15PM &lt;wols&gt; !tell ales about nvidia_post_etch<br />04:15PM [dpkg(n=dpkg@unaffiliated/dpkg)] wols wants you to know: nvidia_post_etch is probably update-pciids &amp;&amp; apt-get install module-assistant nvidia-kernel-source &amp;&amp; m-a prepare &amp;&amp; m-a a-i nvidia &amp;&amp; apt-get install nvidia-glx &amp;&amp; depmod -a &amp;&amp; modprobe nvidia &amp;&amp; dpkg-reconfigure xserver-xorg<br /><br />With damn nvidia installer i had problems on testing, tried on unstable, still had  no driver module after reboot, installing it after each reboot is not what i want.<br />nvidia-installer --uninstall<br />aptitude remove $(apt-cache search nvidia | grep nvidia | cut -d&#039; &#039; -f 1)<br /><br />other interesting info from dpkg :<br />/msg dpkg nvidia one-liner<br />04:32PM [dpkg(n=dpkg@unaffiliated/dpkg)] [nvidia one-liner] apt-get install nvidia-kernel-2.6-`uname -r | sed &#039;s,.*-,,g&#039;` nvidia-settings nvidia-glx &amp;&amp; dpkg-reconfigure xserver-xorg <br /><br />(if you&#039;re on amd64, also install nvidia-glx-ia32. Using sarge? Ask me about &lt;nvidia_sarge&gt;. Homegrown or kernel from testing/sid: &lt;nvidia_post_etch&gt;. If you&#039;re using a Geforce2 or older: &lt;nvidia_legacy&gt;.<br /><br />]]></description>
			<category></category>
			<guid isPermaLink="true">http://ales.mur.at/blog/index.php?entry=entry080305-161913</guid>
			<author>Ales Zemene</author>
			<pubDate>Wed, 05 Mar 2008 15:19:13 GMT</pubDate>
			<comments>http://ales.mur.at/blog/comments.php?y=08&amp;m=03&amp;entry=entry080305-161913</comments>
		</item>
		<item>
			<title>MPLAYER</title>
			<link>http://ales.mur.at/blog/index.php?entry=entry070810-175017</link>
			<description><![CDATA[mplayer -vo fbdev ~/path/to/your_video.avi<br /><br />-vf scale=1280:1024<br /><br />sudo mplayer -vo svga  -vf scale=1024:768 video/killer.avi <br />MPlayer 1.0rc1-4.1.3 (C) 2000-2006 MPlayer Team<br />CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 4, Stepping: 1)<br />CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1<br />Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2<br /><br />Playing video/killer.avi.<br />AVI file format detected.<br />VIDEO:  [FMP4]  320x240  24bpp  30.000 fps  1263.2 kbps (154.2 kbyte/s)<br />Clip info:<br /> Software: Lavf51.12.1<br />svgalib: Cannot get I/O permissions.<br />]]></description>
			<category></category>
			<guid isPermaLink="true">http://ales.mur.at/blog/index.php?entry=entry070810-175017</guid>
			<author>Ales Zemene</author>
			<pubDate>Fri, 10 Aug 2007 15:50:17 GMT</pubDate>
			<comments>http://ales.mur.at/blog/comments.php?y=07&amp;m=08&amp;entry=entry070810-175017</comments>
		</item>
		<item>
			<title>FFMPEG</title>
			<link>http://ales.mur.at/blog/index.php?entry=entry070720-144350</link>
			<description><![CDATA[<br />svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg<br /><br />cd ffmpeg<br /><br />debian with libmp3lame, libamrnb and libamrwb installed in /usr/local/lib/, <br />i had to copy them in /usr/lib/ and use --libdir=/usr/lib<br /><br />#### this might be not needed : #######################<br />wget <a href="http://ales.mur.at/ffmpeg/amr-fixed.patch.bz2" target="_blank" >http://ales.mur.at/ffmpeg/amr-fixed.patch.bz2</a><br />bzcat amr-fixed.patch.bz2|patch -p1<br />####################################################### <br />./configure --enable-amr_nb-fixed --enable-amr_wb<br />./configure --enable-shared --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --enable-gpl --enable-libmp3lame --enable-libamr-nb --enable-libamr-wb<br /><br />make<br />make install (as root)<br /><br />ffmpeg -i videoin.avi -s qcif -r 12 -ac 1 -ar 8000 -b 30 -ab 12 videoout.3gp<br /><br />chat - irc.freenode.org #ffmpeg<br />mailing list - <a href="http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user" target="_blank" >http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user</a><br /><br /><br />]]></description>
			<category></category>
			<guid isPermaLink="true">http://ales.mur.at/blog/index.php?entry=entry070720-144350</guid>
			<author>Ales Zemene</author>
			<pubDate>Fri, 20 Jul 2007 12:43:50 GMT</pubDate>
			<comments>http://ales.mur.at/blog/comments.php?y=07&amp;m=07&amp;entry=entry070720-144350</comments>
		</item>
		<item>
			<title>r_w - rewriteable/wearable identity system</title>
			<link>http://ales.mur.at/blog/index.php?entry=entry070707-145525</link>
			<description><![CDATA[NAME <br />	R_W - rewriteable/wearable identity system<br /><br />TASK <br />	local private wifi net which holds my identity web server, video streaming server, <br />	captive portal, DNS server, and various logging scripts. installed on a small, <br />	battery powered device that can be worn embedded in clothes and able to create <br />	connection between networking device and microcontroller board with I/O.<br /><br />HARDWARE<br />	asus WL-HDD 2.5<br />	arduino NG <br /><br />SOFTWARE<br />	OpenWRT [version - WHITE RUSSIAN (RC5)]<br /><br />ROUTER CONFIG<br />	on asus i had to install modules for communication with arduino :<br />	<br />	- ftdi_sio <br />		ipkg install kmod-usb-serial-ftdi <br />		2.4.30-brcm-5 - Kernel Support for FTDI USB-to-Serial converters<br /><br />	other modules for USB were also handy :<br /><br />	- usbcore<br />	- usb-ohci<br />	- usbserial<br /><br />	module for mapping the reset button as trigger for a script :<br /><br />	- diag<br />		ipkg install kmod-diag <br />		2.4.30-brcm-5 - Kernel modules for LEDs and buttons<br />	<br />	- &quot;dmesg | grep diag&quot; should return :<br />		diag: Detected &#039;ASUS WL-HDD&#039;<br /><br />	- &quot;logread&quot; after pressing the reset button should have :<br />		Jul  5 12:43:09 (none) user.notice root: BUTTON=reset ACTION=pressed SEEN=16<br />		Jul  5 12:43:09 (none) user.notice root: BUTTON=reset ACTION=released SEEN=0<br />		Jul  5 12:43:09 (none) user.notice root: BUTTON=reset ACTION=pressed SEEN=0<br />		Jul  5 12:43:09 (none) user.notice root: BUTTON=reset ACTION=released SEEN=0<br />	<br />	script i put in /etc/hotplug.d/button/ :<br />	    #!/bin/sh<br />	    #scriptname: trigger.sh <br />	    logger &quot;BUTTON=$BUTTON ACTION=$ACTION SEEN=$SEEN&quot;<br />	    echo  &quot;BUTTON=$BUTTON ACTION=$ACTION SEEN=$SEEN&quot;<br />	    echo h &gt; /dev/usb/tts/0<br />	    sleep 1<br />	    echo l &gt; /dev/usb/tts/0<br /><br />ARDUINO CONFIG :<br />	i used avrdude to load C programs from commandline linux system to arduino<br />	<br />	/* TESTING CODE : */<br />	    #include <br />	    int ledPin13 = 13;<br />	    int ledPin12 = 12;<br />	    void setup() <br />	    {  pinMode(ledPin13,OUTPUT);<br />	      pinMode(ledPin12,OUTPUT);<br />	      Serial.begin(9600); <br />	    } <br />	    void loop () <br />	    {  int serbyte = 0; <br />	      serbyte = Serial.read();<br />	      delay(500);<br />		      digitalWrite(ledPin13, HIGH);<br />	      delay(500);<br />		      digitalWrite(ledPin13, LOW);    <br />	      if (serbyte != -1) <br />	      {<br />		if (serbyte == &#039;H&#039;) <br />		{      digitalWrite(ledPin12, HIGH);    }<br />		if (serbyte == &#039;L&#039; ) <br />		{      digitalWrite(ledPin12, LOW);    }<br />	      } <br />	    } <br />	/* END */<br />	<br /><br />AUTHOR <br />	Ales Zemene <a href="http://ales.mur.at" target="_blank" >http://ales.mur.at</a><br /><br /><br />BUGREPORT/REQUESTS<br />	<a href="mailto:ales@mur.at" target="_blank" >ales@mur.at</a><br /><br /><br />COPYLEFT 2007<br />	Feel free to do it better :)<br /><br /><br />SEE ALSO<br />	<a href="http://openwrt.org" target="_blank" >http://openwrt.org</a><br />	<a href="http://arduino.cc" target="_blank" >http://arduino.cc</a><br /><br /><br />							January 2007<br /><br />]]></description>
			<category></category>
			<guid isPermaLink="true">http://ales.mur.at/blog/index.php?entry=entry070707-145525</guid>
			<author>Ales Zemene</author>
			<pubDate>Sat, 07 Jul 2007 12:55:25 GMT</pubDate>
			<comments>http://ales.mur.at/blog/comments.php?y=07&amp;m=07&amp;entry=entry070707-145525</comments>
		</item>
	</channel>
</rss>


