This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ76200: arduino code

Part Number: BQ76200

helo 

i am controlling bq76200 with Arduino but it seems i cant set either CHG or DSH mosfet to work correctly and not at the same time 

void enablecharing()

{
digitalWrite(DSHON,LOW);
digitalWrite(CHGON,HIGH);

}
void enabledishcharing()
{
digitalWrite(CHGON,LOW);
digitalWrite(DSHON,HIGH);

}

but i need voltage conditions to do so 

could you please help  regarding this 

thank you