Author |
Message |
Topic: mcp3202 output |
glk.c.93
Replies: 1
Views: 4228
|
Forum: General CCS C Discussion Posted: Tue Jul 10, 2012 4:25 am Subject: mcp3202 output |
hi...
I am trying to use ADC through MCP3202 and pic16F877A by SPI comm.
I am getting 4095 at around 4 volts
From 4v to 5v i am getting the same value.
Hence i am unable to identify the value of v ... |
Topic: code for MCP3202 with 18f4550 !!!! |
glk.c.93
Replies: 1
Views: 33426
|
Forum: Code Library Posted: Mon Jul 09, 2012 2:57 am Subject: re: |
If you are transferring 16 bits at a time, then while
reading data to a 8 bit number, which 8 bits do we get ?
Do we get 16/8 bit value while we read ?
Did you check the program practically ? |
Topic: Schematic legend |
glk.c.93
Replies: 1
Views: 3572
|
Forum: General CCS C Discussion Posted: Sun Jul 08, 2012 11:31 pm Subject: Schematic legend |
hi...
Can anyone plz tell me where can I find the legend for the diagrams(figures) (for Ex: Fig. of data transmission and activations) in the datasheets of Microchip and other devices. |
Topic: Enable 12 hr format of DS1307 using PIC16f887A |
glk.c.93
Replies: 11
Views: 20185
|
Forum: General CCS C Discussion Posted: Thu Jun 28, 2012 1:32 am Subject: Its working |
Its working
if we give 12:59:59 it will change to 1:00:00
but you should activate the 12 hr clock by giving 0x72 not bin2bcd(12|0b01100000).
Because in bin2bcd() the number transforms into anothe ... |
Topic: Enable 12 hr format of DS1307 using PIC16f887A |
glk.c.93
Replies: 11
Views: 20185
|
Forum: General CCS C Discussion Posted: Thu Jun 28, 2012 1:19 am Subject: re: |
In this case how should i activate the 12 hr mode.......
what time can i give for 12hr mode? |
Topic: Enable 12 hr format of DS1307 using PIC16f887A |
glk.c.93
Replies: 11
Views: 20185
|
Forum: General CCS C Discussion Posted: Wed Jun 27, 2012 10:09 pm Subject: Enable 12 hr format of DS1307 using PIC16f887A |
Big problem is that the time your are putting is is impossible in 12hr mode. 11:59:59, is the highest number that can be entered. It then jumps to 00:00:00.....
Best Wishes
Thanx for reply........ ... |
Topic: Enable 12 hr format of DS1307 using PIC16f887A |
glk.c.93
Replies: 11
Views: 20185
|
Forum: General CCS C Discussion Posted: Wed Jun 27, 2012 9:01 am Subject: re: |
I tried to intialize 12 hr format as 12|0b01100000 for 12 pm......
I am trying to display it on a screen taking only five bits into consideration as
hr=hr&0x1f.
later after 12:59:59 iam getting ... |
Topic: Enable 12 hr format of DS1307 using PIC16f887A |
glk.c.93
Replies: 11
Views: 20185
|
Forum: General CCS C Discussion Posted: Wed Jun 27, 2012 7:26 am Subject: Enable 12 hr format of DS1307 using PIC16f887A |
hi....
I am trying to enable 12 hour format in DS1307 using 16f877A.
I have a few doubts...!
When should we enable the 7th bit for 12 hour format.
1)During writing of hour (ex: for 3AM as 3 | ... |
|