Author |
Message |
Topic: Printf problem |
starter
Replies: 7
Views: 9234
|
Forum: General CCS C Discussion Posted: Wed Dec 14, 2011 4:17 pm Subject: Printf problem |
printf(usb_cdc_putc, "%lu", value); //if through usb
printf(lcd_putc, "%lu",value);//if in LCD |
Topic: #INT_TIMER1 |
starter
Replies: 8
Views: 16541
|
Forum: General CCS C Discussion Posted: Wed Dec 14, 2011 2:14 pm Subject: #INT_TIMER1 |
Timer1 is 16bit and it overflow is 65535 if you set_timer1(0) and if you use set_timer1(60545) ticks made to reach 65535 is given by 65535- 60545=4990, now to check what is the clock defined. If cloc ... |
|
Page 1 of 1 |
All times are GMT - 6 Hours |
Powered by phpBB © 2001, 2005 phpBB Group
|