need sample code for PIC

Status
Not open for further replies.

userx51

Junior Member level 2
Joined
Apr 21, 2013
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,432
what compiler to use for for "PIC 1 6 f 1 5 0 3"?. any development kit?. sample code to set i/o pins low or high?.
 

PIC microcontrollers are from Microchip. They use MPLAB X as IDE and xc8, xc16 and xc32 as 8, 16 and 32 bit compilers for respective microcontrollers. Go to www.microchip.com and you will get all the tools for free. These compilers comes with example codes as well but if you search it or google it, you will get a huge library of example and project codes on PIC.

There many development kits that microchip sells like PICDEM2+, PIC 18 and PIC 24 explorer, they also have DSP 16 bit microcontroller dsPIC. Then there is universal programming module 2 for programming any 8-bit microcontroller and use it in your application. Download the datasheet and you will know everything. Go to www.microchip.com, and you will have all the answers. There are huge number of application notes on microchip websites and you should also google for learning developing for PIC.

Hope that helps.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…