Demo entry 6362141



Submitted by Zhao Yi on May 07, 2017 at 08:49
Language: C. Code size: 365 Bytes.

u16 flag20l=0;//低于0.2V的计数器
u16 flag20h=0;//高于0.4V的计数器
u32 flagtime69000=0;//检测一次的时钟计数器
u8 *v1,*v2,*v3,*v4,*v5,*v6,*v7,*v8,*v9,*v10;//十个电平检测IO口
u8 *op;//工作状态
u8 *state1="<0.2V";//电平区间<0.2V
u8 *state2="beteen";//电平区间(0.2,0.4)V
u8 *state3=">0.4V";//电平区间>0.4V
u8 *op0="0Normally Worked";//0是正常状态
u8 *op1="1Water Wasted";//1是水体污染
u8 *op2="2standby on";//2是静息状态

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).