Discussion in "PIC Microcontroller Discussion" started by    pravin_35    Jul 23, 2014.
Wed Jul 23 2014, 01:59 pm
#1
Hi,

Need library or sample code for PIC16f882,, Does any one used it ???
please give me the link..


Regards
Pravin


[ Edited Wed Jul 23 2014, 02:32 pm ]
Thu Jul 24 2014, 10:30 am
#2
What kind of sample code are you looking for? any specific peripheral? MPLABx is similar to MPLAB but with some added features. Your XC8 installation directory still have sample codes in it and libraries comes along with compiler are same as in HitechC.
Thu Jul 24 2014, 05:49 pm
#3


What kind of sample code are you looking for? any specific peripheral? MPLABx is similar to MPLAB but with some added features. Your XC8 installation directory still have sample codes in it and libraries comes along with compiler are same as in HitechC.

ajay_bhargav



ok let me check.... thanks
Tue Jul 29 2014, 11:11 am
#4
hi guys

i found the following link is very useful for beginners
http://picguides.com/beginner/mplabx.php
Wed Jul 30 2014, 05:08 pm
#5


[ Edited Wed Jul 30 2014, 05:08 pm ]
Wed Jul 30 2014, 11:51 pm
#6
@ pravin_35
both compilers are almost same
if you have your own lcd.c file you can simply include it to your project
that will be also useful for future for any compiler just you need to configure ports
anyhow the tutorial is good
 pravin_35 like this.
Wed Jul 30 2014, 11:55 pm
#7
attach is the code for lcd
may be need a little changes depend on compiler

Attachment
Thu Jul 31 2014, 11:19 am
#8


attach is the code for lcd
may be need a little changes depend on compiler

Attachment

majoka



Thanks majoka

Do you have any library for Ds1307 with XC8 .. it would be very helpful for me

Fri Aug 01 2014, 04:55 pm
#9
attached is the whole project with Proteus simulation
it uses hardware i2c you can also use soft protocol
DS1307 RTC is I2C based chip
it is made in mplab with c18 compiler
but c files are same for c18 as well as xc8
Attachment

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Robertrip
Fri Apr 26 2024, 11:20 am
ArnoldDiant
Fri Apr 26 2024, 03:53 am
RodneyKnorb
Thu Apr 25 2024, 07:08 pm
Williamjef
Thu Apr 25 2024, 02:08 pm
SamuelSmise
Thu Apr 25 2024, 09:56 am
DustinErele
Thu Apr 25 2024, 08:44 am
ztaletpzca
Wed Apr 24 2024, 11:19 pm
IrardlPex
Wed Apr 24 2024, 08:42 pm