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 1 match
CCS Forum Index
Author Message
  Topic: ADC-MCP342x
houssam313

Replies: 6
Views: 12137

PostForum: General CCS C Discussion   Posted: Sat May 02, 2015 4:01 pm   Subject: ADC-MCP342x
Hi,
It is better to use state machine technique in the library :

signed int32 read_adc_mcp(unsigned int8 address=MCP342X_ADDRESS)
{
switch (ADC_State)
{
//// ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group