摘要: 1. two clocks need not synchronized. 2.bit/s need sychronized. 3.Low Jump is suchrony signal; 4.Receive: 16* bps. Record the value at every 8th.( whic 阅读全文
posted @ 2016-09-07 14:24 steven_xiu 阅读(1299) 评论(0) 推荐(0) 编辑
摘要: When I read codes of single chip, I find the following Timer Interrupt Function: static uint16 ms_count=0; static uchar _100us_count=0; These two vari 阅读全文
posted @ 2016-08-31 09:43 steven_xiu 阅读(227) 评论(0) 推荐(0) 编辑
摘要: ///////////////////////////////////////// Led lighten's current: set P1^0=0; connect Ampere Device in series with P1^0 and led1. Led is lightening. Cu 阅读全文
posted @ 2016-08-26 17:00 steven_xiu 阅读(180) 评论(0) 推荐(0) 编辑
摘要: platform: STC51 MCU Puzzle 1: codes set P1^0=0, while P1^0 connects in wire with a outer 5 voltage source. Question: What is P1^0's output? Experiment 阅读全文
posted @ 2016-08-26 16:05 steven_xiu 阅读(122) 评论(0) 推荐(0) 编辑
摘要: If we define a function in a .h file, compilating will succeed but every quoting cpp file will generate a part of .obj which realize this function. So 阅读全文
posted @ 2016-08-11 16:58 steven_xiu 阅读(122) 评论(0) 推荐(0) 编辑
摘要: http://blog.sina.com.cn/s/blog_68012d5201014i36.html http://zhidao.baidu.com/link?url=Gyed-o95k3TFiqkRDY1eHQUoGhk5A4krgSSc_78hsA63OXSdPNYvo2l8_2PAMChR 阅读全文
posted @ 2016-08-11 16:40 steven_xiu 阅读(142) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h>#include<iostream>using namespace std;int main(){ char a; a=1; char b; b=2; char c; char d; a=45; b=135; c=b-a; //work as int cout<<c 阅读全文
posted @ 2016-08-11 09:32 steven_xiu 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1.int a; (&a) can be used just like a pointer, with no doubt. 2.int a; cout<<(&a)<<endl; Programme Run first,output: 0028FDF0; Programme Run Second,ou 阅读全文
posted @ 2016-08-10 11:54 steven_xiu 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-07-15 17:22 steven_xiu 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-07-14 21:38 steven_xiu 阅读(145) 评论(0) 推荐(0) 编辑