会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
alexhe
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
10
下一页
2023年9月15日
申通ubuntu1804快速装postgresql redis mq vsftp
摘要: 先eri docker一套初始化 sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' wget
阅读全文
posted @ 2023-09-15 15:51 alexhe
阅读(51)
评论(0)
推荐(0)
2023年8月3日
arduino
摘要: 开关,下拉电阻,板载小灯,按开关灯亮 const int ledPin=13; const int inputPin=2; void setup() { // put your setup code here, to run once: pinMode(ledPin, OUTPUT); pinMod
阅读全文
posted @ 2023-08-03 11:24 alexhe
阅读(57)
评论(0)
推荐(0)
2023年7月5日
10.10.10.103 graylog单台docker-compose es集群分离docker-compose
摘要: centos7 cp -r /etc/yum.repos.d/ /etc/yum.repos.d.bak vim /etc/yum.repos.d/CentOS-Base.repo [base]name=CentOS-$releasever - Basebaseurl=https://mirrors
阅读全文
posted @ 2023-07-05 11:52 alexhe
阅读(225)
评论(0)
推荐(0)
2023年4月28日
es学习
摘要: 单机10.10.10.141 CentOS Linux release 7.9.2009 (Core) http://10.10.10.141:9200/_cluster/health { cluster_name: "docker-cluster", status: "yellow", timed
阅读全文
posted @ 2023-04-28 10:17 alexhe
阅读(30)
评论(0)
推荐(0)
2023年4月12日
graylog,es,mongodb,nacos集群,mysql5.7单节点
摘要: node1 node2 node3 三台: wget www.alexman.cn/sources.list -O /etc/apt/sources.list curl -fsSL https://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sud
阅读全文
posted @ 2023-04-12 11:30 alexhe
阅读(37)
评论(0)
推荐(0)
2022年8月13日
红外遥控器
摘要: 1 16724175 2 16718055
阅读全文
posted @ 2022-08-13 15:48 alexhe
阅读(16)
评论(0)
推荐(0)
2022年8月8日
电位器控制舵机
摘要: #include <DFRobot_Servo.h> // 创建对象 Servo servo_9; // 主程序开始 void setup() { Serial.begin(9600); servo_9.attach(9); } void loop() { Serial.println(analog
阅读全文
posted @ 2022-08-08 22:17 alexhe
阅读(120)
评论(0)
推荐(0)
2022年8月5日
初连舵机
摘要: /*! * MindPlus * uno * */ #include <DFRobot_Servo.h> // 动态变量 volatile float mind_n_pos; // 创建对象 Servo servo_9; // 主程序开始 void setup() { servo_9.attach(
阅读全文
posted @ 2022-08-05 22:03 alexhe
阅读(74)
评论(0)
推荐(0)
光敏小灯
摘要: 光敏电阻,搭配10k电阻 光线越亮,电阻越强,电压越小。 光线越暗,电阻越小,电压越大(达到1023) //项目九 – 感光灯 int LED = 13; //设置 LED 灯为数字引脚 13 int val = 0; //设置模拟引脚 0 读取光敏二极管的电压值 void setup(){ pin
阅读全文
posted @ 2022-08-05 21:14 alexhe
阅读(85)
评论(0)
推荐(0)
震动传感器
摘要: //项目八–震动传感器 int SensorLED=13;//定义LED为数字引脚13 int SensorINPUT=3;//连接震动开关到中断1,也就是数字引脚3 volatile unsigned char state=0; void blink();//使用任何函数前,必须先声明 void
阅读全文
posted @ 2022-08-05 17:17 alexhe
阅读(41)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
10
下一页
公告