C++ (Qt)mcu->Send("PORT DDR $FF 0 ;");//Wait 2 Okif(mcu->Read()!=m_Ok){//Error}if(mcu->Read()!=m_Ok){//Error}mcu->Send("ADC 5 ;");//Wait Numif(mcu->Read()!=m_Num){//Error}if(mcu->ReadNum<100){ mcu->Send("PORT $FF ;"); //Wait OK if(mcu->Read()!=m_Ok){//Error}}
manager_->setScript(" send PORT DDR $FF 0 ;send ADC 5 ;if result < 100PORT $FF ;")
C++ (Qt)mcu->Send("PORT DDR $FF 0 ;");//Wait 2 Okif(mcu->Read()!=m_Ok){//Error}...