实验目的:通过上位机给串口发送数据(字符);STM32将数据原封不动返回上位机,并且根据收到的信息产出相应的中断进行操作.(1-red led 2 –bule led...);源码bsp_usart.c#include "bsp_usart.h"static void NVIC_Configurat... ...
分类:
其他好文 时间:
2018-04-30 14:41:58
阅读次数:
627
断言 断言是编程术语,表示为一些布尔表达式,程序员相信在程序中的某个特定点该表达式值为真. 在python中使用assert关键字,后面是一个表达式,当表达式值为真时会继续执行,否则抛出AssertionError 异常 异常就是程序运行时(逻辑错误)发生错误的信号,错误范围两种-语法错误和逻辑错误 ...
分类:
其他好文 时间:
2018-04-30 13:33:53
阅读次数:
206
第一种情况:两个div,嵌套关系,也就是父子关系,没有任何的内容各自的css样式如下:实现的效果,如下:第二种情况:如果此时给父级元素加点内容,如图所示各自的css的样式不变,最后的效果如图所示:总结:所以在使用margin-top时我们需要多注意一下的
分类:
其他好文 时间:
2018-04-30 13:22:30
阅读次数:
119
Architecture Capability – At a GlanceArchitectural coherence part1Architectural coherence part2SA and EAValueCreating Business ValueTwo ways to develo... ...
分类:
其他好文 时间:
2018-04-30 11:48:21
阅读次数:
507
决策树的主流算法有很多种,接触一种记录一种。 一、CART:二叉树,一个节点一般分出左右两个孩子。通过Gini index决定最优分割。如果我们想对某一Node进行分割,先测量分割前node 的基尼系数,再测量按照某一准则(如I{X<=c})分割后左右两字数的基尼系数之和,两者相减则为不纯程度(Im ...
分类:
其他好文 时间:
2018-04-30 11:42:03
阅读次数:
136
原文链接:https://www.codemore.top/cates/Backend/post/2018-04-21/spring-mvc-handler-methods 由注解@RequestMapping注解修饰的处理请求的函数的签名非常的灵活,可以使用controller函数支持的一系列参数 ...
分类:
编程语言 时间:
2018-04-29 22:14:44
阅读次数:
180
题目描述: Given scores of N athletes, find their relative ranks and the people with the top three highest scores, who will be awarded medals: "Gold Medal" ...
分类:
其他好文 时间:
2018-04-29 22:10:51
阅读次数:
200
客户报告,当他从 Oracle 11.1.0.7 ,迁移到云环境,并且升级到12.1.0.2。运行客户的应用程序测试,发现比以前更慢了。从AWR report 的"Top 10 Foreground Events by Total Wait Time"和"Wait Classes by Total ...
分类:
数据库 时间:
2018-04-29 21:12:16
阅读次数:
599
Does the equivalent to t[k] = v, where t is the value at the given index, v is the value at the top of the stack, and k is the value just below the to ...
分类:
其他好文 时间:
2018-04-29 20:35:10
阅读次数:
164
标签分类1)单标签{dede:标签名属性="值"..../}{dede:includefilename="head.htm"/}2)双标签{dede:标签名属性="值"....}.....{/dede:标签名}{dede:channeltype="top"row="8"}...{/dede:chan
分类:
其他好文 时间:
2018-04-29 16:58:03
阅读次数:
145