<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>http://www.dl8rds.de/index.php?action=history&amp;feed=atom&amp;title=Controlling_a_PWM_over_I2C</id>
		<title>Controlling a PWM over I2C - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="http://www.dl8rds.de/index.php?action=history&amp;feed=atom&amp;title=Controlling_a_PWM_over_I2C"/>
		<link rel="alternate" type="text/html" href="http://www.dl8rds.de/index.php?title=Controlling_a_PWM_over_I2C&amp;action=history"/>
		<updated>2026-05-05T03:40:56Z</updated>
		<subtitle>Versionsgeschichte dieser Seite in DL8RDS Wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>http://www.dl8rds.de/index.php?title=Controlling_a_PWM_over_I2C&amp;diff=1399&amp;oldid=prev</id>
		<title>Dl8rds: New page: Pulse Width Modulation is a way to control the production of voltages. The hardware that is being used here is a BV4237:  * http://www.byvac.com/bv/bv4237.htm  The below given code sample ...</title>
		<link rel="alternate" type="text/html" href="http://www.dl8rds.de/index.php?title=Controlling_a_PWM_over_I2C&amp;diff=1399&amp;oldid=prev"/>
				<updated>2009-11-07T00:03:33Z</updated>
		
		<summary type="html">&lt;p&gt;New page: Pulse Width Modulation is a way to control the production of voltages. The hardware that is being used here is a BV4237:  * http://www.byvac.com/bv/bv4237.htm  The below given code sample ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Pulse Width Modulation is a way to control the production of voltages. The hardware that is being used here is a BV4237:&lt;br /&gt;
&lt;br /&gt;
* http://www.byvac.com/bv/bv4237.htm&lt;br /&gt;
&lt;br /&gt;
The below given code sample is based on the code presented by the BB user '''wilkosoft''':&lt;br /&gt;
&lt;br /&gt;
* http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1252352897/0&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;Wire.h&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 #define dac 0x31&lt;br /&gt;
 &lt;br /&gt;
 void sw16set(byte val) {&lt;br /&gt;
   Wire.beginTransmission(dac);  // join I2C, talk to BV4206 by id&lt;br /&gt;
   Wire.send(0x16);   //tell it what pin you want&lt;br /&gt;
   Wire.send(val);  //the state of the pin, from 0-8 (PWM controls the levels)&lt;br /&gt;
   Wire.endTransmission();      // leave I2C bus&lt;br /&gt;
   delay(100) ;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void setup()&lt;br /&gt;
 {&lt;br /&gt;
   Wire.begin();&lt;br /&gt;
   Serial.begin(9600);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void loop()&lt;br /&gt;
 {&lt;br /&gt;
   for (byte i=0; i&amp;lt;9; i++) {&lt;br /&gt;
     sw16set(i);&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>Dl8rds</name></author>	</entry>

	</feed>