CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 4 matches
CCS Forum Index
Author Message
  Topic: Question about get_timer1() ...
leandroguida

Replies: 1
Views: 3322

PostForum: General CCS C Discussion   Posted: Mon Dec 15, 2008 8:55 am   Subject: Question about get_timer1() ...
Hi there.

See the following codes:

Code 1:

set_timer1(0);
output_high(PIN_A0);
while(get_timer1()<250){
//wait
}
output_low(PIN_A0 ...
  Topic: Sonar Sensor: How Beep the Buzzer ?
leandroguida

Replies: 1
Views: 3749

PostForum: General CCS C Discussion   Posted: Wed Dec 10, 2008 7:56 pm   Subject: Sonar Sensor: How Beep the Buzzer ?
Hi there.

I'm working on a parking sonar sensor. The idea is simple. I send 10-pulse wave (40Khz) to a ultrasonic transducer, wait for my echo for a limited time. If the echo returns on this time, ...
  Topic: Math problems
leandroguida

Replies: 3
Views: 3287

PostForum: General CCS C Discussion   Posted: Wed Dec 10, 2008 5:15 am   Subject: Thanks...
Thanks a lot. It worked!
  Topic: Math problems
leandroguida

Replies: 3
Views: 3287

PostForum: General CCS C Discussion   Posted: Tue Dec 09, 2008 10:00 pm   Subject: Math problems
Hello there.

I'm doing a test code to calculate a period of time. Since I'm using a 4MHz crystal, my internal clock is 1Mhz giving me 1uS per cycle.

So here's my idea, if I can count the total ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group