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: Somewhat OT: Reading high voltage applied to motor
MikeV

Replies: 2
Views: 6615

PostForum: General CCS C Discussion   Posted: Tue Dec 12, 2006 2:57 pm   Subject: Somewhat OT: Reading high voltage applied to motor
I have a DC motor which will gets various voltages applied to it:
1. 10VDC to 120VDC
2. Pulsed 170VDC (PWM frequency of 20kHz, with varying duty cycles)

How do I read the voltage applied across t ...
  Topic: delay_ms(time)? variable? constant?
MikeV

Replies: 1
Views: 12285

PostForum: General CCS C Discussion   Posted: Fri Mar 05, 2004 12:53 pm   Subject: delay_ms(time)? variable? constant?
What does it mean that we can do delay_ms() for a variable 0-255 or a constant 0-65535?

I assume we can only have an int in the argument there, right? Otherwise, a hard-coded number will be interpr ...
  Topic: printf problem with float. ex. fahrenheit to celsius...
MikeV

Replies: 3
Views: 13546

PostForum: General CCS C Discussion   Posted: Fri Feb 27, 2004 11:35 am   Subject: printf problem with float. ex. fahrenheit to celsius...
using 18F876.
I copied from page 12 in the K&R book to convert fahrenheit to celsius:

void main(void)
{
float fahr, celsius;
int lower, upper, step;

lower = 0;
upper = ...
  Topic: How to determine if TWO keys are hit at the same time
MikeV

Replies: 2
Views: 13342

PostForum: General CCS C Discussion   Posted: Mon Feb 23, 2004 10:03 am   Subject: How to determine if TWO keys are hit at the same time
using kbhit() and getc(), I have no problems if one key is hit.

How can I determine if TWO keys are hit at the same time? Do I simply need to do two kbhit() instructions back to back with no delay? ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group