Author |
Message |
Topic: Unable to print result |
nasreen.shayeq
Replies: 12
Views: 10492
|
Forum: General CCS C Discussion Posted: Sat Apr 03, 2010 1:04 am Subject: Unable to print result |
Thank you very much for all your help, I will re-install my compiler now that I am sure my code works fine  |
Topic: Unable to print result |
nasreen.shayeq
Replies: 12
Views: 10492
|
Forum: General CCS C Discussion Posted: Fri Apr 02, 2010 12:57 pm Subject: Unable to print result |
yes i have done this too.
have you reviewed my code? is there anything wrong with it? |
Topic: Unable to print result |
nasreen.shayeq
Replies: 12
Views: 10492
|
Forum: General CCS C Discussion Posted: Fri Apr 02, 2010 12:00 pm Subject: Unable to print result |
LED code works fine. I have tried lighting LEDs in between my code too that also works. I am just unable to print the output. If anyone could help me with that I would be very grateful. Is there anyth ... |
Topic: Unable to print result |
nasreen.shayeq
Replies: 12
Views: 10492
|
Forum: General CCS C Discussion Posted: Fri Apr 02, 2010 3:21 am Subject: Unable to print result |
It still doesn't work :((
and when i change the fuse to NOWDT it starts giving extremely unpredictable behavior. The test LEDs that I am lighting in the code light up sometimes and sometimes they don ... |
Topic: Unable to print result |
nasreen.shayeq
Replies: 12
Views: 10492
|
Forum: General CCS C Discussion Posted: Fri Apr 02, 2010 2:49 am Subject: Unable to print result |
#use delay(clock=20000000,RESTART_WDT)
Should I remove RESTART_WDT from the above statement also when I change the fuse to NOWDT??? |
Topic: Unable to print result |
nasreen.shayeq
Replies: 12
Views: 10492
|
Forum: General CCS C Discussion Posted: Fri Apr 02, 2010 1:24 am Subject: Unable to print result |
Thank you very much.
I have a max232 and will try the changes out and let you know  |
Topic: Unable to print result |
nasreen.shayeq
Replies: 12
Views: 10492
|
Forum: General CCS C Discussion Posted: Thu Apr 01, 2010 1:56 pm Subject: Unable to print result |
my compiler version is 4.057
i don't think it is a compiler bug. I think I am missing out on something in relation to sending data to the PC. |
Topic: Unable to print result |
nasreen.shayeq
Replies: 12
Views: 10492
|
Forum: General CCS C Discussion Posted: Thu Apr 01, 2010 12:29 pm Subject: Unable to print result |
#include<18F452.h>
#include<stdlib.h>
#include<stdlibm.h>
#include<stdio.h>
#include<math.h>
#fuses HS,WDT,NOPROTECT,NOLVP
#use delay(clock=20000000,RESTART ... |
|