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 5 matches
CCS Forum Index
Author Message
  Topic: Analog port pulls down
zzattack

Replies: 3
Views: 4471

PostForum: General CCS C Discussion   Posted: Fri Dec 24, 2010 6:14 am   Subject: Analog port pulls down
Thanks for your comment, I'm running the PIC at 8MHz,

I do not use any output_* or fast_io on this (or any other) port. Does the setup_adc_ports() command set the port to input itself, or do I nee ...
  Topic: Analog port pulls down
zzattack

Replies: 3
Views: 4471

PostForum: General CCS C Discussion   Posted: Fri Dec 24, 2010 4:56 am   Subject: Analog port pulls down
I'm trying to do an AD conversion on a pic16f88. I split the value I wish to measure in 1/60 using a 59k and 1k resistor and this seems to work: the input voltage on the AD port is 1/60th of the batte ...
  Topic: Inserting a single instruction
zzattack

Replies: 5
Views: 6134

PostForum: General CCS C Discussion   Posted: Wed Dec 22, 2010 11:43 am   Subject: Inserting a single instruction
This solves my issue, thanks guys. By the way: I meant the 0x101th word on a PIC16.
  Topic: Inserting a single instruction
zzattack

Replies: 5
Views: 6134

PostForum: General CCS C Discussion   Posted: Wed Dec 22, 2010 10:10 am   Subject: Inserting a single instruction
I put the #inline there to prevent any function calls being done to this function. I don't actually want a function there, I just want this particular instruction on this exact address. Also, I want s ...
  Topic: Inserting a single instruction
zzattack

Replies: 5
Views: 6134

PostForum: General CCS C Discussion   Posted: Wed Dec 22, 2010 6:00 am   Subject: Inserting a single instruction
I'm trying to insert a single jump instruction at address 0x100. I don't want anything at 0x101. I tried:
#org 0x100
#asm
#inline
void jump_to_prog() {
GOTO 0x300
}
#endasm
...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group