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.

28035設置問題



請問要怎麼把28335下列程式改為28035,順便附上我的程式,這程式在28335可用但我要把他用在28035的版子上,拜託各位先進幫忙。

long LoopCount=0;
long ConversionCount=0;
long AD[8]={0,0,0,0,0,0,0,0};
long Ts_P=0,Ts_V=0,Ts_I=0;

//MPPT

long Mcalculate_b=10,Mcalculate_n=0,MPPT=0,MK=0.279289;

//BOOST
long VDCout=0,D=0.0004,Boost_V=0;

//Boost_PI
long BP_term=0,BKp=0.675,BKi=0.00005,Bek_b=0,Bek_n=0,Bsumk_b=0,Bsumk_n=0,BI_term=0,BT=0.01,Bsum0,BPI_out=0;//10:BKp=76.5,BKi=0.035

//風機計算
long W_cn=0,W_cb=0,W_vn=0,W_vb=0,W_pn=0,W_pb=0,W_ct[5]={0,0,0,0,0};//計算風速
int ct=0;

//Zero Point
int Npoint=0,ZT=0;

//Sinwave產生
//float S0[333],S1[333];
long pi = 3.1416,SP=0.9,frequency=0;
long t=0,c=0,time=0,ts1=0;
int i=0;

//inverter
long ek_n=0,ek_b=0,V_multiply=0;
long Iac=0,Ioc=0;
int n=0;
long GA=0,GB=0,delay=0,TT=0;
int wholedelay = 0;

//inverter PI
long IP_term=0,IKp=0.525,IKi=0.0005,Iek_b=0,Iek_n=0,Isumk_b=0,Isumk_n=0,II_term=0,IT=0.01,Isum0,IPI_out=0;//0.525
float Ivalue=0,Icommand=0,IG=90,gain=1,DeadBand=100,Ulimit=0,Llimit=0;//237.5,0.9885