简介 STM32的串口带有DE功能引脚,可以用于硬件控制RS485收发器,以STM32L071RBT6相关的文档为基准作记录。 功能描述 具体介绍可以在官方参考手册的USART章节,USART functional description小节的RS485 Driver Enable部分查看。 整个配 ...
分类:
其他好文 时间:
2020-07-14 18:07:53
阅读次数:
94
最近在处理关于linux的新建用户及权限相关的事情,对linux的用户及权限相关的做个小结 文件的说明 登入linux系统,输入命令ll,你会看到文件的显示格式会类似如下: -rw-r--r-- 1 root root 613 Nov 29 2019 text.txt drwxr-xr-x 3 de ...
分类:
系统相关 时间:
2020-07-14 16:29:47
阅读次数:
69
使用shiro之前肯定要导入相关的依赖 <!-- shiro--> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-spring</artifactId> <version>1.5.3</version> </de ...
分类:
其他好文 时间:
2020-07-14 13:13:23
阅读次数:
249
1. 首先 2.自己写一个函数:也就是我们常说的DIY 不是所有的功能前辈们都帮我们写好的,当我们遇到一些没有直接可用的函数时,我们就需要自己设计函数了,以便实现想要的功能 首先看看定义函数的语法: 以y = 3x + 5 为例子,来定义一个一次函数 一行一行来看: 第1行:def的意思是定义(de ...
分类:
其他好文 时间:
2020-07-13 14:08:41
阅读次数:
77
#网址:https://echarts.apache.org/examples/zh/index.html#网址:https://www.cnblogs.com/hustcser/p/8831176.html 和 https://blog.csdn.net/u012535605/article/de ...
分类:
其他好文 时间:
2020-07-13 14:06:57
阅读次数:
119
差了三天的题了,得赶紧补上 1 num,inx = input().split("E") 2 out = "" if num[0] == "+" else "-" #输出的正负号 3 a,de = num[1:].split(".") 4 num0 = a+de 5 num_ling = int(i ...
分类:
其他好文 时间:
2020-07-13 11:22:12
阅读次数:
66
用途 getopt_long()用于解析类似于 --version --config configfile 这样的长选项。 如何使用 1、定义struct option数组 struct option { cosnt char* name; //长选项的名称。 比如 ./xx --config de ...
分类:
其他好文 时间:
2020-07-13 09:43:18
阅读次数:
80
color 设置文本颜色 color:#00C; text-align 设置元素水平对齐方式 text-align:right; text-indent 设置首行文本的缩进 text-indent:20px; line-height 设置文本的行高 line-height:25px; text-de ...
分类:
其他好文 时间:
2020-07-12 22:22:59
阅读次数:
59
一、创建模版 二、代码实现 from django.shortcuts import render from django.template import loader from django.http import HttpResponse # Create your views here. de ...
分类:
其他好文 时间:
2020-07-10 09:51:42
阅读次数:
63
前言 两年时间使用了三款ADC:AD9653,AD9266,AD3442,在此记录下坑及使用经验。 参考文档 xapp524-serial-lvds-adc-interface.pdf 所需用到的原语:IDDR、ISERDESE2等 1.AD9653:ADI公司的采样率高达125M,16bit AD ...
分类:
其他好文 时间:
2020-07-08 15:28:52
阅读次数:
179