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 12 matches
CCS Forum Index
Author Message
  Topic: Help me with strtof Please
stewart

Replies: 3
Views: 5755

PostForum: General CCS C Discussion   Posted: Sun Aug 01, 2010 5:51 pm   Subject: Help me with strtof Please
Thanks,
I should have known, it is a simple matter of precision. I somehow thought that it was a bit more precise, but, given the huge range that can be represented, it really is quite impressive. ...
  Topic: Help me with strtof Please
stewart

Replies: 3
Views: 5755

PostForum: General CCS C Discussion   Posted: Sun Aug 01, 2010 4:10 pm   Subject: Help me with strtof Please
Hi all, I am trying to use strtof. Can anyone point out what I am doing wrong???

Here is the code:

strcpy(scale_buf, "143.49");
ret_float = strtof(scale_buf, end_ptr ...
  Topic: Calling all CASTers
stewart

Replies: 4
Views: 4812

PostForum: General CCS C Discussion   Posted: Sat Jul 19, 2008 2:01 am   Subject: Calling all CASTers
Ttelmah,

A well written and informative reply, Thanks !!

I missed the rotate_right/left() functions Thanks !

I should have looked things over a bit more before posting. My "bit setting ...
  Topic: Calling all CASTers
stewart

Replies: 4
Views: 4812

PostForum: General CCS C Discussion   Posted: Fri Jul 18, 2008 12:49 am   Subject: Calling all CASTers
Welcome to CAST LAND

Thanks to the forum for many previous questions answered!!!!

The trouble with CAN went smooth with the help of you all.


I have a need for a "barrel shift".
...
  Topic: USB versus Timer interrupt on 18F4550
stewart

Replies: 2
Views: 6711

PostForum: General CCS C Discussion   Posted: Tue Jun 24, 2008 11:41 pm   Subject: USB versus Timer interrupt on 18F4550
Sinister,

I have looked over your code, not in great detail, but I can suggest that you do FAR LESS in the TMR0 interrupt routine.

There are many discussions related to trying to do too much in ...
  Topic: I2C/DS1631 question
stewart

Replies: 8
Views: 10186

PostForum: General CCS C Discussion   Posted: Tue Jun 24, 2008 2:11 pm   Subject: I2C/DS1631 question
Time to get out the data sheet and do some "light" reading:
http://datasheets.maxim-ic.com/en/ds/DS1631-DS1731.pdf

Open the hymnal to page 11 of 15.

The high half is always 1001 (9 in ...
  Topic: I2C/DS1631 question
stewart

Replies: 8
Views: 10186

PostForum: General CCS C Discussion   Posted: Tue Jun 24, 2008 9:40 am   Subject: I2C/DS1631 question
Ttelmah

Yes of course, I was thinking "7 more".

Thanks for clearing up the confusion my simple error might have created

Stewart
  Topic: Level Shifting Question
stewart

Replies: 4
Views: 5418

PostForum: General CCS C Discussion   Posted: Tue Jun 24, 2008 9:24 am   Subject: Level Shifting Question
Senta

I just do the #use RS232.

Yes, tap off of the TX and RX signales BEFORE the level shifter. But you may need to break the connection from the output of the level shifter that drives your R ...
  Topic: PIC16F88 and PWM
stewart

Replies: 4
Views: 15351

PostForum: General CCS C Discussion   Posted: Tue Jun 24, 2008 9:11 am   Subject: PIC16F88 and PWM
xavier

PWM is super easy. It simply is based on 3 things: TMR2, CCPR1 and PR2

CCPR1 holds the period, at which point TMR2 is reset, and the output goes high. when TMR2 matches the value of PR2 ...
  Topic: I2C/DS1631 question
stewart

Replies: 8
Views: 10186

PostForum: General CCS C Discussion   Posted: Tue Jun 24, 2008 8:59 am   Subject: I2C/DS1631 question
Milkman45,

After a quick look at the data sheet, if you have one talking, then is should be a simple matter of getting 7 of them on the same bus.

In the back of my mind I wonder how you have on ...
  Topic: Level Shifting Question
stewart

Replies: 4
Views: 5418

PostForum: General CCS C Discussion   Posted: Tue Jun 24, 2008 8:48 am   Subject: Level Shifting Question
Setna,

I am not sure what a CMUCAM3 is, but
using a TTL serial port on the camera

As you said, TTL is commonly 5V and I assume the 5722 board is also 5V. The fact that we call the serial inter ...
  Topic: Driving a bi-color LED.....
stewart

Replies: 4
Views: 7606

PostForum: General CCS C Discussion   Posted: Fri Jan 20, 2006 5:21 pm   Subject: Driving a bi-color LED.....
To turn the LED off, just set the output bit to an input.

Stewart
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group