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 7 matches
CCS Forum Index
Author Message
  Topic: ADC problem?
asic1984

Replies: 5
Views: 8139

PostForum: General CCS C Discussion   Posted: Mon Apr 25, 2005 4:47 am   Subject: ADC problem?

Will output the two bytes one after the other. You can reverse the order, by swapping the '1', and the '0' at the end of the make8 instruction.
However you should think moderately 'carefully' abou ...
  Topic: ADC problem?
asic1984

Replies: 5
Views: 8139

PostForum: General CCS C Discussion   Posted: Mon Apr 25, 2005 4:45 am   Subject: ADC problem?

Will output the two bytes one after the other. You can reverse the order, by swapping the '1', and the '0' at the end of the make8 instruction.
However you should think moderately 'carefully' abou ...
  Topic: ADC problem?
asic1984

Replies: 5
Views: 8139

PostForum: General CCS C Discussion   Posted: Mon Apr 25, 2005 3:53 am   Subject: ADC problem?
hi

i wanna make an ADC code on pic 18f452, 10 bit analog

int x=read_adc();

the problem is that this int value represent 10 bit digit and i wanna send it with the rs232 which is 8 bit ;

how ...
  Topic: delay problem?
asic1984

Replies: 8
Views: 16280

PostForum: General CCS C Discussion   Posted: Thu Mar 10, 2005 9:49 am   Subject: delay problem?
hi

thanks too much i will try it

Idea
  Topic: delay problem?
asic1984

Replies: 8
Views: 16280

PostForum: General CCS C Discussion   Posted: Wed Mar 09, 2005 10:22 pm   Subject: delay problem?
hi

that it is the code inside the 1.h file.....

#include <16F877.h>
#device adc=8
#use delay(clock=10000000)
#fuses HS,WDT
  Topic: delay problem?
asic1984

Replies: 8
Views: 16280

PostForum: General CCS C Discussion   Posted: Wed Mar 09, 2005 12:55 pm   Subject: delay problem?
hi

thanks for your help


Quote:
#include "E:\pic16f877\ccs\1\1.h"

It wouldn't surprise me if it has something to do with the mysterious "1.h" file.


it was generated by the ccs ...n ...
  Topic: delay problem?
asic1984

Replies: 8
Views: 16280

PostForum: General CCS C Discussion   Posted: Wed Mar 09, 2005 12:32 pm   Subject: delay problem?
hi

i am new to ccs and to programming pic with the c language

i made a simple program that output to portb pin 6 of pic 16f877


#include "E:\pic16f877\ccs\1\1.h"
#use delay ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group