<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- Generated by YaBB on Wed, 16 May 2012 20:47:17 +0000 -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?action=RSSrecent" rel="self" type="application/rss+xml" />
		<title>10 most Recent Topics - Arduino Forum</title>
		<link>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl</link>
		<description> - Arduino Forum</description>
		<language>en-us</language>

		<copyright>Arduino Forum</copyright>
		<lastBuildDate>Wed, 16 May 2012 20:47:17 +0000</lastBuildDate>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<generator></generator>
		<ttl>30</ttl>
		<item>
			<title>Development - send byte array via com</title>
			<link>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295856767/0#0</link>
			<category>Arduino Forum/Development</category>
			<guid>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295856767/0#0</guid>
			
			<pubDate>Mon, 24 Jan 2011 09:12:47 +0000</pubDate>
			<description>Hi,&#60;br /&#62;&#60;br /&#62;&#60;br /&#62;I want to send via com from PC(C# application) array of byte (100 elements in array), what is the best method for do this ? &#60;br /&#62;&#60;br /&#62;I tray do it in loop, but something is wrong becuse when i read message from arduni i take result that when I send example arrayExampe[30]=220, i receive from arduino message that he has 3 elements 2,2,0. &#60;br /&#62;&#60;br /&#62;here is code in PC:&#60;br /&#62;&#60;br /&#62; &#60;b&#62;Code:&#60;/b&#62;&#60;pre class=&#34;code&#34; style=&#34;margin: 0px; width: 90%; height: 300px; overflow: auto;&#34;&#62;using System;
using System&#38;#46;Collections&#38;#46;Generic;
using System&#38;#46;ComponentModel;
using System&#38;#46;&#38;#068;ata;
using System&#38;#46;&#38;#068;rawing;
using System&#38;#46;Linq;
using System&#38;#46;Text;
using System&#38;#46;Windows&#38;#46;Forms;
using System&#38;#46;IO&#38;#46;Ports;

namespace WindowsFormsApplication1
&#38;#123;
 &#160; &#160;public partial class Form1 &#38;#58; Form
 &#160; &#160;&#38;#123;
	 &#160;public Form1&#38;#40;&#38;#41;
	 &#160;&#38;#123;
		InitializeComponent&#38;#40;&#38;#41;;
	 &#160;&#38;#125;

	 &#160;private void button1_Click&#38;#40;object sender, EventArgs e&#38;#41;
	 &#160;&#38;#123;

		byte&#38;#91;&#38;#93; arrByte= new byte&#38;#91;96&#38;#93;&#38;#123;1, 1, 1, 1, 1, 1, 1, 1,1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, &#160;1, 1, 1, 1, 1, 1, 1, 1,1, 16, 32, 55, 80, 110, 140, 190,190, 190, 190, 190, 190, 190, 190, 190,190, 190, 190, 190, 190, 190, 190, 190,190, 190, 190, 190, 190, 190, 190, 190,190, 190, 190, 190, 190, 190, 190, 190,190, 190, 190, 190, 190, 190, 190, 190, 190, 110, 90, 70, 55, 32, 16, 1, 1, 1, 1, 1, 1, 1, 1, 1&#38;#125;;




		SerialPort port = new SerialPort&#38;#40;&#38;quot;COM5&#38;quot;, 9600, Parity&#38;#46;None, 8, StopBits&#38;#46;One&#38;#41;;
		port&#38;#46;ReadBufferSize = 128;
		port&#38;#46;Open&#38;#40;&#38;#41;;
		string read;
		for &#38;#40;int i = 0; i &#38;lt; arrByte&#38;#46;Length; i++&#38;#41;
		&#38;#123;

		 &#160; &#160;port&#38;#46;Write&#38;#40;arrByte&#38;#91;i&#38;#93;&#38;#46;ToString&#38;#40;&#38;#41;&#38;#41;;
		 &#160; &#160;read = port&#38;#46;ReadLine&#38;#40;&#38;#41;;
		 &#160; &#160;textBox1&#38;#46;Text = textBox1&#38;#46;Text + read+&#38;quot;, &#38;quot; + &#38;quot;&#38;#92;r&#38;#92;n&#38;quot;;
		 &#160; &#160;port&#38;#46;Write&#38;#40;&#38;quot;,&#38;quot;&#38;#41;;


		&#38;#125;
	 &#160; &#160; port&#38;#46;Close&#38;#40;&#38;#41;;
	 &#160;&#38;#125;
 &#160; &#160;&#38;#125;
&#38;#125;
 

&#60;/pre&#62;&#60;br /&#62;&#60;br /&#62;Here us Arduino simple program:&#60;br /&#62; &#60;b&#62;Code:&#60;/b&#62;&#60;pre class=&#34;code&#34; style=&#34;margin: 0px; width: 90%; &#160;overflow: auto;&#34;&#62;byte incomingByte = 0;	&#38;#47;&#38;#47; for incoming serial data

void setup&#38;#40;&#38;#41; &#38;#123;
	Serial&#38;#46;begin&#38;#40;9600&#38;#41;;	&#38;#47;&#38;#47; opens serial port, sets data rate to 9600 bps
&#38;#125;

void loop&#38;#40;&#38;#41; &#38;#123;

	&#38;#47;&#38;#47; send data only when you receive data&#38;#58;
	if &#38;#40;Serial&#38;#46;available&#38;#40;&#38;#41; &#38;gt; 0&#38;#41; &#38;#123;
		&#38;#47;&#38;#47; read the incoming byte&#38;#58;
		incomingByte = Serial&#38;#46;read&#38;#40;&#38;#41;;

		&#38;#47;&#38;#47; say what you got&#38;#58;
		Serial&#38;#46;print&#38;#40;&#38;quot;I received&#38;#58; &#38;quot;&#38;#41;;
		Serial&#38;#46;println&#38;#40;incomingByte&#38;#41;;
	&#38;#125;
&#38;#125;
 

&#60;/pre&#62;&#60;br /&#62;&#60;br /&#62;&#60;br /&#62;Thanks for answers.&#60;br /&#62;&#60;br /&#62;best regards&#60;br /&#62;malin&#60;br /&#62;&#60;br /&#62;</description>
		</item>
		<item>
			<title>Troubleshooting - Sketch keeps going</title>
			<link>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295855509/0#0</link>
			<category>Arduino Forum/Troubleshooting</category>
			<guid>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295855509/0#0</guid>
			<author>nanoboy98@gmail.com (Viper98)</author>
			<pubDate>Mon, 24 Jan 2011 08:51:49 +0000</pubDate>
			<description>Okay so what i&#39;m trying to do is make an LED dice based on the tutorial HERE &#60;a href=&#34;http://www.instructables.com/id/Arduino-Led-Dice/&#34; target=&#34;_blank&#34;&#62;http://www.instructables.com/id/Arduino-Led-Dice/&#60;/a&#62; The &#38;quot;die&#38;quot; rolls and displays a number between 1&#38;amp;6I got the sketch he wrote up and it runs perfectly. But being the tinkerer i am i wasnt satisfied. Eventually i want to involve two die on one breadboard to play a &#38;quot;game&#38;quot; of sorts. When one player wins a sound plays (right now it is set to play a sound byte from SMB) using the tone library. Right now while im troubleshooting i have it to play the tone when a 4 is rolled. The problem im having is that it will randomly pick a number and then &#38;quot;print&#38;quot; it to the die (using the &#38;quot;disp&#38;quot; function) multiple times instead of just one. This makes no visible change but when a 4 is rolled the sound will play more then once. It seems almost random how many times is is sent into the disp function but its always between 1 and 3. I&#39;m very new to arduino and would probably consider this my first real project and I&#39;ve tried everything i can think of. Any help would be much appreciated&#60;br /&#62;&#60;br /&#62;My code isn&#39;t commented at all because its nowhere near completed but if you have question about what any part of the code does please ask.&#60;br /&#62;&#60;br /&#62;disp(int rand)  ---  Displays the random number on the die&#60;br /&#62;&#60;br /&#62;blank() ---  Clears the die completly turning all LEDs off&#60;br /&#62;&#60;br /&#62;play_rtttl(char *p) --- plays the sound when called&#60;br /&#62;&#60;br /&#62; &#60;b&#62;Code:&#60;/b&#62;&#60;pre class=&#34;code&#34; style=&#34;margin: 0px; width: 90%; height: 300px; overflow: auto;&#34;&#62;int pin1 = 4;
int pin2 = 6;
int pin3 = 7;
int pin4 = 5;
int buttonPin = 2;
int ran;

#include &#38;lt;Tone&#38;#46;h&#38;gt;
Tone tone1;
#define OCTAVE_OFFSET 0

int notes&#38;#91;&#38;#93; = &#38;#123;
  0,
  NOTE_C4, NOTE_CS4, NOTE_&#38;#068;4, NOTE_&#38;#068;S4, NOTE_E4, NOTE_F4, NOTE_FS4, NOTE_G4, NOTE_GS4, NOTE_A4, NOTE_AS4, NOTE_B4,
  NOTE_C5, NOTE_CS5, NOTE_&#38;#068;5, NOTE_&#38;#068;S5, NOTE_E5, NOTE_F5, NOTE_FS5, NOTE_G5, NOTE_GS5, NOTE_A5, NOTE_AS5, NOTE_B5,
  NOTE_C6, NOTE_CS6, NOTE_&#38;#068;6, NOTE_&#38;#068;S6, NOTE_E6, NOTE_F6, NOTE_FS6, NOTE_G6, NOTE_GS6, NOTE_A6, NOTE_AS6, NOTE_B6,
  NOTE_C7, NOTE_CS7, NOTE_&#38;#068;7, NOTE_&#38;#068;S7, NOTE_E7, NOTE_F7, NOTE_FS7, NOTE_G7, NOTE_GS7, NOTE_A7, NOTE_AS7, NOTE_B7
&#38;#125;;
char *song = &#38;quot;smbdeath&#38;#58;d=4,o=5,b=90&#38;#58;8p,16b,16f6,16p,16f6,16f&#38;#46;6,16e&#38;#46;6,16d6,16c6,16p,16e,16p,16c&#38;quot;;

void setup &#38;#40;&#38;#41;
&#38;#123;
  tone1&#38;#46;begin&#38;#40;3&#38;#41;;
  pinMode &#38;#40;pin1, OUTPUT&#38;#41;;
  pinMode &#38;#40;pin2, OUTPUT&#38;#41;;
  pinMode &#38;#40;pin3, OUTPUT&#38;#41;;
  pinMode &#38;#40;pin4, OUTPUT&#38;#41;;
  pinMode &#38;#40;buttonPin, INPUT&#38;#41;;
  randomSeed&#38;#40;analogRead&#38;#40;A1&#38;#41;&#38;#41;;
&#38;#125;
#define isdigit&#38;#40;n&#38;#41; &#38;#40;n &#38;gt;= &#39;0&#39; &#38;amp;&#38;amp; n &#38;lt;= &#39;9&#39;&#38;#41;
void loop&#38;#40;&#38;#41;
&#38;#123;
  while&#38;#40;digitalRead&#38;#40;buttonPin&#38;#41;==HIGH&#38;#41;
  &#38;#123;
    ran = random&#38;#40;1,7&#38;#41;;
    for&#38;#40;int x = 1;x&#38;lt;=3;x++&#38;#41;&#38;#123;
      blank&#38;#40;&#38;#41;;
      if&#38;#40;x==1&#38;#41;&#38;#123;
        digitalWrite&#38;#40;pin2,HIGH&#38;#41;;
      &#38;#125;
      if&#38;#40;x==2&#38;#41;&#38;#123;
        digitalWrite&#38;#40;pin3,HIGH&#38;#41;;
        digitalWrite&#38;#40;pin1,HIGH&#38;#41;;
      &#38;#125;
      if&#38;#40;x==3&#38;#41;&#38;#123;
        digitalWrite&#38;#40;pin4,HIGH&#38;#41;;
      &#38;#125;
      delay&#38;#40;45&#38;#41;;
      if&#38;#40;digitalRead&#38;#40;buttonPin&#38;#41;==LOW&#38;#41;
      &#38;#123;
        blank&#38;#40;&#38;#41;;
        disp&#38;#40;ran&#38;#41;;
      &#38;#125;
    &#38;#125;
  &#38;#125;
&#38;#125;



void disp&#38;#40;int rand&#38;#41;
&#38;#123;
  switch&#38;#40;rand&#38;#41;
  &#38;#123;
  case 1&#38;#58;
    digitalWrite &#38;#40;pin4, HIGH&#38;#41;;
    break;
  case 2&#38;#58;
    digitalWrite &#38;#40;pin1, HIGH&#38;#41;;
    break;
  case 3&#38;#58;
    digitalWrite &#38;#40;pin3, HIGH&#38;#41;;
    digitalWrite &#38;#40;pin4, HIGH&#38;#41;;
    break;
  case 4&#38;#58;
    digitalWrite &#38;#40;pin1, HIGH&#38;#41;;
    digitalWrite &#38;#40;pin3, HIGH&#38;#41;;
    break;
  case 5&#38;#58;
    digitalWrite &#38;#40;pin1, HIGH&#38;#41;;
    digitalWrite &#38;#40;pin3, HIGH&#38;#41;;
    digitalWrite &#38;#40;pin4, HIGH&#38;#41;;
    break;
  case 6&#38;#58;
    digitalWrite &#38;#40;pin1, HIGH&#38;#41;;
    digitalWrite &#38;#40;pin2, HIGH&#38;#41;;
    digitalWrite &#38;#40;pin3, HIGH&#38;#41;;
    break;
  &#38;#125;
  if&#38;#40;rand == 4&#38;#41;
  &#38;#123;
    play_rtttl&#38;#40;song&#38;#41;;
  &#38;#125;
&#38;#125;




void blank&#38;#40;&#38;#41;
&#38;#123;
  digitalWrite&#38;#40;pin1,LOW&#38;#41;;
  digitalWrite&#38;#40;pin2,LOW&#38;#41;;
  digitalWrite&#38;#40;pin3,LOW&#38;#41;;
  digitalWrite&#38;#40;pin4,LOW&#38;#41;;
&#38;#125;





void play_rtttl&#38;#40;char *p&#38;#41;
&#38;#123;
  byte default_dur = 4;
  byte default_oct = 6;
  int bpm = 63;
  int num;
  long wholenote;
  long duration;
  byte note;
  byte scale;

  while&#38;#40;*p &#38;#33;= &#39;&#38;#58;&#39;&#38;#41; p++;
  p++;

  if&#38;#40;*p == &#39;d&#39;&#38;#41;
  &#38;#123;
    p++;
    p++;              &#38;#47;&#38;#47; skip &#38;quot;d=&#38;quot;
    num = 0;
    while&#38;#40;isdigit&#38;#40;*p&#38;#41;&#38;#41;
    &#38;#123;
      num = &#38;#40;num * 10&#38;#41; + &#38;#40;*p++ &#38;#45; &#39;0&#39;&#38;#41;;
    &#38;#125;
    if&#38;#40;num &#38;gt; 0&#38;#41; default_dur = num;
    p++;                   &#38;#47;&#38;#47; skip comma
  &#38;#125;
  if&#38;#40;*p == &#39;o&#39;&#38;#41;
  &#38;#123;
    p++;
    p++;              &#38;#47;&#38;#47; skip &#38;quot;o=&#38;quot;
    num = *p++ &#38;#45; &#39;0&#39;;
    if&#38;#40;num &#38;gt;= 3 &#38;amp;&#38;amp; num &#38;lt;=7&#38;#41; default_oct = num;
    p++;                   &#38;#47;&#38;#47; skip comma
  &#38;#125;
  if&#38;#40;*p == &#39;b&#39;&#38;#41;
  &#38;#123;
    p++;
    p++;              &#38;#47;&#38;#47; skip &#38;quot;b=&#38;quot;
    num = 0;
    while&#38;#40;isdigit&#38;#40;*p&#38;#41;&#38;#41;
    &#38;#123;
      num = &#38;#40;num * 10&#38;#41; + &#38;#40;*p++ &#38;#45; &#39;0&#39;&#38;#41;;
    &#38;#125;
    bpm = num;
    p++;                   &#38;#47;&#38;#47; skip colon
  &#38;#125;
  wholenote = &#38;#40;60 * 1000L &#38;#47; bpm&#38;#41; * 4;
  while&#38;#40;*p&#38;#41;
  &#38;#123;
    num = 0;
    while&#38;#40;isdigit&#38;#40;*p&#38;#41;&#38;#41;
    &#38;#123;
      num = &#38;#40;num * 10&#38;#41; + &#38;#40;*p++ &#38;#45; &#39;0&#39;&#38;#41;;
    &#38;#125;

    if&#38;#40;num&#38;#41; duration = wholenote &#38;#47; num;
    else duration = wholenote &#38;#47; default_dur;  &#38;#47;&#38;#47; we will need to check if we are a dotted note after

      &#38;#47;&#38;#47; now get the note
    note = 0;

    switch&#38;#40;*p&#38;#41;
    &#38;#123;
    case &#39;c&#39;&#38;#58;
      note = 1;
      break;
    case &#39;d&#39;&#38;#58;
      note = 3;
      break;
    case &#39;e&#39;&#38;#58;
      note = 5;
      break;
    case &#39;f&#39;&#38;#58;
      note = 6;
      break;
    case &#39;g&#39;&#38;#58;
      note = 8;
      break;
    case &#39;a&#39;&#38;#58;
      note = 10;
      break;
    case &#39;b&#39;&#38;#58;
      note = 12;
      break;
    case &#39;p&#39;&#38;#58;
    default&#38;#58;
      note = 0;
    &#38;#125;
    p++;

    &#38;#47;&#38;#47; now, get optional &#39;#&#39; sharp
    if&#38;#40;*p == &#39;#&#39;&#38;#41;
    &#38;#123;
      note++;
      p++;
    &#38;#125;

    &#38;#47;&#38;#47; now, get optional &#39;&#38;#46;&#39; dotted note
    if&#38;#40;*p == &#39;&#38;#46;&#39;&#38;#41;
    &#38;#123;
      duration += duration&#38;#47;2;
      p++;
    &#38;#125;

    &#38;#47;&#38;#47; now, get scale
    if&#38;#40;isdigit&#38;#40;*p&#38;#41;&#38;#41;
    &#38;#123;
      scale = *p &#38;#45; &#39;0&#39;;
      p++;
    &#38;#125;
    else
    &#38;#123;
      scale = default_oct;
    &#38;#125;

    scale += OCTAVE_OFFSET;

    if&#38;#40;*p == &#39;,&#39;&#38;#41;
      p++;       &#38;#47;&#38;#47; skip comma for next note &#38;#40;or we may be at the end&#38;#41;

    &#38;#47;&#38;#47; now play the note

    if&#38;#40;note&#38;#41;
    &#38;#123;
      tone1&#38;#46;play&#38;#40;notes&#38;#91;&#38;#40;scale &#38;#45; 4&#38;#41; * 12 + note&#38;#93;&#38;#41;;
      delay&#38;#40;duration&#38;#41;;
      tone1&#38;#46;stop&#38;#40;&#38;#41;;
    &#38;#125;
    else
    &#38;#123;
      delay&#38;#40;duration&#38;#41;;
    &#38;#125;
  &#38;#125;
&#38;#125;



 

&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Syntax & Programs - NewSoftSerial</title>
			<link>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295852868/0#0</link>
			<category>Arduino Forum/Syntax & Programs</category>
			<guid>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295852868/0#0</guid>
			<author>frogeraie1@wanadoo.fr (Frogeraie)</author>
			<pubDate>Mon, 24 Jan 2011 08:07:48 +0000</pubDate>
			<description>Something very basic I am missing....&#60;br /&#62;In the example given with the library, NewSoftSerialTest, two messages can be sent out, one through the hardware serial port, a second one through pins 2 and 3.&#60;br /&#62;My question is: How can I visualize the second one? I see alright the first one on the Serial Monitor, but what about that coming through pin 2 and 3? </description>
		</item>
		<item>
			<title>Development - Is there a way to save data inputed into Arduino?</title>
			<link>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295839562/0#0</link>
			<category>Arduino Forum/Development</category>
			<guid>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295839562/0#0</guid>
			
			<pubDate>Mon, 24 Jan 2011 04:26:02 +0000</pubDate>
			<description>I have a barometer hooked up and running. The issue I am having is that every time you turn it on or hit reset you need to recalibrate it. Is there any way to save data onto the board so that after reset or turn on it runs up the program and then grabs the saved data as well?&#60;br /&#62;&#60;br /&#62;I&#39;m using the Duemilanove board and the data I need to save is in the form of a double. &#60;br /&#62;&#60;br /&#62;Any help would be appreciated, it&#39;s for a class project. &#60;br /&#62;&#60;br /&#62;Thanks. </description>
		</item>
		<item>
			<title>Troubleshooting - Running Arduino 0022 software</title>
			<link>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295830136/0#0</link>
			<category>Arduino Forum/Troubleshooting</category>
			<guid>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295830136/0#0</guid>
			<author>petergreenmusic@msn.com (petergreenmusic)</author>
			<pubDate>Mon, 24 Jan 2011 01:48:56 +0000</pubDate>
			<description>I am using windows 7 and I am not sure to open this zip file. Every time I try I get &#60;br /&#62;&#60;br /&#62;C:\Users\Peter\Desktop\arduino-0022.zip could not be saved, because the source file could not be read.&#60;br /&#62;&#60;br /&#62;Try again later, or contact the server administrator. &#60;br /&#62;&#60;br /&#62;I know it&#39;s something simple and I hope someone can help.&#60;br /&#62;&#60;br /&#62;Kind regards, Pete&#60;br /&#62;</description>
		</item>
		<item>
			<title>Deutsch - alles Gute altes Forum</title>
			<link>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295827278/0#0</link>
			<category>Arduino Forum/Deutsch</category>
			<guid>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295827278/0#0</guid>
			
			<pubDate>Mon, 24 Jan 2011 01:01:18 +0000</pubDate>
			<description>Hiermit verabschiede ich mich vom alten Forum.&#60;br /&#62;&#60;br /&#62;Viele Grüße an alle Teilnehmer&#60;br /&#62;&#60;br /&#62;Uwe&#60;br /&#62;</description>
		</item>
		<item>
			<title>Bar Sport - What processors are available?</title>
			<link>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295825099/0#0</link>
			<category>Arduino Forum/Bar Sport</category>
			<guid>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295825099/0#0</guid>
			
			<pubDate>Mon, 24 Jan 2011 00:24:59 +0000</pubDate>
			<description>I want to make a single board computer but I&#39;m interested in seeing what other processors there are available in doing so.</description>
		</item>
		<item>
			<title>Syntax & Programs - C++</title>
			<link>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295824945/0#0</link>
			<category>Arduino Forum/Syntax & Programs</category>
			<guid>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295824945/0#0</guid>
			
			<pubDate>Mon, 24 Jan 2011 00:22:25 +0000</pubDate>
			<description>Hello, I&#39;m pretty new to the Arduino world.&#60;br /&#62;&#60;br /&#62;I&#39;m using using an arduino uno board and I want to interface it to a Borland C++ program. Basically I want one of the pwm ports to ouput a certain voltage if a variable is one value and another voltage if that variable is another. I wrote the code to do this with the arduino software. So do I upload that code to the board then use the serial.read and serial.write commands?</description>
		</item>
		<item>
			<title>Español - Material para proyecto alarma.</title>
			<link>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295824430/0#0</link>
			<category>Arduino Forum/Español</category>
			<guid>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295824430/0#0</guid>
			<author>seras_eto@hotmail.com (flypycfv)</author>
			<pubDate>Mon, 24 Jan 2011 00:13:50 +0000</pubDate>
			<description>Buenas a todos, pues bien quiero montar una alarma para un chalet que tengo y este es el material que he pensado pillar de momento:&#60;br /&#62;&#60;br /&#62;Pantalla:&#60;br /&#62;&#60;a href=&#34;http://cgi.ebay.es/ws/eBayISAPI.dll?ViewItem&#38;item=140500826557&#38;ssPageName=STRK:MEWAX:IT&#34; target=&#34;_blank&#34;&#62;http://cgi.ebay.es/ws/eBayISAPI.dll?ViewItem&#38;amp;item=140500826557&#38;amp;ssPageName=STRK:MEWAX:IT&#60;/a&#62;&#60;br /&#62;&#60;br /&#62;Reles para el control de luces:&#60;br /&#62;&#60;a href=&#34;http://cgi.ebay.es/ws/eBayISAPI.dll?ViewItem&#38;item=110636982015&#38;ssPageName=STRK:MEWAX:IT&#34; target=&#34;_blank&#34;&#62;http://cgi.ebay.es/ws/eBayISAPI.dll?ViewItem&#38;amp;item=110636982015&#38;amp;ssPageName=STRK:MEWAX:IT&#60;/a&#62;&#60;br /&#62;Arduino:&#60;br /&#62;&#60;a href=&#34;http://cgi.ebay.es/ws/eBayISAPI.dll?ViewItem&#38;item=280607225201&#38;ssPageName=STRK:MEWAX:IT&#34; target=&#34;_blank&#34;&#62;http://cgi.ebay.es/ws/eBayISAPI.dll?ViewItem&#38;amp;item=280607225201&#38;amp;ssPageName=STRK:MEWAX:IT&#60;/a&#62;&#60;br /&#62;&#60;br /&#62;&#60;a href=&#34;http://cgi.ebay.es/ws/eBayISAPI.dll?ViewItem&#38;item=250756721234&#38;ssPageName=STRK:MEWAX:IT&#34; target=&#34;_blank&#34;&#62;http://cgi.ebay.es/ws/eBayISAPI.dll?ViewItem&#38;amp;item=250756721234&#38;amp;ssPageName=STRK:MEWAX:IT&#60;/a&#62;&#60;br /&#62;no se cual de los 2 elegir.&#60;br /&#62;&#60;br /&#62;Sensor pir creo que este mi sirve:&#60;br /&#62;&#60;a href=&#34;http://cgi.ebay.es/2-x-PIR-Detector-Infrarrojo-Movimiento-Seguridad-DIY-/260713458317?pt=LH_DefaultDomain_186&#38;hash=item3cb3bbaa8d&#34; target=&#34;_blank&#34;&#62;http://cgi.ebay.es/2-x-PIR-Detector-Infrarrojo-Movimiento-Seguridad-DIY-/260713458317?pt=LH_DefaultDomain_186&#38;amp;hash=item3cb3bbaa8d&#60;/a&#62;&#60;br /&#62;&#60;br /&#62;Ahora me falta el teclado que no he encontrado ninguno por I2C&#60;br /&#62;y tengo que encontrar sensores de los de infrarrojos de haz como los que usan las barreras automaticas para detectar el paso de gente por ciertas zonas.&#60;br /&#62;&#60;br /&#62;y tambien sensores de los que se ponen en las puertas y ventas que no los encuentro o digo que no se como buscarlos.&#60;br /&#62;&#60;br /&#62;a ver lo que opinan los expertos para pedir el material&#60;br /&#62;&#60;br /&#62;Saludos</description>
		</item>
		<item>
			<title>Bugs & Suggestions - Bug with 022 and Linux?</title>
			<link>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295818399/0#0</link>
			<category>Arduino Forum/Bugs & Suggestions</category>
			<guid>http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1295818399/0#0</guid>
			<author>giorgio@gilestro.tk (crocowhile)</author>
			<pubDate>Sun, 23 Jan 2011 22:33:19 +0000</pubDate>
			<description>I am an archlinux user and I am encountering an annoying bug with the 022 version of arduino. I know I am not the only one given that the same is been reported by other users on the archlinux package page (see: &#38;nbsp;aur.archlinux.org / &#38;nbsp;packages.php &#38;nbsp;? &#38;nbsp;ID=8388). Basically, the code seems to compile and upload correctly yet the board won&#39;t execute it properly: in fact, it will just execute the first command then crash. The blink example file, for instance, will make the LED turn on and it will never turn off again.&#60;br /&#62;&#60;br /&#62;Any idea?&#60;br /&#62;&#60;br /&#62;&#60;br /&#62;gg@majorana:~$ uname -a&#60;br /&#62;Linux majorana 2.6.36-ARCH #1 SMP PREEMPT Sat Jan 8 13:16:43 UTC 2011 i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux&#60;br /&#62;gg@majorana:~$ gcc --version&#60;br /&#62;gcc (GCC) 4.5.2&#60;br /&#62;&#60;br /&#62;gg@majorana:~$ arduino&#60;br /&#62;Experimental: &#38;nbsp;JNI_OnLoad called.&#60;br /&#62;Stable Library&#60;br /&#62;=========================================&#60;br /&#62;Native lib Version = RXTX-2.1-7&#60;br /&#62;Java lib Version &#38;nbsp; = RXTX-2.1-7&#60;br /&#62;</description>
		</item>
	</channel>
</rss>
