Edaboard.com

Forum EN => Electronics => Topic started by: Vievan on December 15, 2013, 12:59:29 PM

Title: Nuvo7802 configuration problem
Post by: Vievan on December 15, 2013, 12:59:29 PM
hello friends ,
   I am new to this forum. currently iam working in a  project in which iam using Nuvo7802 adc. I configured it and it is getting stored in the appropriate register. but i am getting the same values from the adc data register even though i change the analogue input. I haved posted the coding can someone please point out the issue......

i2c_adc_write(0x00,0x01);
delay(3000);
i2c_adc_write(0x00,0x02);
delay(250);

do{

   temp= i2c_adc_read(0x00);
   display_numaric(temp);
   
   }while((temp&0x08)==0x00);
delay(10000);

display_alphabat("READY ");
/*******************************************************/
delay(3000);

i2c_adc_write(0x00,0x96);
delay(250);

/*******************************************************/
i2c_adc_write(0x01,0x21);
delay(250);


/*******************************************************/
i2c_adc_write(0x02,0x00);
delay(250);
/*******************************************************/
i2c_adc_write(0x15,0x30);
delay(250);


/*******************************************************/
i2c_adc_write(0x1B,0x20);
delay(250);

/*******************************************************/
i2c_adc_write(0x1C,0x00);
delay(250);

Title: Re: Nuvo7802 configuration problem
Post by: Micmiczy on July 27, 2017, 05:29:36 AM
values from the adc data register even though i change the analogue input. I haved posted the coding can someone please point out the issue......

ดูเบอร์มือถือ (http://www.scnumber.com/forecast/)