RS232
RS232是一种异步传输标准接口。通常 RS-232 接口以9个引脚 (DB-9) 或是25个引脚 (DB-25) 的型态出现 。RS232最常用的连接方式是三根线:一条发送线、一条接收线及一条地线。
电平信号:逻辑1(MARK)=-3V~-15V,逻辑0(SPACE)=+3~+15V
传输距离:RS-232-C标准规定,驱动器允许有2500pF的电容负载,通信距离将受此电容...
分类:
其他好文 时间:
2014-08-21 11:32:24
阅读次数:
130
1.ASCII 返回与指定的字符对应的十进制数; SQL> select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space from dual; A A ZERO SPACE --------- --------- ----...
分类:
数据库 时间:
2014-08-21 11:17:53
阅读次数:
242
root@db:/#lsdev -Cc disk--查看磁盘设备信息 -C customized -c classhdisk0 Available 00-08-00 SAS Disk Drivehdisk1 Available 00-08-00 SAS Disk Drivehdisk2 Avail....
分类:
其他好文 时间:
2014-08-20 22:40:03
阅读次数:
464
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:
其他好文 时间:
2014-08-20 22:28:12
阅读次数:
244
UVA 1556 - Disk Tree
题目链接
题意:给定一些字符串,表示目录,要求输出整体目录的结构
思路:跟Trie树差不多,只不过是每个结点存放的是一个字符串,利用map映射即可
代码:
#include
#include
#include
#include
#include
#include
#include
using namespace ...
分类:
其他好文 时间:
2014-08-20 16:27:22
阅读次数:
167
Sort a linked list inO(nlogn) time using constant space complexity.1st ( 7 tries)/** * Definition for singly-linked list. * struct ListNode { * in...
分类:
其他好文 时间:
2014-08-20 14:03:02
阅读次数:
198
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
分类:
其他好文 时间:
2014-08-20 13:52:32
阅读次数:
142
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:
其他好文 时间:
2014-08-19 23:42:35
阅读次数:
227
Segments
Time Limit: 1000MS Memory Limit: 65536K
Total Submissions: 9564 Accepted: 2943
Description
Given n segments in the two dimensional space, write a program, which determines if ther...
分类:
其他好文 时间:
2014-08-19 19:12:15
阅读次数:
249
Android NAND: nand_dev_load_disk_state,总是提示上面这个错误,我以为是内存分配不足呢,但是内存足够用也不行,后来在国外的网站上看到这个问题的解答,说是把用到的AVD删除掉,在重新建一个就可以了我操作了一下,还真解决了问题,下面就是人家的原文,不过我还没有明白是什...
分类:
移动开发 时间:
2014-08-19 18:07:05
阅读次数:
221