
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.combustory.com/wiki/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.combustory.com/wiki/index.php?action=history&amp;feed=atom&amp;title=X9241A_-_Digital_Potentiometer</id>
		<title>X9241A - Digital Potentiometer - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.combustory.com/wiki/index.php?action=history&amp;feed=atom&amp;title=X9241A_-_Digital_Potentiometer"/>
		<link rel="alternate" type="text/html" href="http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;action=history"/>
		<updated>2026-04-27T09:36:41Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=572&amp;oldid=prev</id>
		<title>Jvaughters at 02:52, 13 February 2011</title>
		<link rel="alternate" type="text/html" href="http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=572&amp;oldid=prev"/>
				<updated>2011-02-13T02:52:49Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:52, 13 February 2011&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==== x9241A_Digital_Potentiometer_v.01 code ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==== x9241A_Digital_Potentiometer_v.01 code ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;pre&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;source lang=&amp;quot;c&amp;quot;&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/*&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;/*&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; * x9241A Digital Potentiometer v.01&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; * x9241A Digital Potentiometer v.01&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 335:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 335:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;//*****************************************************The End***********************&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;//*****************************************************The End***********************&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;pre&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;source&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== x9241A_Digital_Potentiometer_v.01 User Guide ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== x9241A_Digital_Potentiometer_v.01 User Guide ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==== Commands ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==== Commands ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Electronics]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Electronics]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jvaughters</name></author>	</entry>

	<entry>
		<id>http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=554&amp;oldid=prev</id>
		<title>Jvaughters at 19:32, 29 January 2011</title>
		<link rel="alternate" type="text/html" href="http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=554&amp;oldid=prev"/>
				<updated>2011-01-29T19:32:33Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:32, 29 January 2011&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{default}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{default}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;anyweb&amp;gt;http://combustory.com/wiki/ads/ad_rtc_1.html&amp;lt;/anyweb&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Summary ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Summary ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This code shows how to communicate with the X9241A Digital Potentiometer.&amp;#160; I plan on updating this info eventually to explain this chip, but for now you will probably want to get the data sheet to help with understanding what was done here.&amp;#160; The bottom line is that I have created this program to accept commands via serial commands to set the storage registers to certain values and to modify the pot registers to change based on serial commands. I have not figured out how to read the registers, but that is not so important to my application.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This code shows how to communicate with the X9241A Digital Potentiometer.&amp;#160; I plan on updating this info eventually to explain this chip, but for now you will probably want to get the data sheet to help with understanding what was done here.&amp;#160; The bottom line is that I have created this program to accept commands via serial commands to set the storage registers to certain values and to modify the pot registers to change based on serial commands. I have not figured out how to read the registers, but that is not so important to my application.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jvaughters</name></author>	</entry>

	<entry>
		<id>http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=520&amp;oldid=prev</id>
		<title>Jvaughters at 01:15, 8 October 2009</title>
		<link rel="alternate" type="text/html" href="http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=520&amp;oldid=prev"/>
				<updated>2009-10-08T01:15:14Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 01:15, 8 October 2009&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;anyweb&amp;gt;http://combustory.com/wiki/ads/ad_rtc.html&amp;lt;/anyweb&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{default}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{default}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jvaughters</name></author>	</entry>

	<entry>
		<id>http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=367&amp;oldid=prev</id>
		<title>Combustor at 00:03, 26 September 2008</title>
		<link rel="alternate" type="text/html" href="http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=367&amp;oldid=prev"/>
				<updated>2008-09-26T00:03:53Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 00:03, 26 September 2008&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 337:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 337:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== x9241A_Digital_Potentiometer_v.01 User Guide ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== x9241A_Digital_Potentiometer_v.01 User Guide ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==== Commands ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==== Commands ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Electronics]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Combustor</name></author>	</entry>

	<entry>
		<id>http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=365&amp;oldid=prev</id>
		<title>Combustor: /* Summary */</title>
		<link rel="alternate" type="text/html" href="http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=365&amp;oldid=prev"/>
				<updated>2008-09-26T00:00:45Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Summary&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 00:00, 26 September 2008&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Summary ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Summary ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;This code shows how to communicate with the X9241A Digital Potentiometer.&amp;#160; I plan on updating this info eventually to explain this chip, but for now you will probably want to get the data sheet to help with understanding what was done here.&amp;#160; The bottom line is that I have created this program to accept commands via serial commands to set the storage registers to certain values and to modify the pot registers to change based on serial commands. I have not figured out how to read the registers, but that is not so important to my application.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Method ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Method ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Combustor</name></author>	</entry>

	<entry>
		<id>http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=364&amp;oldid=prev</id>
		<title>Combustor at 23:55, 25 September 2008</title>
		<link rel="alternate" type="text/html" href="http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=364&amp;oldid=prev"/>
				<updated>2008-09-25T23:55:03Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 23:55, 25 September 2008&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Summary ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Summary ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Example of &lt;/del&gt;Method ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Method ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== I2C ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== I2C ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** Send WCR Byte - Potentiometer value (binary - 00 D5 D4 D3 D2 D1 D0) - D values are the 0-63 potentiometer positions&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** Send WCR Byte - Potentiometer value (binary - 00 D5 D4 D3 D2 D1 D0) - D values are the 0-63 potentiometer positions&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''Sample Code'''&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160; &amp;#160; &amp;#160;  Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160; &amp;#160; &amp;#160;  Wire.send(0xa0); //Instruction to write WCR-00&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160; &amp;#160; &amp;#160;  Wire.send(0x20); //Send a D value of 32&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160; &amp;#160; &amp;#160;  Wire.endTransmission();&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==== x9241A_Digital_Potentiometer_v.01 code ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==== x9241A_Digital_Potentiometer_v.01 code ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 343:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 336:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== x9241A_Digital_Potentiometer_v.01 User Guide ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== x9241A_Digital_Potentiometer_v.01 User Guide ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==== Commands ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==== Commands ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;== Troubleshooting ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;=== Summary ===&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;=== Quick Test ===&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Combustor</name></author>	</entry>

	<entry>
		<id>http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=363&amp;oldid=prev</id>
		<title>Combustor: /* x9241A_Digital_Potentiometer_v.01 code */</title>
		<link rel="alternate" type="text/html" href="http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=363&amp;oldid=prev"/>
				<updated>2008-09-14T02:33:41Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;x9241A_Digital_Potentiometer_v.01 code&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:33, 14 September 2008&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 109:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 109:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; Wire.send(0xc7);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; Wire.send(0xc7);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; Wire.send(0x3c);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; Wire.send(0x3c);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; Wire.endTransmission();&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; delay(100);&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; delay(100);&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Combustor</name></author>	</entry>

	<entry>
		<id>http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=362&amp;oldid=prev</id>
		<title>Combustor at 02:08, 13 September 2008</title>
		<link rel="alternate" type="text/html" href="http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=362&amp;oldid=prev"/>
				<updated>2008-09-13T02:08:12Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:08, 13 September 2008&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{default}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{default}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;== Warning ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''This page is in progress and none of the code can be considered good or complete. I am just using this as an alternate storage of the code for right now.'''&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Summary ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Summary ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 342:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 340:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;A/C_Control_v&lt;/del&gt;.01 User Guide ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;x9241A_Digital_Potentiometer_v&lt;/ins&gt;.01 User Guide ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==== Commands ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==== Commands ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Troubleshooting ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Troubleshooting ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== Summary ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== Summary ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;When Troubleshooting a multi-functional issue, it is best practice to break down the issue into pieces and test each piece as a separate system.&amp;#160; However, we will first run through a quick test to see if we can find any obvious issues first.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== Quick Test ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== Quick Test ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Combustor</name></author>	</entry>

	<entry>
		<id>http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=361&amp;oldid=prev</id>
		<title>Combustor at 02:05, 13 September 2008</title>
		<link rel="alternate" type="text/html" href="http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=361&amp;oldid=prev"/>
				<updated>2008-09-13T02:05:23Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:05, 13 September 2008&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160;  Wire.endTransmission();&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160;  Wire.endTransmission();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;==== DS1307 - Real Time Clock ====&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;The code for this very useful chip came from the [[http://www.glacialwanderer.com/hobbyrobotics/?p=12 Glacial Wanderer]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==== x9241A_Digital_Potentiometer_v.01 code ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==== x9241A_Digital_Potentiometer_v.01 code ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Combustor</name></author>	</entry>

	<entry>
		<id>http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=360&amp;oldid=prev</id>
		<title>Combustor: New page: {{default}} == Warning == '''This page is in progress and none of the code can be considered good or complete. I am just using this as an alternate storage of the code for right now.'''  =...</title>
		<link rel="alternate" type="text/html" href="http://www.combustory.com/wiki/index.php?title=X9241A_-_Digital_Potentiometer&amp;diff=360&amp;oldid=prev"/>
				<updated>2008-09-13T02:04:50Z</updated>
		
		<summary type="html">&lt;p&gt;New page: {{default}} == Warning == &amp;#039;&amp;#039;&amp;#039;This page is in progress and none of the code can be considered good or complete. I am just using this as an alternate storage of the code for right now.&amp;#039;&amp;#039;&amp;#039;  =...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{default}}&lt;br /&gt;
== Warning ==&lt;br /&gt;
'''This page is in progress and none of the code can be considered good or complete. I am just using this as an alternate storage of the code for right now.'''&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
== Example of Method ==&lt;br /&gt;
=== I2C ===&lt;br /&gt;
&lt;br /&gt;
There are basically only two functions that I am after right now which are both three byte instructions: &lt;br /&gt;
&lt;br /&gt;
* Read WCR(Wiper Control Register) for the four potentiometers 0-3 (So far this is failing miserably)&lt;br /&gt;
** Send 1st byte - Address (my circuit - 01011010 or 0x2D)(binary - 0101 A3 A2 A1 A0) A values are actual pins set to high or low for an address.&lt;br /&gt;
** Send 2nd byte - Instruction (binary - 1001 (1/0)(1/0) 00) - The two bits are used to choose the potentiometer&lt;br /&gt;
** Read WCR requested Byte&lt;br /&gt;
* Write WCR for the four potentiometers 0-3 (This works)&lt;br /&gt;
** Send 1st byte - Address (my circuit - 01011010 or 0x2D)(binary - 0101 A3 A2 A1 A0) A values are actual pins set to high or low for an address.&lt;br /&gt;
** Send 2nd byte - Instruction (binary - 1010 (1/0)(1/0) 00) - The two bits are used to choose the potentiometer&lt;br /&gt;
** Send WCR Byte - Potentiometer value (binary - 00 D5 D4 D3 D2 D1 D0) - D values are the 0-63 potentiometer positions&lt;br /&gt;
&lt;br /&gt;
'''Sample Code'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
       Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
       Wire.send(0xa0); //Instruction to write WCR-00&lt;br /&gt;
       Wire.send(0x20); //Send a D value of 32&lt;br /&gt;
       Wire.endTransmission();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==== DS1307 - Real Time Clock ====&lt;br /&gt;
&lt;br /&gt;
The code for this very useful chip came from the [[http://www.glacialwanderer.com/hobbyrobotics/?p=12 Glacial Wanderer]]&lt;br /&gt;
&lt;br /&gt;
==== x9241A_Digital_Potentiometer_v.01 code ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 * x9241A Digital Potentiometer v.01&lt;br /&gt;
 * by &amp;lt;http://www.combustory.com&amp;gt; John Vaughters&lt;br /&gt;
 *&lt;br /&gt;
 * This Program illustrates the use of I2C to set up the x9241A Digital Potentiometer by setting and transferring the registers.&lt;br /&gt;
 * I attempted to read the register data through I2C, but was unable to get it to work.&lt;br /&gt;
 * Since the reading part was not so important to me I stopped trying.  &lt;br /&gt;
 * To set the registers up and transfer them to the Wiper registers met my goals and that is where I stopped.&lt;br /&gt;
 *&lt;br /&gt;
 * The x9142A has four Digital Pots and each pot has four static registers and one dynamic register the Wiper Control Register (WCR). &lt;br /&gt;
 * Therefore, there are 16 total bytes of storage and four WCR's.&lt;br /&gt;
 * This Program has the following commands:&lt;br /&gt;
 * S - Set the 16 registers.  Each pot has four registers and this command will set each register group with the same value. So register 00 for each pot will&lt;br /&gt;
 *     be the same value for each pot, and the same for register 01 through 11.&lt;br /&gt;
 * G(0-3) - Global Transfer of Registers to the WCR's.  This command will bulk load the values stored in registers into the WCR's.  &lt;br /&gt;
 *          For example, a G0 will load the 00 register for each pot into the WCR in one command. A G1 loads the 01 register for each pot, etc.&lt;br /&gt;
 * (0-3)(0-3) - This set of commands transfers a single register into a single WCR. The digits are arranged like this (WCR)(Reg). &lt;br /&gt;
 *              For example, a 00 command will load register 00 into WCR 00 or a 13 command will load register 11 into WCR 01, etc.&lt;br /&gt;
 * W(0-3) - This command writes directly to the WCR.  I have created four values that are just random, but the command shows how to write directly to the WCR for each pot.&lt;br /&gt;
 *          For example, a W0 command will write a value of decimal 16.  These commands are just for example purposes.&lt;br /&gt;
 *&lt;br /&gt;
 * Command Note: If you enter a command that is not recognized, then it is ignored and nothing happens and nothing is printed.&lt;br /&gt;
 */&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
#include &amp;quot;Wire.h&amp;quot;&lt;br /&gt;
#define X9241_I2C_ADDRESS 0x2D&lt;br /&gt;
&lt;br /&gt;
// Global Variables&lt;br /&gt;
long command;&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  Wire.begin();&lt;br /&gt;
  Serial.begin(57600);&lt;br /&gt;
  &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop() {&lt;br /&gt;
   if (Serial.available()) {      // Look for char in serial que and process if found&lt;br /&gt;
      command = Serial.read();&lt;br /&gt;
      if (command == 83) {      //If command = &amp;quot;S&amp;quot; Set Register Data&lt;br /&gt;
      // This sets the four registers of each Digital Pot&lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xc0);  // This is the set register command c and the 16 registers are 0-f&lt;br /&gt;
          Wire.send(0x0a);  // This line is the value to set the register: 0-63 is a valid setting&lt;br /&gt;
          Wire.endTransmission(); &lt;br /&gt;
          delay(100);&lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xc1);&lt;br /&gt;
          Wire.send(0x14);&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          delay(100);&lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xc2);&lt;br /&gt;
          Wire.send(0x20);&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          delay(100);&lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xc3);&lt;br /&gt;
          Wire.send(0x3c);&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          delay(100);&lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xc4);&lt;br /&gt;
          Wire.send(0x0a);&lt;br /&gt;
          Wire.endTransmission(); &lt;br /&gt;
          delay(100);&lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xc5);&lt;br /&gt;
          Wire.send(0x14);&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          delay(100);&lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xc6);&lt;br /&gt;
          Wire.send(0x20);&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          delay(100);&lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xc7);&lt;br /&gt;
          Wire.send(0x3c);&lt;br /&gt;
          delay(100);          &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xc8);&lt;br /&gt;
          Wire.send(0x0a);&lt;br /&gt;
          Wire.endTransmission(); &lt;br /&gt;
          delay(100);&lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xc9);&lt;br /&gt;
          Wire.send(0x14);&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          delay(100);&lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xca);&lt;br /&gt;
          Wire.send(0x20);&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          delay(100);&lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xcb);&lt;br /&gt;
          Wire.send(0x3c);&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          delay(100);&lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xcc);&lt;br /&gt;
          Wire.send(0x0a);&lt;br /&gt;
          Wire.endTransmission(); &lt;br /&gt;
          delay(100);&lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xcd);&lt;br /&gt;
          Wire.send(0x14);&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          delay(100);&lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xce);&lt;br /&gt;
          Wire.send(0x20);&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          delay(100);&lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xcf);&lt;br /&gt;
          Wire.send(0x3c);&lt;br /&gt;
          Serial.println(&amp;quot;cmd: S&amp;quot;);&lt;br /&gt;
       }   &lt;br /&gt;
       else if (command == 71) {      //If command = &amp;quot;G&amp;quot; Transfer Global Register Data   &lt;br /&gt;
        delay(100);&lt;br /&gt;
        if (Serial.available()) {&lt;br /&gt;
         command = Serial.read(); &lt;br /&gt;
         if (command == 48) {        // If command = &amp;quot;0&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0x10); // Global Load WCR's with Reg-00&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: G0&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
         else if (command == 49) {        // If command = &amp;quot;1&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0x11); // Global Load WCR's with Reg-01&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: G1&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
         else if (command == 50) {        // If command = &amp;quot;2&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0x12); // Global Load WCR's with Reg-10&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: G2&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
         else if (command == 51) {        // If command = &amp;quot;3&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0x13); // Global Load WCR's with Reg-11&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: G3&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
        }&lt;br /&gt;
       }&lt;br /&gt;
       &lt;br /&gt;
       else if (command == 48) {      //If command = &amp;quot;0&amp;quot; Transfer Register-00 Data to WCR 0-3&lt;br /&gt;
         delay(100);&lt;br /&gt;
         if (Serial.available()) {&lt;br /&gt;
         command = Serial.read(); &lt;br /&gt;
         if (command == 48) {              // If command = &amp;quot;0&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xd0); // Load WCR-00 with Reg-00&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: 00&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
         else if (command == 49) {        // If command = &amp;quot;1&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xd1); // Load WCR-00 with Reg-01&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: 01&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
         else if (command == 50) {        // If command = &amp;quot;2&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xd2); // Load WCR-00 with Reg-10&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: 02&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
         else if (command == 51) {        // If command = &amp;quot;3&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xd3); // Load WCR-00 with Reg-11&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: 03&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
        }&lt;br /&gt;
       }&lt;br /&gt;
        else if (command == 49) {      //If command = &amp;quot;1&amp;quot; Transfer Register-01 Data to WCR 0-3&lt;br /&gt;
         delay(100);&lt;br /&gt;
         if (Serial.available()) {&lt;br /&gt;
         command = Serial.read(); &lt;br /&gt;
          if (command == 48) {              // If command = &amp;quot;0&amp;quot; &lt;br /&gt;
           Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
           Wire.send(0xd4); // Load WCR-01 with Reg-00&lt;br /&gt;
           Wire.endTransmission();&lt;br /&gt;
           Serial.println(&amp;quot;cmd: 10&amp;quot;);&lt;br /&gt;
          }&lt;br /&gt;
          else if (command == 49) {        // If command = &amp;quot;1&amp;quot; &lt;br /&gt;
           Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
           Wire.send(0xd5); // Load WCR-01 with Reg-01&lt;br /&gt;
           Wire.endTransmission();&lt;br /&gt;
           Serial.println(&amp;quot;cmd: 11&amp;quot;);&lt;br /&gt;
          }&lt;br /&gt;
          else if (command == 50) {        // If command = &amp;quot;2&amp;quot; &lt;br /&gt;
           Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
           Wire.send(0xd6); // Load WCR-01 with Reg-10&lt;br /&gt;
           Wire.endTransmission();&lt;br /&gt;
           Serial.println(&amp;quot;cmd: 12&amp;quot;);&lt;br /&gt;
          }&lt;br /&gt;
          else if (command == 51) {        // If command = &amp;quot;3&amp;quot; &lt;br /&gt;
           Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
           Wire.send(0xd7); // Load WCR-01 with Reg-11&lt;br /&gt;
           Wire.endTransmission();&lt;br /&gt;
           Serial.println(&amp;quot;cmd: 13&amp;quot;);&lt;br /&gt;
          }&lt;br /&gt;
         }&lt;br /&gt;
        }&lt;br /&gt;
        else if (command == 50) {      //If command = &amp;quot;2&amp;quot; Transfer Register-10 Data to WCR 0-3&lt;br /&gt;
         if (Serial.available()) {&lt;br /&gt;
          command = Serial.read(); &lt;br /&gt;
          if (command == 48) {              // If command = &amp;quot;0&amp;quot; &lt;br /&gt;
           Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
           Wire.send(0xd8); // Load WCR-10 with Reg-00&lt;br /&gt;
           Wire.endTransmission();&lt;br /&gt;
           Serial.println(&amp;quot;cmd: 20&amp;quot;);&lt;br /&gt;
          }&lt;br /&gt;
         else if (command == 49) {        // If command = &amp;quot;1&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xd9); // Load WCR-10 with Reg-01&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: 21&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
         else if (command == 50) {        // If command = &amp;quot;2&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xda); // Load WCR-10 with Reg-10&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: 22&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
         else if (command == 51) {        // If command = &amp;quot;3&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xdb); // Load WCR-10 with Reg-11&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: 23&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
        }&lt;br /&gt;
       }&lt;br /&gt;
       else if (command == 51) {      //If command = &amp;quot;3&amp;quot; Transfer Register-11 Data to WCR 0-3&lt;br /&gt;
        delay(100);&lt;br /&gt;
        if (Serial.available()) {&lt;br /&gt;
         command = Serial.read(); &lt;br /&gt;
        if (command == 48) {              // If command = &amp;quot;0&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xdc); // Load WCR-11 with Reg-00&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: 30&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
         else if (command == 49) {        // If command = &amp;quot;1&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xdd); // Load WCR-11 with Reg-01&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: 31&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
         else if (command == 50) {        // If command = &amp;quot;2&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xde); // Load WCR-11 with Reg-10&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: 32&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
         else if (command == 51) {        // If command = &amp;quot;3&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xdf); // Load WCR-11 with Reg-11&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: 33&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
        }&lt;br /&gt;
       }&lt;br /&gt;
       else if (command == 87) {      //If command = &amp;quot;W&amp;quot; write directly to WCR 0-3&lt;br /&gt;
        delay(100);&lt;br /&gt;
        if (Serial.available()) {&lt;br /&gt;
         command = Serial.read(); &lt;br /&gt;
        if (command == 48) {              // If command = &amp;quot;0&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xa0); //Instruction to write WCR-00&lt;br /&gt;
          Wire.send(0x10); //Send a D value of 16&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: W0&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
         else if (command == 49) {        // If command = &amp;quot;1&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xa4); //Instruction to write WCR-01&lt;br /&gt;
          Wire.send(0x20); //Send a D value of 32&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: W1&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
         else if (command == 50) {        // If command = &amp;quot;2&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xa8); //Instruction to write WCR-10&lt;br /&gt;
          Wire.send(0x2a); //Send a D value of 26&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: W2&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
         else if (command == 51) {        // If command = &amp;quot;3&amp;quot; &lt;br /&gt;
          Wire.beginTransmission(X9241_I2C_ADDRESS);&lt;br /&gt;
          Wire.send(0xac); //Instruction to write WCR-11&lt;br /&gt;
          Wire.send(0x30); //Send a D value of 48&lt;br /&gt;
          Wire.endTransmission();&lt;br /&gt;
          Serial.println(&amp;quot;cmd: W3&amp;quot;);&lt;br /&gt;
         }&lt;br /&gt;
        }&lt;br /&gt;
       }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
//*****************************************************The End***********************&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== A/C_Control_v.01 User Guide ==&lt;br /&gt;
==== Commands ====&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Summary ===&lt;br /&gt;
When Troubleshooting a multi-functional issue, it is best practice to break down the issue into pieces and test each piece as a separate system.  However, we will first run through a quick test to see if we can find any obvious issues first.&lt;br /&gt;
=== Quick Test ===&lt;/div&gt;</summary>
		<author><name>Combustor</name></author>	</entry>

	</feed>