Author |
Message |
Topic: SPI problem |
harshanahnd
Replies: 4
Views: 3822
|
Forum: General CCS C Discussion Posted: Sat Jan 17, 2009 4:02 am Subject: SPI problem |
Hi,
I am using SPI communication to send data from my main pic (say pic B)to another secondary pic which works perfectly fine. My main pic gets data from another pic (say pic A) through UART which ... |
Topic: Timers - what you should know |
harshanahnd
Replies: 28
Views: 253435
|
Forum: Code Library Posted: Wed Jan 14, 2009 9:47 am Subject: Timers - what you should know |
That keyword does not work. Actually there is no keyword as such. I learn that just by not specifying the bit value you get a 16bit timer by default.
setup_timer_0(RTCC_INTERNAL|RTCC_DIV_256 ... |
Topic: Problem on setting up breakpoints in MPLAB ICD2 |
harshanahnd
Replies: 1
Views: 5249
|
Forum: General CCS C Discussion Posted: Fri Jan 09, 2009 9:06 am Subject: Problem on setting up breakpoints in MPLAB ICD2 |
Hi,
I have programmed a 18f4550 PIC which has USB communication parts as well. My ICD does not support USB debugging. I want to debug my program other than the USB part. But when I setup a break p ... |
Topic: Debugging Problem in MPLAB on CCS compiler |
harshanahnd
Replies: 4
Views: 7136
|
Forum: General CCS C Discussion Posted: Tue Jan 06, 2009 4:26 am Subject: Debugging Problem in MPLAB on CCS compiler |
Hi,
I was trying to debug a code that I have written for a 18F4550 PIC. I configured CCS Compiler on MPLAB. And I build the project that I have written successfully on MPLAB. No problems occurred w ... |
Topic: Timer0 problem |
harshanahnd
Replies: 8
Views: 8202
|
Forum: General CCS C Discussion Posted: Sat Jan 03, 2009 9:05 am Subject: Timer0 problem |
Then how can we configure the timer0 in 16bit mode? |
Topic: Timers - what you should know |
harshanahnd
Replies: 28
Views: 253435
|
Forum: Code Library Posted: Sat Jan 03, 2009 8:43 am Subject: Timers - what you should know |
Hi,
How to setup timer0 in 16 bit mode? What is the keyword that we should use in setup_timer_0 function?
Thanks |
Topic: Timer0 problem |
harshanahnd
Replies: 8
Views: 8202
|
Forum: General CCS C Discussion Posted: Sat Jan 03, 2009 8:06 am Subject: Timer0 problem |
Yes, the data sheet says it supports. PIC is 18F4550 |
Topic: Timer0 problem |
harshanahnd
Replies: 8
Views: 8202
|
Forum: General CCS C Discussion Posted: Sat Jan 03, 2009 3:59 am Subject: Timer0 problem |
Hi,
I used the following code to setup a timer0 in 8bit mode,
setup_timer_0(RTCC_INTERNAL|RTCC_8_BIT|RTCC_DIV_256);
And I wanted to create a 16bit timer. So I changed the code in ... |
Topic: How to capture a byte from UART? |
harshanahnd
Replies: 1
Views: 2847
|
Forum: General CCS C Discussion Posted: Tue Dec 16, 2008 12:23 am Subject: How to capture a byte from UART? |
Hi,
I want to capture a byte value from UART. Are there any functions available to do that? . I used getc() function but it returns an 8 bit character. How to capture a byte value as it is and get ... |
Topic: Problem on changing the display name of usb hid example code |
harshanahnd
Replies: 3
Views: 4203
|
Forum: General CCS C Discussion Posted: Sat Dec 13, 2008 11:11 am Subject: Problem on changing the display name of usb hid example code |
Hi,
I used ex_usb_hid.c example code to develop a usb hid device. I wanted to change the display string of it. ( The one which get shown when connected to the PC). After I change it the device won ... |
Topic: UART data transmit problem |
harshanahnd
Replies: 3
Views: 4239
|
Forum: General CCS C Discussion Posted: Wed Dec 03, 2008 11:42 pm Subject: UART data transmit problem |
Hi,
I develop a small program to get data through USB on a 18F4550 pic and transmit that data over UART of the PIC. But when I check the data that is coming from UART it always read as 0x00. Follow ... |
|