We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Greetings~
Can you help me have a see my time sequence ? It's about the component-- DS18B20-PAR+T&R .( DS18B20-PAR+T&R Datasheet ) What’s wrong here?
/*ds1820 restoration-----------------------------------------------------------------*/
int16 ds1820rst()
{
int16 flag=0;
EALLOW;
GpioCtrlRegs.GPBMUX2.bit.GPIO55= 0; //0 general io
DQ_DIR=1;//output situation
EDIS;
DQ=1;
DSP28x_usDelay(10); //delay
DQ=0;
DSP28x_usDelay(600); //delay
DQ=1;
DSP28x_usDelay(30);
EALLOW;
GpioCtrlRegs.GPBMUX2.bit.GPIO55= 0; //0 general io
DQ_DIR=1;//input situation
EDIS;
if(DQ==0)
flag=DQ;
return flag;
}
However,why there are no any return signal when in the process of initialization? Are there any wrongs here? I can't see any wrongs in my program?
Please help me have a see. Appreciating it in advance! :bz
Answers
this is a forum for the Processing language, see processing.org . i think you have posted in completely the wrong place.
Oh... Thanks for you remind,koogs.