随笔分类 -  Arduino

摘要:(一) 8x8点阵 代码 1 int LedPins[8] = {2, 7, 19, 5, 13, 18, 12, 16}; 2 int GndPins[8] = {6, 11, 10, 3, 17, 4, 8, 9}; 3 4 void setup() { 5 // put your setup 阅读全文
posted @ 2020-04-30 09:57 Z_He 阅读(1055) 评论(0) 推荐(0)
摘要:(一) 4×4薄膜按键 代码如下: 1 const int numRows = 4; 2 const int numCols = 4; 3 const int debounceTime = 20; 4 const char keymap[numRows][numCols] = { 5 {'1','2 阅读全文
posted @ 2020-04-27 21:32 Z_He 阅读(963) 评论(0) 推荐(0)
摘要:(一)、抢答器: 代码 1 int redled = 8; 2 int yellowled = 7; 3 int greenled = 6; 4 5 int redpin = 5; 6 int yellowpin = 4; 7 int greenpin = 3; 8 9 int restpin = 阅读全文
posted @ 2020-04-23 22:09 Z_He 阅读(2093) 评论(0) 推荐(0)
摘要:作为兴趣爱好,开始学习开发板,从基础入手,记录学习使用心得。 一、arduino Arduino是一款便捷灵活、方便上手的开源电子原型平台。包含硬件(各种型号的Arduino板)和软件(ArduinoIDE)。 由一个欧洲开发团队于2005年冬季开发。其成员包括Massimo Banzi、David 阅读全文
posted @ 2020-04-21 20:52 Z_He 阅读(4543) 评论(0) 推荐(0)