12 2022 档案
摘要:按键开关 按下为1 松开为0 const int kgPin=2; void setup() { // put your setup code here, to run once: Serial.begin(9600); pinMode(kgPin,INPUT); } void loop() { /
阅读全文
摘要:#include <RS_Motor.h> RS_Motor motor_left; RS_Motor motor_right; void setup() { // put your setup code here, to run once: } void loop() { // put your
阅读全文
摘要:超声传感器 示例代码 const int trigPin=12; const int echoPin=13; float getDistance(){ digitalWrite(trigPin,LOW); delayMicroseconds(2); digitalWrite(trigPin,HIGH
阅读全文
摘要:红外传感器 示例代码 #include<IRremote.h> long ir_value; IRrecv iRrecv(A0); decode_results results; void setup() { // put your setup code here, to run once: Ser
阅读全文
摘要:马达示例程序 #include <RS_Motor.h> RS_Motor motor_left; RS_Motor motor_right; void setup() { // put your setup code here, to run once: } void loop() { // pu
阅读全文
摘要:参考答案请关注公众号查阅 回复关键字:202212 01 下列现象中有化学变化发生的是()。 A 蜡烛融化 B 冰块融化 C 电磁炉烧开水 D 铁生锈 02 把左边的图形用剪刀剪开,拼成右边的正方形,至少剪几刀?() A 1 B 2 C 3 D 4 05 能够检验土壤中有沙和粘土的实验是()。 A
阅读全文
摘要:小蓝在一列匀速行驶的列车上从车头朝车尾走去,途中掉了钱包,一分钟后小蓝才发现。他立即掉头,以相同的速度往回走,请问小蓝走到掉钱包的位置所需的时间是()? A 小于1分钟 B 等于1分钟 C 大于1分钟 D 与火车运行速度有关
阅读全文