Discussion in "PIC Microcontroller Discussion" started by    pravin_35    Jul 23, 2014.
Wed Jul 23 2014, 04:29 AM
#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, 05:02 AM ]
Thu Jul 24 2014, 01:00 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, 08:19 AM
#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, 01:41 AM
#4
hi guys

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


[ Edited Wed Jul 30 2014, 07:38 AM ]
Wed Jul 30 2014, 02:21 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, 02:25 PM
#7
attach is the code for lcd
may be need a little changes depend on compiler

Attachment
Thu Jul 31 2014, 01:49 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, 07:25 AM
#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

Conversation

Wed Mar 25 2020, 09:39 AM
Tajammul
Sir kindly send the code file i2c for 8051
ExperimenterUK
Fri Mar 13 2020, 06:36 PM
@ Rohitnani,ABEBE..which project ?
Fri Mar 13 2020, 08:55 AM
ABEBE
how can get hadwere of this project
Rohitnani
Sat Mar 07 2020, 12:11 PM
Sir, Could you please send me the zip file input password....
Wed Feb 26 2020, 11:58 AM
Peter Parker
Is it possible to send multiple messages using only 1 GSM module?
Sat Feb 01 2020, 05:12 AM
Pearl Olin
Hello,
Wed Jan 22 2020, 01:16 PM
MINU CHAUDHARY
I m getting errors while simulation process during interfacing socket output and lcd... Can i get the report of ur project which is same as us.
Tue Jan 14 2020, 02:08 AM
shubham kharade
when i am trying to simulate the program in Proteus 8 professional, I am getting some errors as cannot find module file dhtxx.md can u help me
Tue Dec 17 2019, 08:44 AM
Devangi
hello..i am programming industrial timer using 8051 with 24lc64 eeprom. i have query in storing the 3 diff value in eeprom with enter button. can anyone share c code ?
Tue Dec 17 2019, 05:30 AM
Andrius
Hello. Can anyone share the code in Bascon and scheme in Proteus?

Downloads

Comments

ukkorikerist
Thu Apr 09 2020, 12:05 AM
Oswaldrib
Wed Apr 08 2020, 11:08 PM
Rachelsig
Wed Apr 08 2020, 04:57 PM
Franksig
Wed Apr 08 2020, 03:38 AM
OliverKiz
Mon Apr 06 2020, 07:54 PM
Nikolaynom
Mon Apr 06 2020, 09:13 AM
Paulinewop
Sun Apr 05 2020, 10:33 PM
NormanJeops
Sun Apr 05 2020, 03:26 AM

Online

Guests: 57, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 01:37 AM

Members: 38149
Newest member: ukkorikerist
Forum Activity
PHANTOM28 Avatar
Posted By PHANTOM28
Fri Feb 28 2020, 10:25 AM
Hi.I hope you all can help me. I am relatively ne...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Feb 21 2020, 05:05 PM
ajay_bhargav Avatar
Posted By ajay_bhargav
Fri Feb 21 2020, 04:45 AM
Yes you can do that.1. Create a channel @Thingspea...
ananyagupta Avatar
Posted By ananyagupta
Thu Feb 20 2020, 03:58 AM
With regards to the particular characters sent to ...
sarrahjuzar Avatar
Posted By sarrahjuzar
Wed Feb 19 2020, 04:24 AM
I have a gsm module sim900a and dht22 connected to...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Feb 18 2020, 04:52 PM
figureyang Avatar
Posted By figureyang
Tue Feb 18 2020, 04:59 AM
figureyang Avatar
Posted By figureyang
Tue Feb 18 2020, 04:50 AM
wounder Avatar
Posted By wounder
Mon Feb 10 2020, 03:32 AM
From below sample code for nuvoton 8051 timer0 mod...
Just4Fun Avatar
Posted By Just4Fun
Sat Feb 01 2020, 09:20 AM
If you want to use a CH55x MCU there isn't any adv...