Some of you may not have PBP, but might like to try the program to play with... so I've appended the HEX ready to burn into a 16F628.
LED1 is on RA0, kathode to PIC, anode to Vdd via Resistor (eg 330R). LED2 is on RA1 similarly. LED3 is on RA2. LED4 is on RA3 and finally LED5 is on RA4.
Connect RB1 (RX) via 1K5 Resistor to PC pin 3 on 9-Pin D Connector. Connect (TX) RB2 via 1K5 Resistor to PC pin 2 on 9-Pin D Connector. Connect your PICs Vss (0v) to PC pin 5 on 9-pin D Connector.
You don't need an xtal or Resonator, and you don't need to worry about connecting the MCLR pin either. Those pins should be left unconnected. Just the LED's and the connections to your PC.
The appended file is a HEX file. Unfortunately this forum does not allow the uploading of files with HEX extensions, therefore rename comms1.txt as comms1.HEX before programming.
Melanie




Bookmarks