While it's powerful enough to have Machine.transition, it can get tedious constantly passing it a state and an event. It would be nice if we had a fun ...
分类:
系统相关 时间:
2020-01-19 00:28:13
阅读次数:
89
problem: 如果想用计时器定时微秒级,不要使能自动重载:代码如下: static uint16_t counter; void Delay_us(uint32_t us){ counter=0xffff-us-5; __HAL_TIM_SetCounter(&htim14,counter); ...
分类:
其他好文 时间:
2020-01-18 19:18:56
阅读次数:
140
selenium.获取浏览器大小、设置浏览器位置、最大化浏览器 get_window_size() 获取浏览器大小 # 将窗口大小实例化 size_Dict = driver.get_window_size() # 打印浏览器的宽和高 print("当前浏览器的宽:", size_Dict['wid ...
分类:
编程语言 时间:
2020-01-18 10:34:57
阅读次数:
126
分析视频流 stream[0] duration = 2019840 // 视频的时长时间戳,计算秒 2019840/12800 index = 0 // 流索引,这是一个视频流 nb_frames // 视频的总帧数 avg_frame_rate // 视频的帧数, num/den就是帧数 tim ...
分类:
其他好文 时间:
2020-01-18 10:20:36
阅读次数:
92
一、器件 32单片机:STM32F407ZG FPGA :EP4CE6E22C8N 二、通信方式 STM32作为主机(软件); FPGA作为从机; SPI通信方式为0; 三、STM32源代码 1 #include "delay.h" 2 #include "stm32f4xx.h" 3 4 #ifn ...
分类:
其他好文 时间:
2020-01-18 01:23:16
阅读次数:
129
.animated { animation-duration: 2s; /*动画时间*/ animation-fill-mode: both; /*播放后的状态*/ } .animated { animation-iteration-count: infinite; /*动作循环的次数:infini ...
分类:
其他好文 时间:
2020-01-17 23:09:27
阅读次数:
108
In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the ...
分类:
其他好文 时间:
2020-01-17 21:13:06
阅读次数:
93
In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the ...
分类:
其他好文 时间:
2020-01-17 20:50:35
阅读次数:
68
仿造携程官网 题外话:刚开始学前端的时候,有一天看到携程官网.就希望有一天能模拟搭出来.自己拖拖拉拉的一直没整, 但是但是麻麻我终于完成了!!(曾经亲爱的同事把传送门删掉了不感谢他了 fk) 感谢叶师兄拯救了我携程携程 源码仿携程源码 目录结构 基于vue+less进行开发,配合强行在携程复制的数据 ...
分类:
其他好文 时间:
2020-01-17 19:14:29
阅读次数:
109