//顏色初始化 if(!has_colors() || start_color() == ERR){ endwin() printf("Terminal does not support color.\n") exit(1) } init_pair(1, COLOR_GREEN, COLOR_BLACK) init_pair(2, COLOR_RED, COLOR_BLACK) init_pair(3, COLOR_CYAN, COLOR_BLACK) init_pair(4, COLOR_WHITE, COLOR_BLACK) init_pair(5, COLOR_MAGENTA, COLOR_BLACK) init_pair(6, COLOR_BLUE, COLOR_BLACK) init_pair(7, COLOR_YELLOW, COLOR_BLACK) //寫(xiě)字符串 for(i = 1 i <= 7 i++) { attron(COLOR_PAIR(i)) printw("color pair d in normal mode\n", i) } for(i = 1 i <= 7 i++) { attron(COLOR_PAIR(i) | A_BLINK | A_UNDERLINE) printw("color pair d in normal mode\n", i) }
標(biāo)簽: start_color has_colors Terminal endwin
上傳時(shí)間: 2014-01-14
上傳用戶:vodssv
The objective is to set up SPI communication between VTI Technologies digital pressure sensor component and an MCU of an application device ATMEGA16L. In this code example: ?The MCU is configured ?SCP1000-D01 is initialized and configured ?The high resolution measurement mode is activated ?Temperature and pressure information is read always when the DRDY pin is in high state Please refer to the document "SCP1000 Product Family Specification 8260800" for further information on SCP1000 register addressing and SPI communication. This document applies to the SCP1000-D01.
標(biāo)簽: communication Technologies objective pressure
上傳時(shí)間: 2017-06-17
上傳用戶:youmo81
DES工作的基本原理是,其入口參數(shù)有三個(gè):key、data、mode。 key為加密解密使用的密鑰,data為加密解密的數(shù)據(jù),mode為其工作模式。當(dāng)模式為加密模式時(shí),明文按照64位進(jìn)行分組,形成明文組,key用于對(duì)數(shù)據(jù)加密,當(dāng)模式為解密模式時(shí),key用于對(duì)數(shù)據(jù)解密。實(shí)際運(yùn)用中,密鑰只用到了64位中的56位,這樣才具有高的安全性。
標(biāo)簽: DES
上傳時(shí)間: 2014-11-22
上傳用戶:zukfu
Enter the Matrix MS-DOS screensaver. Sample of using bios functions (by int 10h) for text data output (monitor in the text mode) and keyboard input. Requires: Borland C++ 3.1 for DOS.
標(biāo)簽: screensaver functions Matrix MS-DOS
上傳時(shí)間: 2013-11-29
上傳用戶:hopy
This document gives the code for programming a CC2500 transceiver using Altera Stratix FPGA. The FPGA and CC2500 are connected through SPI mode with the FPGA as the master and CC2500 as the slave.
標(biāo)簽: programming transceiver document Stratix
上傳時(shí)間: 2014-01-15
上傳用戶:wuyuying
This program requires the DSP2833x header files. // // This program requires an external I2C RTC connected to // the I2C bus at address 0x6f. // // As supplied, this project is configured for "boot to SARAM" // operation. The 2833x Boot Mode table is shown below. // For information on configuring the boot mode of an eZdsp, // please refer to the documentation included with the eZdsp,
標(biāo)簽: requires program This external
上傳時(shí)間: 2017-07-12
上傳用戶:dianxin61
This program requires the DSP2833x header files. // // As supplied, this project is configured for "boot to SARAM" // operation. The 2833x Boot Mode table is shown below. // For information on configuring the boot mode of an eZdsp, // please refer to the documentation included with the eZdsp,
標(biāo)簽: configured requires supplied program
上傳時(shí)間: 2014-01-10
上傳用戶:lixinxiang
This software is developed to provide ease with controller design. For PID control, options are given to design and analyse the compensated and uncompensated system. You are free to choice among Proportional PI, PD and PID mode of control. Both frequency and time domain characteristics can be observed. Special Menus are given to observe time and frequency response plots. For Statefeedback controller similar options are given. But this is limited to second order system only.
標(biāo)簽: controller developed software control
上傳時(shí)間: 2017-07-25
上傳用戶:aysyzxzm
hese are the zip files that are associated with application note ADSP-BF533 Blackfin Booting Process (EE-240) example.zip: Used throughout the EE-note to explain in detail the various booting modes. BF533 Ez Kit Multiple DXE Boot.zip: Multi-DXE Boot Example used with the ADSP-BF533 Ez-Kit Lite. Host Boot.zip: Example Host code to demonstrate SPI Slave Mode Booting Program_Atmel.zip: Example code that programs the Atmel DataFlashes via an ADSP-BF532 Processor All programs have been written for VisualDSP++ 3.5
標(biāo)簽: application associated are Blackfin
上傳時(shí)間: 2017-07-30
上傳用戶:tonyshao
Complete coverage of all four CCNP exams: ? EIGRP, OSPF, IS-IS, and BGP ? Optimizing routing ? IP multicast ? IPv6 ? VLAN implementation ? Spanning Tree ? InterVLAN routing ? Layer 3 redundancy ? Wireless LANs ? VoIP in campus networks ? Campus network security ? Frame-mode MPLS ? IPsec ? Cisco device hardening ? Cisco IOS? threat defenses ? Cisco VoIP ? QoS and AutoQoS ? Wireless scalability
標(biāo)簽: Optimizing Complete coverage routing
上傳時(shí)間: 2017-09-26
上傳用戶:cuibaigao
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1