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: write_eeprom and read_eeprom as function calls and not macro
GoldServe

Replies: 2
Views: 7363

PostForum: General CCS C Discussion   Posted: Sun Jul 31, 2005 7:56 am   Subject: write_eeprom and read_eeprom as function calls and not macro
Doh!!

Why didn't I think of it...create a wrapper!! Thanks!
  Topic: write_eeprom and read_eeprom as function calls and not macro
GoldServe

Replies: 2
Views: 7363

PostForum: General CCS C Discussion   Posted: Sat Jul 30, 2005 10:29 pm   Subject: write_eeprom and read_eeprom as function calls and not macro
In an effor to squeeze every possible rom space out of the PIC12F675, is it possible to implement write_eeprom as my own function call instead of having the compiler paste the assembly code in like a ...
  Topic: Simple circuit but something wrong?
GoldServe

Replies: 18
Views: 22639

PostForum: General CCS C Discussion   Posted: Thu Jun 30, 2005 8:31 pm   Subject: Simple circuit but something wrong?
How i'm measuring it is from the time I turn the PIC on, I count 3 seconds and the output from the LDO goes high to ~3V. When I count another 3 seconds, I'll see the voltage try to dip to 2.8V and the ...
  Topic: Simple circuit but something wrong?
GoldServe

Replies: 18
Views: 22639

PostForum: General CCS C Discussion   Posted: Thu Jun 30, 2005 8:30 pm   Subject: Simple circuit but something wrong?
How i'm measuring it is from the time I turn the PIC on, I count 3 seconds and the output from the LDO goes high to ~3V. When I count another 3 seconds, I'll see the voltage try to dip to 2.8V and the ...
  Topic: Simple circuit but something wrong?
GoldServe

Replies: 18
Views: 22639

PostForum: General CCS C Discussion   Posted: Thu Jun 30, 2005 8:25 pm   Subject: Simple circuit but something wrong?
Which compiler version are you using?

I compiled your first version in v3.226 and the configuration looks ok. I don't have the hardware so couldn't confirm a correct timing.

I'm using compiler ...
  Topic: Simple circuit but something wrong?
GoldServe

Replies: 18
Views: 22639

PostForum: General CCS C Discussion   Posted: Thu Jun 30, 2005 8:17 pm   Subject: Simple circuit but something wrong?
Sorry DJ, I didn't mean to take credit or not give you credit. I just didn't want people e-mailing you thinking it was me or something! Sorry again!
  Topic: Simple circuit but something wrong?
GoldServe

Replies: 18
Views: 22639

PostForum: General CCS C Discussion   Posted: Thu Jun 30, 2005 6:21 am   Subject: Simple circuit but something wrong?
How i'm measuring it is from the time I turn the PIC on, I count 3 seconds and the output from the LDO goes high to ~3V. When I count another 3 seconds, I'll see the voltage try to dip to 2.8V and the ...
  Topic: Simple circuit but something wrong?
GoldServe

Replies: 18
Views: 22639

PostForum: General CCS C Discussion   Posted: Wed Jun 29, 2005 5:03 pm   Subject: Simple circuit but something wrong?
Can someone tell me why i'm getting a 3sec delay instead of a 1second delay using:

// Setup timer 0 - 1000000 / 4 / 256 = 1ms
setup_counters(RTCC_INTERNAL,RTCC_DIV_4);
setup_timer_1(T1_D ...
  Topic: Simple circuit but something wrong?
GoldServe

Replies: 18
Views: 22639

PostForum: General CCS C Discussion   Posted: Wed Jun 29, 2005 9:25 am   Subject: Simple circuit but something wrong?
Thanks. That makes sense. I'll give it a try.

All I will do now is not use the directive #use_fastio and not set the trisio register. Just use the bits (output them high or low). That sounds correc ...
  Topic: Simple circuit but something wrong?
GoldServe

Replies: 18
Views: 22639

PostForum: General CCS C Discussion   Posted: Wed Jun 29, 2005 5:57 am   Subject: Simple circuit but something wrong?
First comment: Well done, on posting readable code!. Far better than most questioners. :-)


Thanks!

What are the components to the right of the PIC?. The top right pin is labelled apparently as ...
  Topic: Simple circuit but something wrong?
GoldServe

Replies: 18
Views: 22639

PostForum: General CCS C Discussion   Posted: Tue Jun 28, 2005 4:08 pm   Subject: Simple circuit but something wrong?
Thanks for any help you can give me. I simulated the circuit using a simulator and the pin is toggling every 1 second so that seems to work. The problem I might be having is something to do with the c ...
  Topic: Simple circuit but something wrong?
GoldServe

Replies: 18
Views: 22639

PostForum: General CCS C Discussion   Posted: Tue Jun 28, 2005 9:36 am   Subject: Simple circuit but something wrong?
Hi, I'm new to PIC programming but this circuit and program is too simple but it doesn't work. Below is the circuit I'm working with:

http://img200.echo.cx/img200/8544/popschematics9dr.th.png
#inc ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group