![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Arduino
Sonny船长
这个作者很懒,什么都没留下…
展开
-
Arduino样例
1.三灯 Blinkconst int p1 = 1;const int p2 = 4;const int p3 = 12;void setup() { pinMode(p1, OUTPUT);//定义输出端口 pinMode(p2, OUTPUT); pinMode(p3, OUTPUT);}void loop() { digitalWrite(p1, HIGH); //定义电流输出 digitalWrite(p2, LOW); digitalWrite(p3,原创 2021-03-17 10:37:16 · 603 阅读 · 0 评论 -
UNO完整版代码
#include <LiquidCrystal.h>#include <SPI.h>#include <MFRC522.h>#define RST_PIN 9MFRC522 mfrc522(SDA, RST_PIN); // 创建MFRC实例// initialize the library by associating any needed...原创 2019-07-29 00:30:32 · 2000 阅读 · 0 评论 -
Arduino门禁控制
#include <ESP8266WiFi.h> //引入ESP8266Wifi库#include <SPI.h>#include <MFRC522.h>#define OUT D3const char* ssid = "Tenda_261AD0";const char* password = "ghq13336261416";const char* httpHost = "192.168.0.105";//服务器ipconst int http.原创 2020-05-31 23:47:44 · 1596 阅读 · 0 评论 -
Arduino网络课堂考勤
#include <ESP8266WiFi.h> //引入ESP8266Wifi库#include <SPI.h>#include <MFRC522.h>#define OUT D3const char* ssid = "Tenda_261AD0";const char* password = "ghq13336261416";const char* httpHost = "192.168.0.105";//服务器ipconst int http.原创 2020-05-31 23:48:32 · 618 阅读 · 0 评论 -
ArduinoDemo
1.三灯 Blinkconst int p1 = 1;const int p2 = 4;const int p3 = 12;void setup() { pinMode(p1, OUTPUT);//定义输出端口 pinMode(p2, OUTPUT); pinMode(p3, OUTPUT);}void loop() { digitalWrite(p1, HIGH...原创 2019-07-29 00:27:30 · 635 阅读 · 0 评论 -
Lcd1602连接Arduino UNO 与 Wemos D1接法与代码
LCD1602有16个引脚 使用1-6号与11-16号引脚此处LCD1602:#1——#6 #11——#16#1:负极#2:正极#3:1kΩ电阻调节对比度#4:arduino7号引脚#5:负极#6:arduino6号引脚#11:arduino5号引脚#12:arduino4号引脚#13:arduino3号引脚#14:arduino2号引脚#15...原创 2020-01-11 15:02:28 · 1747 阅读 · 0 评论