Author |
Message |
Topic: looping problem |
jinggy
Replies: 7
Views: 8309
|
Forum: General CCS C Discussion Posted: Thu Jul 10, 2008 8:31 pm Subject: looping problem |
so i've changed the code to as below and it's not working. any idea?
writing:
void main()
{
state_t state = INITIAL_STATE;
int i;
byte buf[12];
lcd_ini ... |
Topic: looping problem |
jinggy
Replies: 7
Views: 8309
|
Forum: General CCS C Discussion Posted: Thu Jul 10, 2008 12:46 pm Subject: looping problem |
thanks for ur reply Indy!
so meaning that i have to remove the For loop and change addr to addr++ right?
can i change the code to:
if (addr < EEPROM_SIZE)
{
write_ext_eeprom(addr++, inpu ... |
Topic: looping problem |
jinggy
Replies: 7
Views: 8309
|
Forum: General CCS C Discussion Posted: Thu Jul 10, 2008 10:32 am Subject: looping problem |
i do realize that but how do i change the code? and why cant addr++ make the value of addr increase everytime after a data is being saved? |
Topic: looping problem |
jinggy
Replies: 7
Views: 8309
|
Forum: General CCS C Discussion Posted: Thu Jul 10, 2008 8:01 am Subject: looping problem |
hello all. my code is shown below. the problem is the for(addr=0; addr < EEPROM_SIZE; addr ++) is not working. everytime the data is save into addr = 0.
ur help will be much appreciated!
... |
Topic: DS1307 |
jinggy
Replies: 11
Views: 14994
|
Forum: General CCS C Discussion Posted: Sun Jun 29, 2008 9:37 am Subject: DS1307 |
thanks ckielstra. it works perfectly now |
Topic: DS1307 |
jinggy
Replies: 11
Views: 14994
|
Forum: General CCS C Discussion Posted: Sun Jun 29, 2008 5:15 am Subject: DS1307 |
hello all.
I tried the DS1307 driver from this link:
http://www.ccsinfo.com/forum/viewtopic.php?t=23255&highlight=ds1307
The only changes I made are as below:
#define RTC_SDA PIN_B0
#de ... |
Topic: RFID. need help |
jinggy
Replies: 2
Views: 3421
|
Forum: General CCS C Discussion Posted: Thu Jun 12, 2008 3:23 am Subject: RFID. need help |
thanks a lot Ttelmah!!!
it works! finallyyy |
Topic: RFID. need help |
jinggy
Replies: 2
Views: 3421
|
Forum: General CCS C Discussion Posted: Wed Jun 11, 2008 8:43 pm Subject: RFID. need help |
hello all.
i'm using a RFID reader module from parallax
#include <18F4550.h>
#fuses HSPLL,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL5,CPUDIV2,VREGEN
#use delay(clock=48000000)
... |
Topic: RFID and LCD |
jinggy
Replies: 0
Views: 2953
|
Forum: General CCS C Discussion Posted: Tue May 20, 2008 5:13 am Subject: RFID and LCD |
hello all, i'm currently working on a project which needs to take input from a RFID reader and display on a LCD screen. the RFID reader module is from parallax and i'm using PIC18F4550(i won't be usin ... |
|