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 9 matches
CCS Forum Index
Author Message
  Topic: GPS question
rret

Replies: 1
Views: 3337

PostForum: General CCS C Discussion   Posted: Fri Mar 19, 2010 7:00 am   Subject: GPS question
I am building a "GPS box" that will only open when brought to a known set location. If I want to get to within +/- 300 ft of a location, how many minutes is that?
  Topic: how to tell if done receiving chars
rret

Replies: 9
Views: 8615

PostForum: General CCS C Discussion   Posted: Sat Feb 06, 2010 11:32 am   Subject: how to tell if done receiving chars
I am writing a program that sends a message out the serial port at 115200 baud.
That message I send out causes "the other side" to respond back.
I am using ISR int_rda to receive chars and ...
  Topic: i2c write never returns - RTC chip
rret

Replies: 2
Views: 5463

PostForum: General CCS C Discussion   Posted: Thu Dec 10, 2009 4:48 pm   Subject: did indeed need the pull-up resistors
Thanks PCM_PROGRAMMER.

My circuit did indeed need the pull-up resistors.
I threw a couple of 4.6 k ohms in there and bingo! No more stuck at the write call.

Thanks again.
  Topic: i2c write never returns - RTC chip
rret

Replies: 2
Views: 5463

PostForum: General CCS C Discussion   Posted: Thu Dec 10, 2009 3:39 pm   Subject: i2c write never returns - RTC chip
I am using the following circuit. The RTC is hooked up to a 16F877A.

http://webpages.charter.net/rret/RTC8593/RTC-PCF8593-schematic2.jpg

RC2 is !RESET
RC3 is SCL
RC4 is SDA

The following c ...
  Topic: i2c device address?
rret

Replies: 2
Views: 4522

PostForum: General CCS C Discussion   Posted: Wed Dec 09, 2009 1:01 pm   Subject: thanks
thanks, i really missed that info! Embarassed
  Topic: timed pushbutton ISR
rret

Replies: 8
Views: 13201

PostForum: General CCS C Discussion   Posted: Wed Dec 09, 2009 12:35 pm   Subject: ended up doing this...
thanks everyone for your help.

I ended up doing this, as i don't need to know if the button is up, just how long it was down.
(constructive criticism is welcome!)

// external interrupt when but ...
  Topic: i2c device address?
rret

Replies: 2
Views: 4522

PostForum: General CCS C Discussion   Posted: Wed Dec 09, 2009 12:28 pm   Subject: i2c device address?
I'm trying to talk to a NXP PCF8593 RTC chip.

int1 ack;

output_float(PCF8593_SCL);
output_float(PCF8593_SDA);
//pulse NOTRESET-
output_low(PCF8593_NOTRESET);
output_h ...
  Topic: timed pushbutton ISR
rret

Replies: 8
Views: 13201

PostForum: General CCS C Discussion   Posted: Fri Dec 04, 2009 2:47 pm   Subject: thanks, but one question at this point...
to pcm-programmer-
thanks - i'll give that a try. i didnt need hints, i needed code, so thanks.
my only concern is that i will be receiving chars from the serial port at a high rate and i'm concer ...
  Topic: timed pushbutton ISR
rret

Replies: 8
Views: 13201

PostForum: General CCS C Discussion   Posted: Tue Dec 01, 2009 8:17 pm   Subject: timed pushbutton ISR
I am trying to find CCS code that when a pushbutton is pushed an interrupt service routine is called. That ISR can then distinquish whether or not the button was pushed momentarily or was held down f ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group