最简单 switch(key); //(判断按下哪个键) case 1 : led亮 延时3s led灭; case 2 : led亮 延时5s led灭; case 3 : led亮 延时10s led灭;
27,511
社区成员
28,797
社区内容
加载中
试试用AI创作助手写篇文章吧