<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.diychristmas.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Archived_ChristmasWiki%3APIC_Programming_Hints</id>
	<title>Archived ChristmasWiki:PIC Programming Hints - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.diychristmas.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Archived_ChristmasWiki%3APIC_Programming_Hints"/>
	<link rel="alternate" type="text/html" href="https://www.diychristmas.org/wiki/index.php?title=Archived_ChristmasWiki:PIC_Programming_Hints&amp;action=history"/>
	<updated>2026-08-12T21:56:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.11</generator>
	<entry>
		<id>https://www.diychristmas.org/wiki/index.php?title=Archived_ChristmasWiki:PIC_Programming_Hints&amp;diff=5752&amp;oldid=prev</id>
		<title>ErnieHorning: Restored from the archived ChristmasWiki backup. Image references updated where required.</title>
		<link rel="alternate" type="text/html" href="https://www.diychristmas.org/wiki/index.php?title=Archived_ChristmasWiki:PIC_Programming_Hints&amp;diff=5752&amp;oldid=prev"/>
		<updated>2026-08-06T23:09:08Z</updated>

		<summary type="html">&lt;p&gt;Restored from the archived ChristmasWiki backup. Image references updated where required.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==P16F688.inc Line 182 Error==&lt;br /&gt;
&lt;br /&gt;
Some versions of MPLAB have an error on line 182 of the file p16f688.inc.  If you encounter the error message:&lt;br /&gt;
&lt;br /&gt;
Error[111] C:\PROGRAM FILES\MICROCHIP\MPASM SUITE\P16F688.INC 182 : Missing symbol&lt;br /&gt;
&lt;br /&gt;
then you will need to change the p16f688.inc file.&lt;br /&gt;
&lt;br /&gt;
Use a text editor (notepad should work just fine) to open the file (making a backup would be a good idea), and remove the extraneous symbol at the beginning of line 182 of the file.  Save the file, and you should be on your way.&lt;br /&gt;
&lt;br /&gt;
==PIC16F688 programming adaptor for PicKit2==&lt;br /&gt;
&lt;br /&gt;
It is possible to purchase a PicKit2 programmer from Microchip that does not include a programming socket.  In order to use these to program the PIC16F688 that is used with Renard, it is helpful to build a socket.&lt;br /&gt;
&lt;br /&gt;
Here is an example of a socket adaptor for programming the PIC16F688 (it works with some other PICS as well, such as the PIC12F629, PIC12F675, PIC12F615, etc).  It was built using a pin-strip header, a 14-pin socket and a perf board from Radio Shack.  Here is the netlist for this adapter (&amp;#039;&amp;#039;&amp;#039;ignore the resistors in the photo below, they were put there for measuring current, and are not needed&amp;#039;&amp;#039;&amp;#039;):&lt;br /&gt;
&lt;br /&gt;
Pin 1 of Connector (VPP) - Pin 4 of socket (RA3)&lt;br /&gt;
&lt;br /&gt;
Pin 2 of Connector (VCC) - Pin 1 of socket (Vcc= +5)&lt;br /&gt;
&lt;br /&gt;
Pin 3 of Connector (GND) - Pin 14 of socket (Vss = 0v)&lt;br /&gt;
&lt;br /&gt;
Pin 4 of Connector (Data) - Pin 13 of socket (RA0)&lt;br /&gt;
&lt;br /&gt;
Pin 5 of Connector (CLK) - Pin 12 of socket (RA1)&lt;br /&gt;
&lt;br /&gt;
Pin 6 of Connector (Aux) - unused&lt;br /&gt;
&lt;br /&gt;
Added by CP1 : For dummies like me who are new to this.... the pins on the socket go down 1-7, then across to 8 and up to 14. In general pins 1 and 14 are across from one another. (end of edit)&lt;br /&gt;
&lt;br /&gt;
[[File:ArchivedChristmasWiki_Pickit_ad_hoc_socket.gif]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Archived ChristmasWiki:Beginners Info]]&lt;br /&gt;
[[Category:Archived ChristmasWiki:General Info]]&lt;br /&gt;
[[Category:Archived ChristmasWiki:How To]]&lt;br /&gt;
[[Category:Archived ChristmasWiki:PIC Info]]&lt;br /&gt;
[[Category:Archived ChristmasWiki:DIYC Index]]&lt;/div&gt;</summary>
		<author><name>ErnieHorning</name></author>
	</entry>
</feed>