当前位置:网站首页>Esp8266 Arduino programming example GPIO input and output
Esp8266 Arduino programming example GPIO input and output
2022-07-26 11:36:00 【Vision & IOT intelligence】
GPIO Input and output
This example will demonstrate how to pass GPIO Input and output function control LED.
1、GPIO Input and output control
1)GPIO Mode setting
By function pinMode Can be GPIO Set to input or output mode :
pinMode(pin,INPUT); // Set to input mode
pinMode(pin,OUTPUT); // Set to output mode
2)GPIO State settings
By function digitalWrite Function can control GPIO The state of :
digitalWrite边栏推荐
- Can you believe it? It took me only two days to develop a management system
- X 2 Earn必须依靠旁氏启动?Gamefi的出路在哪?(上)
- Query advanced alias
- 想让照片中的云飘起来?视频编辑服务一键动效3步就能实现
- MySQL basic knowledge summary
- QT——LCDNumber
- js使用WebUploader做大文件的分块和断点续传
- [error reported]exception: found duplicate column (s) in the data schema: `value`;
- Can SAIC mingjue get out of the haze if its products are unable to sell and decline
- Admit it, investing in new energy is for security
猜你喜欢

贝尔曼期望方程状严谨证明

Rigorous proof of Behrman's expectation equation

Summary of common cmake commands

Build neural network from simple to deep

easyui02

MySQL数据库的简单使用

easyui04

Getting started step by step using g2o to solve ICP problems - estimating the transformation relationship between two sets of 3D point sets with matching relationship

LeetCode / Scala - 两数,三数,四数,N数之和

MySQL transaction details
随机推荐
数据数据湖(十九):SQL API 读取Kafka数据实时写入Iceberg表
HCI interface
Harbor2.2 用户角色权限速查
[vscode] how to connect to the server remotely
安科瑞余压监控系统在住宅小区的应用方案
Query advanced alias
MySQL事务详解
[报错]看日志看什么
easyui01
数据库组成存储引擎
外包干了四年,废了...
社区点赞业务缓存设计优化探索
Att request of ble
Data type of SQL Server database
【转载】多元高斯分布(The Multivariate normal distribution)
查询进阶 别名
贝尔曼期望方程状严谨证明
The company cannot access station B
A new technical director asked me to do an IP territorial function~
JVM基本概念及内存管理模型