串口調(diào)試軟件SSCOM可供免費(fèi)使用,免費(fèi)下載,本軟件可以在Win95/98、Win2000、WinNT、WinXP下面運(yùn)行.軟件功能主要為: 1.接收從串口進(jìn)來(lái)的數(shù)據(jù)并在窗口顯示. 2.所接收到的數(shù)據(jù)數(shù)據(jù)顯示方式可以選擇為字符方式或者HEX方式 4.中文顯示無(wú)亂碼,且不影響速度 5.串口波特率可以選擇為110bps-256000bps.(波特率>115200時(shí)需要硬件支持) 6.可以即時(shí)顯示存在的串口號(hào).如果您增加了usb轉(zhuǎn)串口等設(shè)備,串口號(hào)也會(huì)在列表中出現(xiàn). 7.可以選擇“5、6、7、8”四種數(shù)據(jù)長(zhǎng)度. 8.可以選擇為“1、1.5、2”三種停止位.(1.5停止位需要硬件支持) 8.第9位數(shù)據(jù)可以選擇為“無(wú)、奇校驗(yàn)、偶校驗(yàn)、1、0”四種方式. 9.可以選擇“無(wú)流控、軟流控、硬流控、自定義”四種流控方式. 10.串口設(shè)置和字符串操作等設(shè)置在程序關(guān)閉時(shí)自動(dòng)保存,打開時(shí)自動(dòng)載入. 11.可以在接收窗口按鍵即發(fā)送該鍵值. 12.可以在字符串輸入框輸入您想發(fā)送的字符串,并發(fā)送. 13.可以在字符串輸入框輸入您想發(fā)送的HEX數(shù)據(jù)串,數(shù)據(jù)的值從00到FF,沒(méi)有任何限制. 14.可以定時(shí)重復(fù)發(fā)送數(shù)據(jù),并可以設(shè)置發(fā)送時(shí)間間隔. 15.可以在發(fā)送字符串時(shí)選擇發(fā)送新行,即自動(dòng)加上回車換行. 16.可以顯示當(dāng)前串口的CTS、DSR、RLSL(CD)信號(hào)線的狀態(tài). 17.可以自由控制當(dāng)前串口的DTR、RTS信號(hào)線的輸出狀態(tài). 18.可以打開一個(gè)文本文件或者一個(gè)二進(jìn)制文件預(yù)覽其內(nèi)容,查看方式可以是文本或者HEX方式. 19.可以打開一個(gè)文本文件或者一個(gè)二進(jìn)制文件并以當(dāng)前波特率發(fā)送到串口. 20.可以保存窗口內(nèi)容到一個(gè)文本文件,文件名取自當(dāng)前時(shí)間,保存在當(dāng)前目錄. 21.可以即時(shí)顯示發(fā)送的字節(jié)數(shù)和接收到的字節(jié)數(shù),按清除窗口將會(huì)清零. 22.帶有功能強(qiáng)大的擴(kuò)展功能:多條字符串發(fā)送定義和網(wǎng)上查找串口資料等. 23.可以定義最多32條預(yù)備發(fā)送的字符串,每條字符串可以定義為HEX數(shù)據(jù)串或者字符串方式.在每一條數(shù)據(jù)的左邊打勾就表示這是一條hex數(shù)據(jù)串. 24.點(diǎn)擊字符串右邊的標(biāo)號(hào)即可以發(fā)送這條定義好的字符串. 25.可以設(shè)置為循環(huán)發(fā)送你定義過(guò)的多條字符串,并且可以設(shè)置發(fā)送時(shí)間間隔. 26.在串口資料欄您可以從mcu51網(wǎng)站或者Google查找有關(guān)串口技術(shù)資料. 27.在串口資料欄您可以進(jìn)入技術(shù)討論bbs,在此發(fā)表您的高見(jiàn)或者提出您的問(wèn)題和需求. 28.在產(chǎn)品信息欄您可以獲得現(xiàn)時(shí)最新的產(chǎn)品信息. 29.這是個(gè)綠色軟件,單個(gè)文件即可執(zhí)行,不會(huì)給您的機(jī)器增加任何負(fù)擔(dān). 此版本使用C++Builder編寫,相對(duì)于上一版本SSCOM2.0,主要改進(jìn)在: 1.程序更穩(wěn)定可靠,修改了一些報(bào)錯(cuò)信息.使用更加人性化。 2.修改了避免顯示漢字亂碼的算法,快了許多. 3.hex數(shù)據(jù)輸入的錯(cuò)誤兼容性. 4.發(fā)送字符串可以加發(fā)回車換行. 5.可以保存窗口內(nèi)容到文件. 6.發(fā)送和接收的字符數(shù)統(tǒng)計(jì)更準(zhǔn)確. 7.不再接收到一定數(shù)量字符數(shù)就清屏,因?yàn)榘l(fā)現(xiàn)即使收到很多內(nèi)容也不會(huì)溢出,速度仍然很快. 8,可以打開二進(jìn)制文件并發(fā)送,從前只能發(fā)文本文件. 9.打開文件后可以用asc方式或者h(yuǎn)ex方式預(yù)覽文件中前4K內(nèi)容. 10.發(fā)送文件前告訴操作者需要發(fā)送多少時(shí)間.免得久等. 11.新增功能強(qiáng)大的擴(kuò)展功能,多達(dá)32條自定義字符串操作,程序關(guān)閉時(shí)這些字符串會(huì)自動(dòng)保存,下次開機(jī)時(shí)再載入,每條可以定義為HEX數(shù)據(jù)串或者ASC字符串,按后邊的數(shù)字按鈕可以發(fā)送.也可以自動(dòng)循環(huán)發(fā)送定義過(guò)的字符串. 12.新增串口設(shè)置自動(dòng)保存. 13.加入了網(wǎng)絡(luò)支持功能,用戶很方便討論問(wèn)題和找到技術(shù)支持.
標(biāo)簽: SSCOMV 3.0 串口調(diào)試 軟件
上傳時(shí)間: 2013-10-26
上傳用戶:448949
#include<reg51.h>/*************************ds1302與at89s52引腳連接********************/sbit T_RST=P3^5; sbit T_CLK=P3^6; sbit T_IO=P3^7; sbit ACC0=ACC^0;sbit ACC7=ACC^7;unsigned char seg[]={0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09}; //0~~9段碼 /******************DS1302:寫入操作(上升沿)*********************/ void write_byte(unsigned char da){ unsigned char i; ACC=da; for(i=8;i>0;i--) { T_IO=ACC0; T_CLK=0; T_CLK=1; ACC=ACC>>1; }} /******************DS1302:讀取操作(下降沿)*****************/unsigned char read_byte(void){ unsigned char i; for(i=0;i<8;i++) { ACC=ACC>>1; T_CLK = 1; T_CLK = 0; ACC7 = T_IO; } return(ACC); } /******************DS1302:寫入數(shù)據(jù)(先送地址,再寫數(shù)據(jù))***************************/ void write_1302(unsigned char addr,unsigned char da){ T_RST=0; //停止工作 T_CLK=0; T_RST=1; //重新工作 write_byte(addr); //寫入地址 write_byte(da); T_RST=0; T_CLK=1;}
上傳時(shí)間: 2014-01-17
上傳用戶:sglccwk
16 16點(diǎn)陣顯示漢字原理及顯示程序 #include "config.h" #define DOTLED_LINE_PORT PORTB #define DOTLED_LINE_DDR DDRB #define DOTLED_LINE_PIN PINB #define DOTLED_LINE_SCKT PB1 #define DOTLED_LINE_SCKH PB5 #define DOTLED_LINE_SDA PB3 #define DOTLED_ROW_PORT PORTC #define DOTLED_ROW_DDR DDRC #define DOTLED_ROW_PIN PINC #define DOTLED_ROW_A0 PC0 #define DOTLED_ROW_A1 PC1 #define DOTLED_ROW_A2 PC2 #define DOTLED_ROW_A3 PC3 #define DOTLED_ROW_E PC4 uint8 font[] = { /*-- 調(diào)入了一幅圖像:這是您新建的圖像 --*/ /*-- 寬度x高度=16x16 --*/ 0x00,0x00,0x00,0x00,0x08,0x38,0x18,0x44,0x08,0x44,0x08,0x04,0x08,0x08,0x08,0x10, 0x08,0x20,0x08,0x40,0x08,0x40,0x08,0x40,0x3E,0x7C,0x00,0x00,0x00,0x00,0x00,0x00 }; static void TransmitByte(uint8 byte); static void SelectRow(uint8 row); static void FlipLatchLine(void); static void TransmitByte(uint8 byte) { uint8 i; for(i = 0 ; i < 8 ; i ++) { if(byte & (1 << i)) { DOTLED_LINE_PORT |= _BV(DOTLED_LINE_SDA); } else { DOTLED_LINE_PORT &= ~_BV(DOTLED_LINE_SDA); } //__delay_cycles(100); DOTLED_LINE_PORT |= _BV(DOTLED_LINE_SCKH); //__delay_cycles(100); DOTLED_LINE_PORT &= ~_BV(DOTLED_LINE_SCKH); //__delay_cycles(100); } } static void SelectRow(uint8 row) { //row -= 1; row |= DOTLED_ROW_PIN & 0xe0; DOTLED_ROW_PORT = row; } static void FlipLatchLine(void) { DOTLED_LINE_PORT |= _BV(DOTLED_LINE_SCKT); DOTLED_LINE_PORT &= ~_BV(DOTLED_LINE_SCKT); } void InitDotLedPort(void) { DOTLED_LINE_PORT &= ~(_BV(DOTLED_LINE_SCKT) | _BV(DOTLED_LINE_SCKH)); DOTLED_LINE_PORT |= _BV(DOTLED_LINE_SDA); DOTLED_LINE_DDR |= _BV(DOTLED_LINE_SCKT) | _BV(DOTLED_LINE_SCKH) | _BV(DOTLED_LINE_SDA); DOTLED_ROW_PORT |= 0x1f; DOTLED_ROW_PORT &= 0xf0; DOTLED_ROW_DDR |= 0x1f; } void EnableRow(boolean IsEnable) { if(IsEnable) { DOTLED_ROW_PORT &= ~_BV(DOTLED_ROW_E); } else { DOTLED_ROW_PORT |= _BV(DOTLED_ROW_E); } } void PrintDotLed(uint8 * buffer) { uint8 i , tmp; for(i = 0 ; i < 16 ; i ++) { tmp = *buffer ++; TransmitByte(~tmp); tmp = *buffer ++; TransmitByte(~tmp); SelectRow(i); FlipLatchLine(); } } void main(void) { InitDotLedPort(); EnableRow(TRUE); while(1) { PrintDotLed(font); __delay_cycles(5000); } } //---------------------------------------------------- config.h文件 #ifndef _CONFIG_H #define _CONFIG_H //#define GCCAVR #define CPU_CYCLES 7372800L #ifndef GCCAVR #define _BV(bit) (1 << (bit)) #endif #define MSB 0x80 #define LSB 0x01 #define FALSE 0 #define TRUE 1 typedef unsigned char uint8; typedef unsigned int uint16; typedef unsigned long uint32; typedef unsigned char boolean; #include <ioavr.h> #include <inavr.h> #include "dotled.h" #endif //-----
標(biāo)簽: 16 點(diǎn)陣顯示 漢字 顯示程序
上傳時(shí)間: 2013-11-18
上傳用戶:mnacyf
《西門子系列PLC原理及應(yīng)用》共有8章,第1章介紹了PLC的基本組成與工作原理;第2章介紹了西門子S7-200系列PLC的構(gòu)成、性能及其工作方式;第3章詳細(xì)地介紹了S7-200系列PLC專用編程軟件STEP 7-Micro/WIN的主要功能與使用方法;第4~5章,結(jié)合實(shí)例介紹S7-200系列PLC的基本命令與功能命令;第6章講述了S7-200系列PLC的網(wǎng)絡(luò)通信知識(shí)與命令;第7章講述了PLC控制系統(tǒng)的總體設(shè)計(jì)方法,并由淺入深地介紹了8個(gè)控制系統(tǒng)設(shè)計(jì)實(shí)例;第8章介紹了西門子S7-200系列PLC的安裝與維護(hù)。
上傳時(shí)間: 2013-12-31
上傳用戶:stampede
怎樣使用Nios II處理器來(lái)構(gòu)建多處理器系統(tǒng) Chapter 1. Creating Multiprocessor Nios II Systems Introduction to Nios II Multiprocessor Systems . . . . . . . . . . . . . . 1–1 Benefits of Hierarchical Multiprocessor Systems . . . . . . . . . . . . . . . 1–2 Nios II Multiprocessor Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2 Multiprocessor Tutorial Prerequisites . . . . . . . . . . . . . . . . . . . . . . . 1–3 Hardware Designs for Peripheral Sharing . . . . . . . . . . . .. . . . . . . . 1–3 Autonomous Multiprocessors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3 Multiprocessors that Share Peripherals . . . . . . . . . . . . . . . . . . . . . . 1–4 Sharing Peripherals in a Multiprocessor System . . . . . . . . . . . . . . . . . 1–4 Sharing Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–6 The Hardware Mutex Core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–7 Sharing Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . 1–8 Overlapping Address Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–8 Software Design Considerations for Multiple Processors . . .. . . . . 1–9 Program Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–9 Boot Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 1–13 Debugging Nios II Multiprocessor Designs . . . . . . . . . . . . . . . . 1–15 Design Example: The Dining Philosophers’ Problem . . . . .. . . 1–15 Hardware and Software Requirements . . . . . . . . . . . . . . . .. . . 1–16 Installation Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–17 Creating the Hardware System . . . . . . . . . . . . . . .. . . . . . 1–17 Getting Started with the multiprocessor_tutorial_start Design Example 1–17 Viewing a Philosopher System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–18 Philosopher System Pipeline Bridges . . . . . . . . . . . . . . . . . . . . . 1–19 Adding Philosopher Subsystems . . . . . . . . . . . . . . . . . . . . . . . . . . 1–21 Connecting the Philosopher Subsystems . . . . . . . . . . . . .. . . . . 1–22 Viewing the Complete System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–27 Generating and Compiling the System . . . . . . . . . . . . . . . . . .. 1–28
上傳時(shí)間: 2013-11-21
上傳用戶:lo25643
色環(huán)電阻識(shí)別小程序V1.0--功能說(shuō)明: 1、能直接根據(jù)色環(huán)電阻的顏色計(jì)算出電阻值和偏差; 2、能根據(jù)電阻值,反標(biāo)電阻顏色; 3、支持四環(huán)、五環(huán)電阻計(jì)算; 4、帶萬(wàn)用表直讀數(shù); 色環(huán)電阻識(shí)別小程序--使用說(shuō)明: 1、選擇電阻環(huán)數(shù);(四環(huán)電阻或五環(huán)電阻) 2、如果是“色環(huán)轉(zhuǎn)阻值”則:鼠標(biāo)點(diǎn)擊對(duì)應(yīng)環(huán)的顏色,然后點(diǎn)按鈕“色環(huán)→阻值” 3、如果是“阻值轉(zhuǎn)色環(huán)”則:輸入相應(yīng)阻值、單位、精度,點(diǎn)按鈕“阻值→色環(huán)” 國(guó)家標(biāo)稱電阻值說(shuō)明: ★E6±20%系列:1.0、1.5、2.2、3.3、4.7、6.8 E12±10%系列:1.0、1.2、1.5、1.8、2.2、2.7、3.3、3.9、4.7、5.6、6.8、8.2、9.1 E24 I級(jí)±5%:1.0、1.1、1.2、1.3、1.5、1.6、1.8、2.0、2.2、2.4、2.7、3.0、3.3、3.6、3.9、4.3、4.7、5.1、5.6、6.2、6.8、7.5、8.2、9.1 使用注意事項(xiàng): 1、請(qǐng)不要帶電和在路測(cè)試電阻,這樣操作既不安全也不能測(cè)出正確阻值; 2、請(qǐng)不要用手接觸到電阻引腳,因?yàn)槿梭w也有電阻,會(huì)使測(cè)試值產(chǎn)生誤差; 3、請(qǐng)正確選擇萬(wàn)用表的檔位(電阻檔)和量程(200、20K、2M量程)
標(biāo)簽: 最新電阻色環(huán)的 教程 識(shí)別
上傳時(shí)間: 2013-11-24
上傳用戶:tou15837271233
源代碼\用動(dòng)態(tài)規(guī)劃算法計(jì)算序列關(guān)系個(gè)數(shù) 用關(guān)系"<"和"="將3個(gè)數(shù)a,b,c依次序排列時(shí),有13種不同的序列關(guān)系: a=b=c,a=b<c,a<b=v,a<b<c,a<c<b a=c<b,b<a=c,b<a<c,b<c<a,b=c<a c<a=b,c<a<b,c<b<a 若要將n個(gè)數(shù)依序列,設(shè)計(jì)一個(gè)動(dòng)態(tài)規(guī)劃算法,計(jì)算出有多少種不同的序列關(guān)系, 要求算法只占用O(n),只耗時(shí)O(n*n).
標(biāo)簽: lt 源代碼 動(dòng)態(tài)規(guī)劃 序列
上傳時(shí)間: 2013-12-26
上傳用戶:siguazgb
一個(gè)簡(jiǎn)單的串口接收程序,波特率4800,奇偶校驗(yàn)無(wú),字節(jié)長(zhǎng)度8,停止位1,串口com1
上傳時(shí)間: 2013-12-25
上傳用戶:hzy5825468
實(shí)驗(yàn)板的AVR程序,矩陣4*4鍵盤鍵值顯示,驅(qū)動(dòng)蜂鳴器發(fā)出按鍵聲。 接線定義:SW1~8打開,SW2-1,2,3,4,打開,SW2-6為L(zhǎng)ED的電源,SW3-8為系統(tǒng)復(fù)位腳。 PA2(SW5-7)為蜂鳴器輸出端,PB(SW4-1~8)為鍵盤接入 記事:本程序旨在對(duì)矩陣鍵盤掃描的理解與演示,程序適合初學(xué)者使用。 使用器件:ATMEGA8535,可更換。 默認(rèn)片內(nèi)1MHz晶振 功能:初始LED顯示 - ,按下那個(gè)按鍵顯示按鍵的鍵值。使用的是4×4矩陣鍵盤。
標(biāo)簽: AVR 實(shí)驗(yàn)板 程序
上傳時(shí)間: 2016-01-23
上傳用戶:腳趾頭
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).
標(biāo)簽: converts Toolbox complex logical
上傳時(shí)間: 2016-02-12
上傳用戶:a673761058
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1