PIC 12F508 is a baseline PIC from Microchip Corporation.
pic 12f508 consist of 8 pins, 5pins can be used for general purposes. how ever the 5th pin (GP2) can only use as a output. 1st pin is 5v+ and 8th pin is GND then the 4th pin is MCLR. 4th pin can be configured to use as a output put once programmed as so, will need a high voltage programmer to reprogram the chip again.
blinking program :
list p=12f508 include “p12f508.inc” __config 0xFFFE
No comments:
Post a Comment