Author |
Message |
Topic: PIC16F84A error. |
anandpv2009
Replies: 4
Views: 10152
|
Forum: General CCS C Discussion Posted: Wed Dec 09, 2009 7:02 am Subject: PIC16F84A error. |
Remove the following code from your program.
#fuses NOLVP
#fuses NOBROWNOUT //No brownout reset
#fuses INTRC
|
Topic: Need 7-segment display CCS driver for 18f4550 |
anandpv2009
Replies: 9
Views: 13967
|
Forum: General CCS C Discussion Posted: Tue Dec 08, 2009 11:33 am Subject: Need 7-segment display CCS driver for 18f4550 |
Did you bother to read the part number info he gave and look up the data sheet?
The LDD-E302NI is common anode.
I use a common cathode 7 segment display.
Thanks in advance.
I think th ... |
Topic: Help needed regarding 2x16 JHD162A LCD and PIC16f877 code |
anandpv2009
Replies: 5
Views: 9779
|
Forum: General CCS C Discussion Posted: Tue Dec 08, 2009 8:39 am Subject: Help needed regarding 2x16 JHD162A LCD and PIC16f877 code |
Use the following code
Code:
#include<16f877a.h>
#USE delay(clock=4000000) //SETTING CLOCK FREQUENCY
#FUSES XT,NOWDT,NOBROWNOUT,NOPROTECT,NOPUT //SETTING FUSES
#include< ... |
Topic: Need 7-segment display CCS driver for 18f4550 |
anandpv2009
Replies: 9
Views: 13967
|
Forum: General CCS C Discussion Posted: Tue Dec 08, 2009 8:38 am Subject: Need 7-segment display CCS driver for 18f4550 |
what kind of display r u using(common anode or cathode) |
Topic: LCD problem |
anandpv2009
Replies: 8
Views: 7113
|
Forum: General CCS C Discussion Posted: Sun Nov 29, 2009 1:52 pm Subject: LCD problem |
Thank uuuuuuuuuuuuuu sir...
Finally i found it
addr of PORTB is 0xF81 .....Ha Ha...
Now it works fine.......... |
Topic: LCD problem |
anandpv2009
Replies: 8
Views: 7113
|
Forum: General CCS C Discussion Posted: Sun Nov 29, 2009 1:28 pm Subject: LCD problem |
I didn't find the port address for PIC18F4550 (in data sheet and devices folder of CCS)...
Where can i get it... |
Topic: LCD problem |
anandpv2009
Replies: 8
Views: 7113
|
Forum: General CCS C Discussion Posted: Sun Nov 29, 2009 1:06 pm Subject: LCD problem |
Thanks for fast reply..
How I can correct this problem... |
Topic: LCD problem |
anandpv2009
Replies: 8
Views: 7113
|
Forum: General CCS C Discussion Posted: Sun Nov 29, 2009 12:43 pm Subject: LCD problem |
B0 enable
B1 rs
B2 rw
B3 I am using this pin to turn on/off back light (through transistor)
B4 D4
B5 D5
B6 D6
B7 D7
16th pin of LCD - vdd
15th PIC of LCD - vss ... |
Topic: LCD problem |
anandpv2009
Replies: 8
Views: 7113
|
Forum: General CCS C Discussion Posted: Sun Nov 29, 2009 10:35 am Subject: LCD problem |
I am using a 20x4 lcd, it works fine with PIC16F877A with the below program
But not with PIC18F4520 and PIC18F4550
#include<18F4520.h> //#include<18F4550.h>
#fuses HS,NOLVP,NOWDT
... |
Topic: RF Module Help |
anandpv2009
Replies: 4
Views: 5432
|
Forum: General CCS C Discussion Posted: Sun Nov 29, 2009 10:11 am Subject: RF Module Help |
I don't know my RF module type or any other details..
But here is my rf module picture
http://www.vegakitindia.com/products/RF01A315-2.jpg
I bought it from vegakits
http://www.vegakitindia ... |
Topic: Read two input pins like a binary |
anandpv2009
Replies: 3
Views: 4839
|
Forum: General CCS C Discussion Posted: Mon Nov 09, 2009 12:04 pm Subject: Read two input pins like a binary |
(input_a() & 3)
Here '&' is used as bitwise operator. Which means the above statement will AND the input from PORTA with 3.
AND example:
0 0 0 0 1
1 0 1 0 1
0 0 0 0 1 Result |
Topic: CCP Help needed |
anandpv2009
Replies: 16
Views: 13295
|
Forum: General CCS C Discussion Posted: Thu Nov 05, 2009 7:14 am Subject: CCP Help needed |
Here is my CODE Not for finding distance, as beginning just display the ccp1 reg value.
#include <18F2550.h>
#fuses HSPLL,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL5,CPUDIV1,VREGEN
#use de ... |
Topic: CCP Help needed |
anandpv2009
Replies: 16
Views: 13295
|
Forum: General CCS C Discussion Posted: Thu Nov 05, 2009 6:33 am Subject: CCP Help needed |
Ok.. I will do it myself, and thank u for CCS members advice....
''I will always help members if I know th code. But...'' |
Topic: CCP Help needed |
anandpv2009
Replies: 16
Views: 13295
|
Forum: General CCS C Discussion Posted: Thu Nov 05, 2009 3:31 am Subject: CCP Help needed |
Here is my CIRCUIT i am doing this not just for time pass, i really need help because it is a part of my sem. project......
http://img695.imageshack.us/img695/7497/image042.jpg |
Topic: CCP Help needed |
anandpv2009
Replies: 16
Views: 13295
|
Forum: General CCS C Discussion Posted: Thu Nov 05, 2009 3:00 am Subject: CCP Help needed |
Our group is trying to do a simple ROBOT, as a part of this machine we need sensors like range meter,temp. senor,light intensity sensor.Interfacing of stepper motor and wireless link + usb interfacing ... |
|