Author |
Message |
Topic: Assembly code not generated !!!!! |
vinay
Replies: 2
Views: 4726
|
Forum: General CCS C Discussion Posted: Fri Jul 26, 2013 5:12 am Subject: Assembly code not generated !!!!! |
OOOPS !!!!!
Looks like I was wrong, code was generated.
Found out by noticing the addressess of each assembly code especially when
ds1307_get_date(DD, MM, YYYY, DofW); //Get date
ds1307_ge ... |
Topic: Assembly code not generated !!!!! |
vinay
Replies: 2
Views: 4726
|
Forum: General CCS C Discussion Posted: Thu Jul 25, 2013 2:36 am Subject: Assembly code not generated !!!!! |
Hi all,
I am programming a PIC16F876A to read/write time/date to a DS1307, using the DS1307.C driver file.
But when I call the functions
ds1307_get_date(DD, MM, YYYY, DofW); //Get date
ds1307_ge ... |
Topic: PIC as I2C Slave |
vinay
Replies: 2
Views: 4542
|
Forum: General CCS C Discussion Posted: Fri Dec 21, 2012 2:48 am Subject: PIC as I2C Slave |
Look at EX_SLAVE.c
Has a 16byte buffer that can be read/written as an I2C slave device.
Best Wishes
Thanks Ttelmah, will look into that. |
Topic: PIC as I2C Slave |
vinay
Replies: 2
Views: 4542
|
Forum: General CCS C Discussion Posted: Wed Dec 19, 2012 4:24 am Subject: PIC as I2C Slave |
Hi all,
My project involves a PIC16F877A(Master), a PIC16F883(Slave) and a DS1307(slave). The master is reading the current date and time from DS1307 correctly, but I am confused as to how to write ... |
Topic: Help with glcd_text57() function in GLCD.c |
vinay
Replies: 3
Views: 5638
|
Forum: General CCS C Discussion Posted: Wed Oct 03, 2012 5:03 am Subject: Solved it !!!! |
Finally solved the prob
there is read problem in glcd_readbyte(), the enable pin is not pulsed properly. I am attaching the code through which I got proper output
// Purpose: Reads ... |
Topic: Help with glcd_text57() function in GLCD.c |
vinay
Replies: 3
Views: 5638
|
Forum: General CCS C Discussion Posted: Wed Oct 03, 2012 12:07 am Subject: rest of code !!! |
#include <16F877A.h>
#device adc=10
#FUSES NOWDT //No Watch Dog Timer
#FUSES HS //High speed Osc (> 4mhz for PCM/PCH) (>10mhz fo ... |
Topic: Help with glcd_text57() function in GLCD.c |
vinay
Replies: 3
Views: 5638
|
Forum: General CCS C Discussion Posted: Mon Oct 01, 2012 2:52 am Subject: Help with glcd_text57() function in GLCD.c |
I am using glcd_text57() function to display text on an 128X64 Ampire GLCD(ks1080 based), but some of the pixels are missing. I have attached the driver program(I have made changes to CS1 and CS2 as a ... |
|