亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁(yè)| 資源下載| 資源專輯| 精品軟件
登錄| 注冊(cè)

while循環(huán)(huán)

  • 高清電子書-C++ Primer Plus 第6版英文版 1438頁(yè)

    高清電子書-C++ Primer Plus, 第6版英文版 1438頁(yè)Learning C++ is an adventure of discovery, particularly because the language accommodates several programming paradigms, including object-oriented programming, generic programming, and the traditional procedural programming.The fifth edition of this book described the language as set forth in the ISO C++ standards, informally known as C++99 and C++03, or, sometimes as C++99/03. (The 2003 version was largely a technical correction to the 1999 standard and didn’t add any new features.) Since then, C++ continues to evolve.As this book is written, the international C++ Standards Committee has just approved a new version of the standard.This standard had the informal name of C++0x while in development, and now it will be known as C++11. Most contemporary compilers support C++99/03 quite well, and most of the examples in this book comply with that standard. But many features of the new standard already have appeared in some implementations, and this edition of C++ Primer Plus explores these new features. C++ Primer Plus discusses the basic C language and presents C++ features, making this book self-contained. It presents C++ fundamentals and illustrates them with short, to-the-point programs that are easy to copy and experiment with.You learn about input/output (I/O), how to make programs perform repetitive tasks and make choices, the many ways to handle data, and how to use functions.You learn about the many features C++ has added to C, including the followi

    標(biāo)簽: C++

    上傳時(shí)間: 2022-02-19

    上傳用戶:trh505

  • 臺(tái)達(dá)PLC編程軟件技術(shù)手冊(cè)

    臺(tái)達(dá)的資料,給用的著的同學(xué)們。早期當(dāng)各家 PLC 開發(fā)商紛紛建立自己的編程語(yǔ)言時(shí),其各自不同的編程方式,對(duì)于用戶而言無疑是一個(gè)相當(dāng)大的負(fù)擔(dān);有鑒于此,由國(guó)際組織 I.E.C.(International Electro-technical Commission)所制定與推動(dòng)的 IEC 61131-3 標(biāo)準(zhǔn)便由此應(yīng)運(yùn)而生。其主要的特色在于統(tǒng)整各家的編程特點(diǎn),并考慮用戶的背景與習(xí)慣,而規(guī)范了一個(gè)可讓各家廠商與用戶共同依循的標(biāo)準(zhǔn),并可讓符合 IEC61131-3 標(biāo)準(zhǔn)的程序代碼具備相當(dāng)高的可讀性與兼容性。以下是關(guān)于 IEC 61131-3 的簡(jiǎn)述。

    標(biāo)簽: plc

    上傳時(shí)間: 2022-02-21

    上傳用戶:

  • 跳不出的while 循環(huán)

    該問題由某客戶提出,發(fā)生在 STM32F103VBT6 器件上。據(jù)其工程師講述:在為 STM32 調(diào)試軟件過程中,遇到了一個(gè)怪現(xiàn)象:有如表(一)所示的一段程序中,KeyIn 是一個(gè)全局變量。當(dāng)有按鍵按下時(shí),鍵盤的中斷服務(wù)程序會(huì)將對(duì)應(yīng)的鍵值放入其中,當(dāng)按鍵釋放后,鍵盤中斷服務(wù)程序則把 RESET 值放入該變量。行(1)的條件語(yǔ)句在主程序中,檢測(cè)有無按鍵按下,并處理。行(2)則是等待按鍵釋放。調(diào)試時(shí),在行(1)和行(2)處各設(shè)置一個(gè)斷點(diǎn),然后全速運(yùn)行程序。當(dāng)程序停在行(1)時(shí)按下按鍵,繼續(xù)全速運(yùn)行程序。當(dāng)程序

    標(biāo)簽: while循環(huán)

    上傳時(shí)間: 2022-02-21

    上傳用戶:

  • 如何用STVP 命令行模式對(duì)STM8進(jìn)行批量燒寫

    本文說明一種使用STVP_CmdLine 對(duì)STM8X 系列產(chǎn)品進(jìn)行燒寫的方法,著重介紹如何通過STVP_CmdLine 及ST-LINK進(jìn)行多個(gè)芯片的循序燒寫,幫助各戶在生產(chǎn)線構(gòu)建批量燒寫的方案

    標(biāo)簽: stm8

    上傳時(shí)間: 2022-03-06

    上傳用戶:

  • 電子書- 十天學(xué)會(huì)單片機(jī)實(shí)例100.pdf

    電子書-十天學(xué)會(huì)單片機(jī)實(shí)例100.pdf//實(shí)例 4:用單片機(jī)控制一個(gè)燈閃爍:認(rèn)識(shí)單片機(jī)的工作頻率 #include<reg51.h> //包含單片機(jī)寄存器的頭文件 /**************************************** 函數(shù)功能:延時(shí)一段時(shí)間 *****************************************/ void delay(void) //兩個(gè) void 意思分別為無需返回值,沒有參數(shù)傳遞 { unsigned int i; //定義無符號(hào)整數(shù),最大取值范圍 65535 for(i=0;i<20000;i++) //做 20000 次空循環(huán) ; //什么也不做,等待一個(gè)機(jī)器周期 } /******************************************************* 函數(shù)功能:主函數(shù) (C 語(yǔ)言規(guī)定必須有也只能有 1 個(gè)主函數(shù)) ********************************************************/ void main(void) { while(1) //無限循環(huán) { P1=0xfe; //P1=1111 1110B, P1.0 輸出低電平 delay(); //延時(shí)一段時(shí)間 P1=0xff; //P1=1111 1111B, P1.0 輸出高電平 www.91

    標(biāo)簽: 單片機(jī)

    上傳時(shí)間: 2022-03-19

    上傳用戶:kingwide

  • 電子書-RTL Design Style Guide for Verilog HDL540頁(yè)

    電子書-RTL Design Style Guide for Verilog HDL540頁(yè)A FF having a fixed input value is generated from the description in the upper portion of Example 2-21. In this case, ’0’ is output when the reset signal is asynchronously input, and ’1’ is output when the START signal rises. Therefore, the FF data input is fixed at the power supply, since the typical value ’1’ is output following the rise of the START signal. When FF input values are fixed, the fixed inputs become untestable and the fault detection rate drops. When implementing a scan design and converting to a scan FF, the scan may not be executed properl not be executed properly, so such descriptions , so such descriptions are not are not recommended. recommended.[1] As in the lower part of Example 2-21, be sure to construct a synchronous type of circuit and ensure that the clock signal is input to the clock pin of the FF. Other than the sample shown in Example 2-21, there are situations where for certain control signals, those that had been switched due to the conditions of an external input will no longer need to be switched, leaving only a FF. If logic exists in a lower level and a fixed value is input from an upper level, the input value of the FF may also end up being fixed as the result of optimization with logic synthesis tools. In a situation like this, while perhaps difficult to completely eliminate, the problem should be avoided as much as possible.

    標(biāo)簽: RTL verilog hdl

    上傳時(shí)間: 2022-03-21

    上傳用戶:canderile

  • 電動(dòng)汽車直流充電樁的硬件系統(tǒng)設(shè)計(jì)

    在全球氣候變暖和石油資源短缺的形勢(shì)下,推動(dòng)新能源汽車的發(fā)展將成為汽車行業(yè)一種新的發(fā)展方向。在大力發(fā)展新能源電動(dòng)汽車行業(yè)的同時(shí)還應(yīng)兼顧電動(dòng)汽車充電設(shè)施的發(fā)展,因此對(duì)電動(dòng)汽車充電樁的設(shè)計(jì)與研究顯得十分必要。對(duì)電動(dòng)汽車直流充電樁的硬件系統(tǒng)進(jìn)行設(shè)計(jì),主要的硬件電路包括安全監(jiān)測(cè)電路、總壓采集電路、溫濕度檢測(cè)電路、語(yǔ)音電路。軟件包括主要流程圖和溫濕度檢測(cè)流程圖。Under the situation of global warming and shortage of petroleum resources,promoting the development of new energy vehicles will become a new development direction for the automotive industry.While vigorously developing the new energy electric vehicle industry,we should also take into account the development of electric vehicle charging facilities.Therefore,the design and research of electric vehicle charging piles is very necessary.The hardware system of the electric vehicle DC charging pile is designed.The main hardware circuits include safety monitoring circuit,total voltage collecting circuit,temperature and humidity detecting circuit,voice circuit and CAN communication.The software includes a main flow chart and a temperature and humidity detection flow chart.

    標(biāo)簽: 電動(dòng)汽車

    上傳時(shí)間: 2022-04-03

    上傳用戶:jason_vip1

  • STM32硬件SPI驅(qū)動(dòng)TFTLCD Proteus仿真實(shí)現(xiàn)

            最近經(jīng)理通知要做項(xiàng)目了,讓我選型一個(gè)LCD開始試著做下。這是我用仿真實(shí)現(xiàn)的一個(gè)smt32的硬件SPI1來驅(qū)動(dòng)的ST7735R,難度挺小的,因?yàn)榇蟛糠值拇aLCD的廠商已經(jīng)給我們提供了,我們主要修改成硬件SPI來驅(qū)動(dòng)就好了。        此次仿真上面有2個(gè)問題,不知道是代碼的問題還是仿真圖上的問題。第一個(gè)問題是仿真運(yùn)行時(shí)有時(shí)會(huì)出通信數(shù)據(jù)傳輸問題,導(dǎo)致指令越界報(bào)警,這個(gè)可能是SPI不穩(wěn)定導(dǎo)致的;第二個(gè)問題是在改用SPI2或者SPI3來驅(qū)動(dòng)沒有任何反應(yīng),猜測(cè)是代碼時(shí)鐘沒開對(duì)或者仿真圖上面還要加上具體晶振。          代碼工程和仿真工程都已壓縮打包,可放心下載。。。先貼上仿真實(shí)現(xiàn)圖:    再貼上部分代碼:/**ST7735驅(qū)動(dòng)**/#include "ST7735.h"#include "usart.h" u16 BACK_COLOR, POINT_COLOR;   //背景色,畫筆色  void WriteCommand_7735(u8 CmdData)  //寫指令{SPI_LCD_CS_LOW; //片選SPI_LCD_COMMAND_W;//寫指令SPI_I2S_SendData(LCD_SPIx,CmdData);while (SPI_I2S_GetFlagStatus(LCD_SPIx, SPI_I2S_FLAG_TXE) == RESET){}SPI_LCD_CS_HIGH;} void WriteDate_7735(u8 Data)  //寫8位數(shù)據(jù){SPI_LCD_CS_LOW; //片選SPI_LCD_DATA_W;//寫數(shù)據(jù)SPI_I2S_SendData(LCD_SPIx,Data);while(SPI_I2S_GetFlagStatus(LCD_SPIx, SPI_I2S_FLAG_TXE) == RESET){}  SPI_LCD_CS_HIGH; } void WriteDate16(int data) //寫16位數(shù)據(jù){WriteDate_7735(data>>8);WriteDate_7735(data);} 字符限制了,貼不了多少,2積分即可下載。。。

    標(biāo)簽: stm32 硬件 spi 驅(qū)動(dòng) tft lcd proteus

    上傳時(shí)間: 2022-04-12

    上傳用戶:

  • S32K1xx Series Reference Manual 用戶手冊(cè)--2029頁(yè)

    S32K1xx Series Reference Manual 用戶手冊(cè)--2029頁(yè) Supports S32K116, S32K118, S32K142, S32K144, S32K146, and S32K148S32K是一款符合AEC-Q100規(guī)范、基于32位ARM Cortex-M4F和Cortex-M0+內(nèi)核的MCU,適用于通用汽車和高可靠性工業(yè)應(yīng)用。The S32K1xx product series further extends the highly scalable portfolio of Arm? Cortex?-M0+/M4F MCUs in the automotive industry. It builds on the legacy of the KEA series, while introducing higher memory options alongside a richer peripheral set extending capability into a variety of automotive applications. With a 2.70–5.5 V supply and focus on automotive environment robustness, the S32K product series devices are well suited to a wide range of applications in electrically harsh environments, and are optimized for cost-sensitive applications offering low pin-count options. The S32K product series offers a broad range of memory, peripherals, and package options. It shares common peripherals and pin counts, allowing developers to migrate easily within an MCU family or among the MCU families to take advantage of more memory or feature integration. This scalability allows developers to use the S32K product series as the standard for their end product platforms, maximizing hardware and software reuse and reducing time to market

    標(biāo)簽: S32K116 S32K118 S32K142 S32K144

    上傳時(shí)間: 2022-04-16

    上傳用戶:jason_vip1

  • 一種新的電磁閥節(jié)能驅(qū)動(dòng)電路

    隨著電磁閥在工業(yè)和日常應(yīng)用的增多,其功耗越來越被人們所重視。通過對(duì)電磁閥驅(qū)動(dòng)電路的研究,設(shè)計(jì)一套電磁閥節(jié)能驅(qū)動(dòng)電路。不僅提高了電磁閥的響應(yīng)時(shí)間,更重要的是降低了功耗,使電磁閥由工作在大電流狀態(tài)下,變成大電流啟動(dòng)小電流維持的工作狀態(tài)。減少了由電流過大引起的電磁閥線圈過熱,增加了電磁閥的安全性。The power consumption of an electromagnetic valve is drawing increasingly more attentiori as it is widely used in industrial production and daily life. In this study, an energy - saving driving circuit of electromagnetic valves was designed. It can make an electromagnetic valve to start with a high current while work with a low current; thereby the power consumption can be reduced. Besides, it can shorten the response time of an electromagnetic valve and improve the security of the valve.

    標(biāo)簽: 電磁閥 節(jié)能驅(qū)動(dòng)電路

    上傳時(shí)間: 2022-04-16

    上傳用戶:

主站蜘蛛池模板: 虞城县| 阿克苏市| 拜泉县| 阿拉善盟| 融水| 扎囊县| 北流市| 富裕县| 贺州市| 绥中县| 南华县| 新田县| 甘孜县| 阳谷县| 盐池县| 平和县| 察隅县| 嘉荫县| 库尔勒市| 长白| 安阳县| 永登县| 博白县| 南溪县| 友谊县| 庄浪县| 依安县| 石台县| 高青县| 恭城| 神农架林区| 东港市| 潞西市| 南郑县| 奎屯市| 思南县| 慈利县| 瑞安市| 额尔古纳市| 临桂县| 巴中市|