在上题中,与LED灯串联的电阻R1-R3是电阻,R4-R6是电阻。
查看答案
三人抢答器的软件程序代码如下:int redled = 11;int yellowled =12;int greenled = 13;int redpin = 7;int yellowpin = 8;int greenpin = 9;int offswitch = 10;int red;int yellow;int green;int i = ; //①void setup(){pinMode(redled, OUTPUT);pinMode(yellowled, OUTPUT);pinMode(greenled, OUTPUT);pinMode(redpin, INPUT);pinMode(yellowpin, INPUT);pinMode(greenpin, INPUT);pinMode(offswitch, INPUT);}void loop(){ red = (redpin); //②if (red == HIGH && i == 0){ i = 1;digitalWrite(redled, HIGH);}yellow = digitalRead(yellowpin);if (yellow == HIGH&&i == 0){ i = ; //③digitalWrite(yellowled, HIGH);}green = digitalRead(greenpin);if (green ==HIGH && i == 0 ){i=1;digitalWrite(greenled, HIGH);}if (digitalRead(offswitch) == HIGH){ i = 0;digitalWrite(redled, LOW);digitalWrite(yellowled, LOW);digitalWrite(greenled, LOW);}}在以上程序中①处int i =②处red =(redpin); ③处i =; 该程序设计采用了(单、双、多)分支选择结构。
零序分量存在于
A. 正常运行时
B. 三相对称短路
C. 两相相间短路
D. 接地短路
在中性点直接接地系统中,发生单相接地短路时,零序电压分布特点是?
A. 故障点处最高
B. 故障点处最低
C. 中性点处最高
D. 不一定
中性点直接接地系统发生单相接地短路时,零序电流特点?
A. 从故障点流向中性点
B. 规定正方向与实际方向一致
C. 零序电流的分布与电源数目及分布有关
D. 零序电流的分布与中性点接地变压器分布有关