上一页 1 2 3 4 5 6 7 8 9 ··· 26 下一页
摘要: /* LiquidCrystal Library - Hello World Demonstrates the use a 16x2 LCD display. The LiquidCrystal library works with all LCD displays that are compati 阅读全文
posted @ 2020-12-03 10:25 meetrice 阅读(844) 评论(0) 推荐(0) 编辑
摘要: #include <Adafruit_NeoPixel.h> #define PIN 2 // input pin Neopixel is attached to #define NUMPIXELS 12 // number of neopixels in strip Adafruit_NeoPix 阅读全文
posted @ 2020-12-03 10:20 meetrice 阅读(390) 评论(0) 推荐(0) 编辑
摘要: /* Ping))) Sensor This sketch reads a PING))) ultrasonic rangefinder and returns the distance to the closest object in range. To do this, it sends a p 阅读全文
posted @ 2020-12-03 10:14 meetrice 阅读(616) 评论(1) 推荐(0) 编辑
摘要: /* Pitch follower Plays a pitch that changes based on a changing analog input circuit: * 8-ohm speaker on digital pin 9 * photoresistor on analog 0 to 阅读全文
posted @ 2020-12-03 10:11 meetrice 阅读(609) 评论(0) 推荐(0) 编辑
摘要: /* Multiple tone player Plays multiple tones on multiple pins in sequence circuit: * 3 8-ohm speaker on digital pins 6, 7, and 8 created 8 March 2010 阅读全文
posted @ 2020-12-03 10:04 meetrice 阅读(495) 评论(0) 推荐(0) 编辑
摘要: /* Melody Plays a melody circuit: * 8-ohm speaker on digital pin 8 created 21 Jan 2010 modified 30 Aug 2011 by Tom Igoe This example code is in the pu 阅读全文
posted @ 2020-12-03 10:02 meetrice 阅读(263) 评论(0) 推荐(0) 编辑
摘要: /* Keyboard Plays a pitch that changes based on a changing input circuit: * 3 pushbuttons from +5V to analog in 0 through 3 * 3 10K resistors from ana 阅读全文
posted @ 2020-12-03 10:00 meetrice 阅读(406) 评论(0) 推荐(0) 编辑
摘要: /* Sweep by BARRAGAN <http://barraganstudio.com> This example code is in the public domain. modified 8 Nov 2013 by Scott Fitzgerald http://www.arduino 阅读全文
posted @ 2020-12-03 09:56 meetrice 阅读(465) 评论(0) 推荐(0) 编辑
摘要: /* AnalogReadSerial Reads an analog input (potentiometer) on pin 0, prints the result to the serial monitor. OPEN THE SERIAL MONITOR TO VIEW THE OUTPU 阅读全文
posted @ 2020-12-03 09:49 meetrice 阅读(461) 评论(0) 推荐(0) 编辑
摘要: /* DigitalReadSerial Reads a digital input on pin 2, prints the result to the serial monitor This example code is in the public domain. */ int buttonS 阅读全文
posted @ 2020-12-03 09:47 meetrice 阅读(266) 评论(0) 推荐(0) 编辑
摘要: /* Arduino通过analogRead()函数读取模拟引脚0上的电位器读数控制LED闪灯频率 电路原理图: *电位器的中心引脚到连接到模拟输入0号引脚 *任意一侧接地,另一侧接5V */ int sensorValue = 0; void setup() { pinMode(A0, INPUT 阅读全文
posted @ 2020-12-03 09:44 meetrice 阅读(517) 评论(0) 推荐(0) 编辑
摘要: /* State change detection (edge detection) 状态变化检测(边缘检测) Often, you don't need to know the state of a digital input all the time, but you just need to 阅读全文
posted @ 2020-12-03 09:18 meetrice 阅读(534) 评论(0) 推荐(0) 编辑
摘要: /* 去抖动 每次输入引脚从LOW变为HIGH时(例如由于按钮按),输出引脚从LOW切换到HIGH或从HIGH切换到LOW。有两次触发之间的最小延迟以消除电路抖动(即忽略噪声)。 电路: * LED从引脚13接地 * 按钮连接到引脚2至+ 5V * 10K电阻从引脚2接地 *注意:在大多数Ardui 阅读全文
posted @ 2020-12-03 09:03 meetrice 阅读(737) 评论(0) 推荐(0) 编辑
摘要: 项目地址:https://www.tinkercad.com/things/fxAUiYvu7aG /* Button Turns on and off a light emitting diode(LED) connected to digital pin 13, when pressing a 阅读全文
posted @ 2020-12-03 00:59 meetrice 阅读(712) 评论(0) 推荐(0) 编辑
摘要: 项目地址:https://www.tinkercad.com/things/fuEoV1EqLvS /* 渐显渐隐 Arduino使用analogWrite函数在9号引脚上产生PWM脉冲宽度调制,使得发光二极管LED渐显渐隐, 如果你想换一个引脚,请使用具有PWM输出能力的引脚,在多数板子上以波浪号 阅读全文
posted @ 2020-12-03 00:53 meetrice 阅读(586) 评论(0) 推荐(0) 编辑
摘要: 项目地址:https://www.tinkercad.com/things/e83v3mZL4Ua 阅读全文
posted @ 2020-12-03 00:49 meetrice 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 项目地址:https://www.tinkercad.com/things/fxAUiYvu7aG const int buttonPin = 2; //定义GPIO2输入开关按钮电平 const int ledPin = 7; //定义GPIO7为电平输出 int buttonState = 0; 阅读全文
posted @ 2020-12-03 00:27 meetrice 阅读(556) 评论(0) 推荐(0) 编辑
摘要: 原文:https://m.xianjichina.com/news/details_104643.html (贤集网) 发光二极管简称为LED,由镓(Ga)与砷(AS)、磷(P)的化合物制成的二极管,当电子与空穴复合时能辐射出可见光,因而可以用来制成发光二极管。在电路及仪器中作为指示灯,或者组成文字 阅读全文
posted @ 2020-12-02 21:53 meetrice 阅读(3789) 评论(0) 推荐(0) 编辑
摘要: ESP8266 WiFi芯片的Arduino支持官网 该项目为 Arduino 环境带来了对 ESP8266芯片的支持。它允许您使用熟悉的 Arduino 函数和库编写示意图,并直接在 ESP8266上运行它们,不需要外部微控制器。 https://github.com/esp8266/Arduin 阅读全文
posted @ 2020-12-01 22:30 meetrice 阅读(880) 评论(0) 推荐(0) 编辑
摘要: 直接查看该网站的错误日志, 阅读全文
posted @ 2020-11-29 13:10 meetrice 阅读(155) 评论(0) 推荐(0) 编辑
摘要: Linux 全盘备份恢复工具(Clonezilla) 相信大家在Windows里面都用过一键还原精灵或Ghost镜像工具,那么在Linux是否也有同样的工具呢? Clonezilla便是Linux的备份还原工具,真实体验来讲,它是一款比Windows的一键还原精灵更强大,更灵活的工具,因为它支持直接 阅读全文
posted @ 2020-11-24 22:35 meetrice 阅读(709) 评论(0) 推荐(0) 编辑
摘要: Dremel琢美创建于1932年,公司创始人A.J. Dremel也正是电磨机的发明者。在产品的持续创新过程中,Dremel琢美进入欧洲市场并获得成功。1993年,Dremel琢美被罗伯特.博世公司收购,并成为博世集团中的一员。Dreme琢美具有超过81年的历史。无论是DIY爱好者、专业人士还是业余 阅读全文
posted @ 2020-11-18 22:45 meetrice 阅读(636) 评论(0) 推荐(0) 编辑
摘要: 一、电机的类型 智能设备如机器人中最常用的电机类型 AC motor 交流电动机 Brushed DC motor 有刷直流电机 Brushless DC motor 无刷直流电机 Geared DC motor 减速电机 (齿轮式直流电机) Servo motor 伺服电机 Stepper mot 阅读全文
posted @ 2020-11-18 10:59 meetrice 阅读(603) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-18 10:08 meetrice 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 你是不是被电缆,电线,插头逼疯了?似乎有上百万种不同类型的视频接口线用于连接设备、电视、电脑等。下面会列出最常用的20种视频接口线,拿去用吧! 两个主要的视频接口线区别? 视频接口线有两种主要类型: 模拟和数字。 1. 模拟 模拟视频电缆使用波动的电子信号来传输视频。这种传输是波浪型的,但是由于其简 阅读全文
posted @ 2020-11-18 09:26 meetrice 阅读(7988) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-18 08:59 meetrice 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 手动创建 postgres 用户,然后执行安装操作。具体步骤如下: 删除已经安装的 PostgreSQL,删除安装目录的文件 检查是否有 postgres 用户,如果有,则删除 postgres 用户。或者执行下面的脚本直接删除 net user postgres /delete 创建 postgr 阅读全文
posted @ 2020-07-29 09:52 meetrice 阅读(1378) 评论(0) 推荐(0) 编辑
摘要: 使用dnnmmp安装mysql和phpmyadmin默认使用dnnmmp_default网络,因为在安装其他依赖mysql的应用时,需指定网络 ,同时需指定mysql名称 原命令: docker run --name gocron --link mysql:db -p 5920:5920 -d ou 阅读全文
posted @ 2019-09-22 10:14 meetrice 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 检查安装是否成功 设置环境变量 其中,GOPROXY 可以解决 golang.org/x/... 系列包无法下载的问题。 编写 HelloWorld 文件,测试运行环境。 创建 go.mod 文件 用 Gin 实现一个简单的 http 服务 直接编译执行 可以看到引用的包都被自动下载了 HTTP 服 阅读全文
posted @ 2019-09-19 09:23 meetrice 阅读(3400) 评论(0) 推荐(0) 编辑
摘要: 一、安装TDengine:1、从官网https://www.taosdata.com/cn/getting-started/下载RPM包(tdengine-1.6.2.0-3.el7.x86_64.rpm)2、安装:rpm -ivh tdengine-1.6.2.0-3.el7.x86_64.rpm 阅读全文
posted @ 2019-09-18 18:57 meetrice 阅读(1104) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 26 下一页