Author |
Message |
Topic: Problem with rom |
falcon1877
Replies: 3
Views: 4873
|
Forum: General CCS C Discussion Posted: Sun Oct 14, 2012 5:12 pm Subject: Problem with rom |
Hi all, I have a problem. When I use over 85% of the ROM, my program run so slow (Timer don't work as I require). If I reduce ROM use around 80-84%, everything is ok .
How can I solve this problem or ... |
Topic: Animation with GLCD |
falcon1877
Replies: 1
Views: 3754
|
Forum: General CCS C Discussion Posted: Thu Oct 11, 2012 10:55 am Subject: Animation with GLCD |
Hi, I want to create animation affect on GLCD, but I can't because picture be blink when change. I set delay_ms(100) between pictures but the screen still blinks.
So that, is there any way to solve t ... |
Topic: Reduce noise of button |
falcon1877
Replies: 6
Views: 7710
|
Forum: General CCS C Discussion Posted: Wed Oct 10, 2012 8:26 pm Subject: Reduce noise of button |
@Ttelmah: Many thanks for you. Now my program works correctly. But I have a question. When do we need to use interrupt rb instead of timer ?? Can you give me some example |
Topic: Reduce noise of button |
falcon1877
Replies: 6
Views: 7710
|
Forum: General CCS C Discussion Posted: Wed Oct 10, 2012 6:08 am Subject: Reduce noise of button |
@Ttelmah : thanks for your help, I will test it immediately. |
Topic: Reduce noise of button |
falcon1877
Replies: 6
Views: 7710
|
Forum: General CCS C Discussion Posted: Wed Oct 10, 2012 4:42 am Subject: Reduce noise of button |
OK, I understand what you are saying and .....if I use timer, what is the best way to check for hold key action ? Can you give a sample code |
Topic: Reduce noise of button |
falcon1877
Replies: 6
Views: 7710
|
Forum: General CCS C Discussion Posted: Wed Oct 10, 2012 2:45 am Subject: Reduce noise of button |
Hello, I'm doing my project with button, I'm using int_rb(r4-r7) so I want to know how to reduce noise and how to detect hold key action . |
Topic: Problem with GLCD |
falcon1877
Replies: 7
Views: 10795
|
Forum: General CCS C Discussion Posted: Tue Oct 09, 2012 9:40 am Subject: Problem with GLCD |
My problem is solved I replace all wire and now it works. But I have another question : how can I draw area on screen without run from left to right.
For example : I want to show an image ab ... |
Topic: Problem with GLCD |
falcon1877
Replies: 7
Views: 10795
|
Forum: General CCS C Discussion Posted: Tue Oct 09, 2012 2:20 am Subject: Problem with GLCD |
ok, I'll replace it later, but I think the problem cause by another thing. If it is a crystal problem, I think on the lcd screen must to have at least 1 dot or half image because of wrong crystal. But ... |
Topic: Problem with GLCD |
falcon1877
Replies: 7
Views: 10795
|
Forum: General CCS C Discussion Posted: Tue Oct 09, 2012 1:43 am Subject: Problem with GLCD |
@Mike Walne: yeah, I re-checked connection and powers rails so many time from yesterday but I still can't find any solution for this problem .:(
Do you think this problem cause by crystal ??
I'm us ... |
Topic: Problem with GLCD |
falcon1877
Replies: 7
Views: 10795
|
Forum: General CCS C Discussion Posted: Tue Oct 09, 2012 12:01 am Subject: Problem with GLCD |
Hi every one, I'm testing my project with 18F4550 and GLCD. The problem is ....when I run it on Proteus, it runs correctly, but when I use it with real circuit and real Graphic lcd (128x64b), it doesn ... |
Topic: How to set PLL in CCS |
falcon1877
Replies: 4
Views: 6108
|
Forum: General CCS C Discussion Posted: Sat Oct 06, 2012 8:40 pm Subject: How to set PLL in CCS |
ok, thanks guys, I'll be more patient next time. |
Topic: How to set PLL in CCS |
falcon1877
Replies: 4
Views: 6108
|
Forum: General CCS C Discussion Posted: Sat Oct 06, 2012 12:53 pm Subject: How to set PLL in CCS |
:( Please help me |
Topic: How to set PLL in CCS |
falcon1877
Replies: 4
Views: 6108
|
Forum: General CCS C Discussion Posted: Sat Oct 06, 2012 8:38 am Subject: How to set PLL in CCS |
Hi everyone, I'm using PIC18F4550. Now, I want to use external crystal with 10MHz. I want to set it at 20MHZ (use PLL). How can I do that in CCS ? |
Topic: Timer can't run after reset. :confused: |
falcon1877
Replies: 21
Views: 22006
|
Forum: General CCS C Discussion Posted: Mon Oct 01, 2012 2:42 pm Subject: Timer can't run after reset. :confused: |
yeah, I tested, when I comment like this , program run normally :
set_tris_b(0b11110000);
enable_interrupts(int_timer0);
//enable_interrupts(int_rb);
setup_timer_0 ... |
Topic: Timer can't run after reset. :confused: |
falcon1877
Replies: 21
Views: 22006
|
Forum: General CCS C Discussion Posted: Mon Oct 01, 2012 2:21 pm Subject: Timer can't run after reset. :confused: |
thanks guy, but it dosen't solve the problem |
|