STM32的串口是相当丰富的,功能也很强劲。最多可提供5路串口(MiniSTM32使用的是STM32F103RBT6,具有3个串口),有分数波特率发生器、支持单线光通信和半双工单线通讯、支持LIN、智能卡协议和IrDASIR ENDEC规范(仅串口3支持)、具有DMA等。
串口最基本的设置,就是波特率的设置。STM32的串口使用起来还是蛮简单的,只要你开启了串口时钟,并设置相应IO口的模式,...
分类:
其他好文 时间:
2015-08-17 15:42:57
阅读次数:
160
每个家族都有一个最基本且最常用的数据类型:比如List系列的ArrayList,Map系列的HashMap,并且,它们的本质都是数组存储结构。相似的是,每个家族都有一个Linked开头的类,如List家族的LinkedList和Map家族的Lin...
分类:
编程语言 时间:
2015-08-16 23:33:42
阅读次数:
387
Bootstrap table: http://bootstrap-table.wenzhixin.net.cn/zh-cn/getting-started/1. 控制器代码:using System;using System.Collections.Generic;using System.Lin...
分类:
Web程序 时间:
2015-08-16 14:58:37
阅读次数:
346
当你在用explain工具查看sql语句的执行计划时,若select_type 字段中出现“DEPENDENT SUBQUERY”时,你要注意了,你已经掉入了mysql子查询慢的“坑"。相关书籍:高性能MySQL(第3版) 中文PDF带目录清晰版http://www.linuxidc.com/Lin...
分类:
数据库 时间:
2015-08-13 14:20:40
阅读次数:
228
谷歌浏览器中1 按ctrl shift I或者F12,出现调试界面2 针对大部分图片resources-frames-images--双击下载即可3 针对缺少的图片点击左边搜索图标,在页面上点击自己想要下载的图片(包括背景图片),然后在右边style边框,选取想要下载的东东,右击 -open lin...
分类:
Web程序 时间:
2015-08-13 14:02:44
阅读次数:
186
Export aborted because fatal Lin error were founds. These are listed in the
problems view. Either fix these before running Export Again, or turn off "Run
full error check when exporting app" in the An...
分类:
其他好文 时间:
2015-08-11 14:17:35
阅读次数:
156
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.
Supposed the linked list is 1 -> 2 -> 3 -> 4 and you are given the third node
with val...
分类:
其他好文 时间:
2015-08-09 09:33:13
阅读次数:
152
轉載自:http://kb.cnblogs.com/page/73901/流程 当资源第一次被访问的时候,HTTP头部如下(Request-Line) GET /a.html HTTP/1.1Host 127.0.0.1User-Agent Mozilla/5.0 (X11; U; Lin...
分类:
Web程序 时间:
2015-08-07 09:22:04
阅读次数:
148
CMake是一个跨平台的程序构建工具,比如起自己编写Makefile方便很多。介绍:http://baike.baidu.com/view/1126160.htm本文件不介绍CMake的基本语法,下面是篇不错的入门教程:http://www.ibm.com/developerworks/cn/lin...
分类:
其他好文 时间:
2015-08-05 06:36:10
阅读次数:
231
leetcode原文引用:
How would you print just the 10th line of a file?
For example, assume that file.txt has the following content:
Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
Line 7
Line 8
Line 9
Lin...
分类:
数据库 时间:
2015-08-05 01:10:15
阅读次数:
163