Author |
Message |
Topic: random generator |
myumair
Replies: 1
Views: 3466
|
Forum: General CCS C Discussion Posted: Fri Aug 21, 2009 10:54 pm Subject: random generator |
Well.. I need to know about any random number generator in C language for PIC. But I am unable to find any with ranges. Like if I want to generate from 0 to 1000? thanks! |
Topic: two codes |
myumair
Replies: 2
Views: 4393
|
Forum: General CCS C Discussion Posted: Tue Aug 04, 2009 3:20 pm Subject: two codes |
I have two set of functions named as same Writetoreg (byte).
I am bit confused to see them as I don't know what is actually happening in them , my 1st effort will be to understand this.
I am talking ... |
Topic: sspbuf sspif |
myumair
Replies: 1
Views: 6106
|
Forum: General CCS C Discussion Posted: Tue Aug 04, 2009 1:34 pm Subject: sspbuf sspif |
I am using pic16f76 and some one told me to work with sspbuf reg and put some logic one sspif bit.
As I am really new to this field of PIC, can anyone tell me what actually this sspbuf does? Is it so ... |
Topic: hex 2 dec |
myumair
Replies: 3
Views: 4858
|
Forum: General CCS C Discussion Posted: Tue Aug 04, 2009 3:41 am Subject: hex 2 dec |
well ad7705 which is operating with pic in SPI mode sends that data and it is 16 bit long so PIC reads that twice from the adc register and store that in a stack [2] each 8 bits long.
so i wanted to ... |
Topic: hex 2 dec |
myumair
Replies: 3
Views: 4858
|
Forum: General CCS C Discussion Posted: Mon Aug 03, 2009 6:32 pm Subject: hex 2 dec |
Well there is a slight problem for me.
Can I convert a hex value (which I get as char byte) to decimal value and then transmit that as my output ?
I am using C to program my 16F76. |
Topic: PIC16F76 |
myumair
Replies: 10
Views: 12348
|
Forum: General CCS C Discussion Posted: Mon Jul 20, 2009 10:21 am Subject: PIC16F76 |
alrite..
thanks for your help ..
I am really speeding up my work.. hopefully i will do my work in the given time.!
Thanks again |
Topic: PIC16F76 |
myumair
Replies: 10
Views: 12348
|
Forum: General CCS C Discussion Posted: Mon Jul 20, 2009 9:29 am Subject: PIC16F76 |
ok bro.. dnt tell me anything but one thing..
when i hv 2 configure t he adc on spi mode..can it be done with a pic which is solded on m y circuit..?
thanks. |
Topic: PIC16F76 |
myumair
Replies: 10
Views: 12348
|
Forum: General CCS C Discussion Posted: Sun Jul 19, 2009 4:57 pm Subject: PIC16F76 |
I'm really sorry that I'm asking stupid questions.. as I really don't know much about this field!! but still if you can tell me do I have 2 write the driver for adc? or its built in? |
Topic: PIC16F76 |
myumair
Replies: 10
Views: 12348
|
Forum: General CCS C Discussion Posted: Sun Jul 19, 2009 4:39 pm Subject: PIC16F76 |
thnx bro for the link..
but i need 2 configure the AD7705 in spi mode with pic... is there any code available...
thnx |
Topic: PIC16F76 |
myumair
Replies: 10
Views: 12348
|
Forum: General CCS C Discussion Posted: Sun Jul 19, 2009 3:54 pm Subject: PIC16F76 |
What does that mean?
I'm really new 2 this field. |
Topic: PIC16F76 |
myumair
Replies: 10
Views: 12348
|
Forum: General CCS C Discussion Posted: Sun Jul 19, 2009 12:33 am Subject: PIC16F76 |
Hi, I'm using the pic 16f76 which I need to use for configuring ad7705 sigma delta.
I'm very new to this field. I will be using C for coding.
If anyone can help!
Thanks |
|