基于事件驅(qū)動(dòng)的串口通訊控件 消息幀數(shù)據(jù)格式: 1 0 A B X X 其中 10 為消息標(biāo)識, AB表示文本長度,L=A*100+B XX為配位字符,任意 控制幀數(shù)據(jù)格式 0 1 A B M N 其中 01為控制標(biāo)識, AB為請求標(biāo)識 MN為附加標(biāo)識 11表示請求對方接收文件,M表示描述字串中文件名子串的長度 N表示描述字串中文件大小子串的長度 10通知對方放棄傳輸 00通知文件傳輸完畢 01請求對方發(fā)送數(shù)據(jù), MN為10請求發(fā)送下一個(gè) MN為00請求重發(fā) 數(shù)據(jù)幀數(shù)據(jù)格式 0 0 A B M N 其中 00 為數(shù)據(jù)標(biāo)識, AB表示數(shù)據(jù)長度,L=A*100+B MN為校驗(yàn),M*100+N=A+B
標(biāo)簽: 100 幀 數(shù)據(jù)格式 10
上傳時(shí)間: 2015-10-06
上傳用戶:拔絲土豆
PWM控制電機(jī),用PWM控制電機(jī),熟悉定時(shí)器Timer A/B的編程方法。用Timer A作為脈寬調(diào)制信號產(chǎn)生的定時(shí)器.了一個(gè)函數(shù)F_Pwm(int a,int b) 用于PWM設(shè)置,傳入兩個(gè)參數(shù)第一個(gè)用于頻率設(shè)置,第二個(gè)用于占空比設(shè)置。
上傳時(shí)間: 2015-10-10
上傳用戶:athjac
考察例1 4 - 8中的1 4個(gè)點(diǎn)。A中的最近點(diǎn)對為(b,h),其距離約為0 . 3 1 6。B中最近點(diǎn)對為 (f, j),其距離為0 . 3,因此= 0 . 3。當(dāng)考察 是否存在第三類點(diǎn)時(shí),除d, g, i, l, m 以外 的點(diǎn)均被淘汰,因?yàn)樗鼈兙喾指罹€x= 1的 距離≥ 。RA ={d, i, m},RB= {g, l},由 于d 和m 的比較區(qū)中沒有點(diǎn),只需考察i 即可。i 的比較區(qū)中僅含點(diǎn)l。計(jì)算i 和l 的距離,發(fā)現(xiàn)它小于,因此(i, l) 是最近
標(biāo)簽:
上傳時(shí)間: 2013-12-03
上傳用戶:66666
交通燈控制,在A和B方向各用數(shù)碼管顯示剩余的時(shí)間.
標(biāo)簽: 交通燈控制 方向 數(shù)碼管顯示
上傳時(shí)間: 2013-12-06
上傳用戶:jkhjkh1982
直線加法的實(shí)驗(yàn)報(bào)告 實(shí)現(xiàn)任意二位加法 (a+b)-(c+d)
標(biāo)簽: 加法 直線 實(shí)驗(yàn)報(bào)告
上傳時(shí)間: 2013-12-27
上傳用戶:gxf2016
Romberg求定積分 輸入:積分區(qū)間[a,b],被積函數(shù)f(x,y,z) 輸出:積分結(jié)果
上傳時(shí)間: 2015-10-14
上傳用戶:妄想演繹師
追趕法解周期性方程 輸入:a[],b[],c[],x[] 輸出:求解結(jié)果X在x[]中
上傳時(shí)間: 2015-10-14
上傳用戶:thuyenvinh
用遞規(guī)子程序的方法實(shí)現(xiàn)HANOI塔問題.子程序模塊個(gè)數(shù)不限. 要求: 盤子個(gè)數(shù)可以輸入,第一個(gè)塔為A,第二個(gè)塔為B,第三個(gè)塔 的名稱為C.打印出移動(dòng)過程.
上傳時(shí)間: 2013-12-17
上傳用戶:Yukiseop
Verilog HDL: Magnitude For a vector (a,b), the magnitude representation is the following: A common approach to implementing these arithmetic functions is to use the Coordinate Rotation Digital Computer (CORDIC) algorithm. The CORDIC algorithm calculates the trigonometric functions of sine, cosine, magnitude, and phase using an iterative process. It is made up of a series of micro-rotations of the vector by a set of predetermined constants, which are powers of two. Using binary arithmetic, this algorithm essentially replaces multipliers with shift and add operations. In a Stratix™ device, it is possible to calculate some of these arithmetic functions directly, without having to implement the CORDIC algorithm.
標(biāo)簽: representation Magnitude the magnitude
上傳時(shí)間: 2013-12-24
上傳用戶:金宜
1.大型稀疏線性方程組的求解 A*X=b 。 2. 一維數(shù)組冒泡法排序算法 4.矩陣求逆 5. 改進(jìn)的牛頓算法——弦割法
上傳時(shí)間: 2015-10-29
上傳用戶:asddsd
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1