随笔分类 - 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
阅读全文
摘要:(一) 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
阅读全文
摘要:(一)、抢答器: 代码 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 =
阅读全文
摘要:作为兴趣爱好,开始学习开发板,从基础入手,记录学习使用心得。 一、arduino Arduino是一款便捷灵活、方便上手的开源电子原型平台。包含硬件(各种型号的Arduino板)和软件(ArduinoIDE)。 由一个欧洲开发团队于2005年冬季开发。其成员包括Massimo Banzi、David
阅读全文
浙公网安备 33010602011771号