<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Error in documentation</title>
		<link>http://forums.leaflabs.com/topic.php?id=612</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:23:19 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=612" rel="self" type="application/rss+xml" />

		<item>
			<title>poslathian on "Error in documentation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=612#post-3365</link>
			<pubDate>Fri, 14 Jan 2011 06:58:23 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">3365@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;hmmm. it would certainly seem that way. Well take a look. Thanks for the spot!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>wilsonjc on "Error in documentation"</title>
			<link>http://forums.leaflabs.com/topic.php?id=612#post-3360</link>
			<pubDate>Thu, 13 Jan 2011 12:00:00 +0000</pubDate>
			<dc:creator>wilsonjc</dc:creator>
			<guid isPermaLink="false">3360@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I was reading the code on the analogWrite()  and I was confused by the lines&#60;br /&#62;
*******&#60;br /&#62;
val = analogRead(analogPin);   // read the input pin&#60;br /&#62;
analogWrite(BOARD_LED_PIN, val / 16);  // analogRead values go from 0&#60;br /&#62;
                                         // to 4095, analogWrite values&#60;br /&#62;
                                         // from 0 to 65535&#60;br /&#62;
*********&#60;br /&#62;
should that not be val mult by 16 not divided?   I may be just too sleepy to know better.   here is a link to the page...&#60;br /&#62;
&#60;a href=&#34;http://leaflabs.com/docs/lang/api/pwmwrite.html#lang-pwmwrite&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/lang/api/pwmwrite.html#lang-pwmwrite&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
