/*系統時鐘采用 Fosc=7.373 定時器方式1的定時時間 Time=(65536-THTL)*2/Fosc,默認5ms 定時器1工作在16位,用作系統時鐘 定時器0工作在16位,作為定時開始采樣用,定時范圍為0.1ms(0xfe8f)-15ms(0x27fe),默認為1ms=0xf19a,可以通過設置命令改變 串行口波特率由內部產生,11.059MHz->BRGR1:0=0x0050=115200Bps,0x00b0=57600Bps 7.373MHz->BRGR1:0=0x0030=115200Bps,0x0070=57600Bps
上傳時間: 2015-12-25
上傳用戶:問題問題
用8052寫的一個LED大屏幕顯示程序,可以通過串行口發送字符在屏上顯示
上傳時間: 2015-12-28
上傳用戶:cccole0605
單片機C語言學習好資料 前言 2 基礎知識:單片機編程基礎 2 第一節:單數碼管按鍵顯示 4 第二節:雙數碼管可調秒表 6 第三節:十字路口交通燈 6 第四節:數碼管驅動 7 第五節:鍵盤驅動 8 第六節:低頻頻率計 14 第七節:電子表 17 第八節:串行口應用 17
上傳時間: 2014-01-18
上傳用戶:gdgzhym
c8051f02x系列單片機的的說明文檔,該單片機有64個I/O口,適合于需要多個I/O口的開發應用
上傳時間: 2016-01-10
上傳用戶:410805624
c8051f04x系列單片機的的說明文檔,該單片機有64個I/O口,適合于需要多個I/O口的開發應用
上傳時間: 2016-01-10
上傳用戶:zhouchang199
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
標簽: represented integers group items
上傳時間: 2016-01-17
上傳用戶:jeffery
南京沁恒電子的U盤文件讀寫模塊的實例程序,里面包含串并口的中斷和查詢,希望能對大家有用
上傳時間: 2016-01-18
上傳用戶:lifangyuan12
南京沁恒電子的u盤文件讀寫模塊實例程序,里面包含串并口中斷和查詢方式希望對大家有用
上傳時間: 2016-01-18
上傳用戶:LIKE
The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).
標簽: converts Toolbox complex logical
上傳時間: 2016-02-12
上傳用戶:a673761058
基于博創ARM3000的平臺上的幾個開發程序。 包含程序math.c以及其他的一些庫文件。整個文件完整,可進行編譯下載。 開發軟件是SDT: 2、串行口實驗
上傳時間: 2014-12-04
上傳用戶:eclipse