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: Acoustic data transmission with PIC
danielkr

Replies: 5
Views: 7019

PostForum: General CCS C Discussion   Posted: Tue Aug 29, 2006 1:51 pm   Subject: Acoustic data transmission with PIC
Hi folks.

My plan is to implement a data transmission between two PICS with basically speakers and microphones. Have anyone seen anything a project like this before?
After some reading and googlin ...
  Topic: 16F676 ADC-problem
danielkr

Replies: 6
Views: 10373

PostForum: General CCS C Discussion   Posted: Tue Aug 29, 2006 1:40 pm   Subject: 16F676 ADC-problem
A lot easier, and much prettier too..

I wonder if a <<8 and *256 is handled diffrent by the compiler?

Thanks Ttelmah Man!
  Topic: 16F676 ADC-problem
danielkr

Replies: 6
Views: 10373

PostForum: General CCS C Discussion   Posted: Mon Aug 28, 2006 2:47 pm   Subject: read_adc
I wrote my own read_adc. What do you guys think?


int16 my_read_adc(){
bit_set(*0x1F,1);
while(bit_test(*0x1F,1)){}
return *0x9E+*0x1E*256;
& ...
  Topic: 16F676 ADC-problem
danielkr

Replies: 6
Views: 10373

PostForum: General CCS C Discussion   Posted: Mon Aug 28, 2006 12:43 am   Subject: 16F676 ADC-problem
I guess this explains why I've experienced so much problems. I guess I've learned a lesson too, never put too much trust to the compiler Smile
I'll try to write my own routines now.



5. The setup_ ...
  Topic: 16F676 ADC-problem
danielkr

Replies: 6
Views: 10373

PostForum: General CCS C Discussion   Posted: Sun Aug 27, 2006 12:50 pm   Subject: 16F676 ADC-problem
Hi,

My 16F676 seems to hang when calling the read_adc() function.
I've tried to change to other pins, different references etc.
Using CCS PCM 3.128
Can someone please help??



#include < ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group