虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

BYTE-of-python-chinese-edition

  • 简明python 教程

    Python语言是少有的一种可以称得上即简单又功能强大的编程语言。你将惊喜地发现Python语言是多么地简单,它注重的是如何解决问题而不是编程语言的语法和结构。Python的官方介绍是:Python是一种简单易学,功能强大的编程语言,它有高效率的高层数据结构,简单而有效地实现面向对象编程。Python简洁的语法和对动态输入的支持,再加上解释性语言的本质,使得它在大多数平台上的许多领域都是一个理想的脚本语言,特别适用于快速的应用程序开发。我会在下一节里详细地讨论Python的这些特点。

    标签: python 教程

    上传时间: 2013-10-15

    上传用户:dbs012280

  • PCA9544A 4channel I2C multiple

    The PCA9544A provides 4 interrupt inputs, one for each channeland one open drain interrupt output. When an interrupt is generated byany device, it will be detected by the PCA9544A and the interruptoutput will be driven LOW. The channel need not be active fordetection of the interrupt. A bit is also set in the control byte.Bits 4 – 7 of the control byte correspond to channels 0 – 3 of thePCA9544A, respectively. Therefore, if an interrupt is generated byany device connected to channel 2, the state of the interrupt inputs isloaded into the control register when a read is accomplished.Likewise, an interrupt on any device connected to channel 0 wouldcause bit 4 of the control register to be set on the read. The mastercan then address the PCA9544A and read the contents of thecontrol byte to determine which channel contains the devicegenerating the interrupt. The master can then reconfigure thePCA9544A to select this channel, and locate the device generatingthe interrupt and clear it. The interrupt clears when the deviceoriginating the interrupt clears.

    标签: 4channel multiple 9544A 9544

    上传时间: 2014-12-28

    上传用户:潜水的三贡

  • Replacement of NXP PCA9518 wit

    The outputs of the PCA9518 are immediately available as soon as there is a voltage present on thesupply >~1V and behave as described above. The power-on reset of the PCA9518A keeps the outputsturned off during power-up and maintains the high impedance of the outputs throughout the power-upcycle. There is an additional built-in delay after power-up that allows the analog circuits to stabilize beforethe part is activated.

    标签: Replacement 9518 NXP PCA

    上传时间: 2013-10-26

    上传用户:13817753084

  • Adding 32 KB of Serial SRAM to

    Although Stellaris microcontrollers have generous internal SRAM capabilities, certain applicationsmay have data storage requirements that exceed the 8 KB limit of the Stellaris LM3S8xx seriesdevices. Since microcontrollers do not have an external parallel data-bus, serial memory optionsmust be considered. Until recently, the ubiquitous serial EEPROM/flash device was the only serialmemory solution. The major limitations of EEPROM and flash technology are slow write speed, slowerase times, and limited write/erase endurance.Recently, serial SRAM devices have become available as a solution for high-speed dataapplications. The N256S08xxHDA series of devices, from AMI Semiconductor, offer 32 K x 8 bits oflow-power data storage, a fast Serial Peripheral Interface (SPI) serial bus, and unlimited write cycles.The parts are available in 8-pin SOIC and compact TSSOP packages.

    标签: Adding Serial SRAM 32

    上传时间: 2013-10-14

    上传用户:cxl274287265

  • Control System of Stepp ingMot

    提出了一个由AT89C52单片机控制步进电机的实例。可以通过键盘输入相关数据, 并根据需要, 实时对步进电机工作方式进行设置, 具有实时性和交互性的特点。该系统可应用于步进电机控制的大多数场合。实践表明, 系统性能优于传统的步进电机控制器。关键词: 单片机; 步进电动机; 直流固态继电器; 实时控制Con trol System of Stepp ingMotor Ba sed on AT89C52 ChipM icrocomputerMENGWu2sheng, L ILiang (College of Automatization, Northwestern Polytechnical Unversity, Xipan 710072, China)ABSTRACT: A stepp ing motor control system based on AT89C52 chip microcomputer was described.The data can be inputwith keyboard, and stepp ingmotorwas controlled by these data. According to the demand, users can set the workingmodel of stepp ingmotor in real2time. This system can be widely used in stepp ing motor controlling. The p ractice showed that the performance of this system outdid the tradi tional stepp ing motor controller.KEY WORDS: Chip microcomputer; Stepp ingmotor; DCSSR; Real2time control

    标签: Control System ingMot Stepp

    上传时间: 2013-11-19

    上传用户:leesuper

  • DS1820 C51 子程序 (一线数据传输)

    //芯片资料请到www.elecfans.com查找 //DS1820 C51 子程序//这里以11.0592M晶体为例,不同的晶体速度可能需要调整延时的时间//sbit DQ =P2^1;//根据实际情况定义端口 typedef unsigned char byte;typedef unsigned int  word; //延时void delay(word useconds){  for(;useconds>0;useconds--);} //复位byte ow_reset(void){  byte presence;  DQ = 0; //pull DQ line low  delay(29); // leave it low for 480us  DQ = 1; // allow line to return high  delay(3); // wait for presence  presence = DQ; // get presence signal  delay(25); // wait for end of timeslot  return(presence); // presence signal returned}     // 0=presence, 1 = no part //从 1-wire 总线上读取一个字节byte read_byte(void){  byte i;  byte value = 0;  for (i=8;i>0;i--)  {    value>>=1;    DQ = 0; // pull DQ low to start timeslot    DQ = 1; // then return high    delay(1);  //for (i=0; i<3; i++);     if(DQ)value|=0x80;    delay(6); // wait for rest of timeslot  }  return(value);} //向 1-WIRE 总线上写一个字节void write_byte(char val){  byte i;  for (i=8; i>0; i--) // writes byte, one bit at a time  {    DQ = 0; // pull DQ low to start timeslot    DQ = val&0x01;    delay(5); // hold value for remainder of timeslot    DQ = 1;    val=val/2;  }  delay(5);} //读取温度char Read_Temperature(void){  union{    byte c[2];    int x;  }temp;   ow_reset();  write_byte(0xCC); // Skip ROM  write_byte(0xBE); // Read Scratch Pad  temp.c[1]=read_byte();  temp.c[0]=read_byte();  ow_reset();  write_byte(0xCC); //Skip ROM  write_byte(0x44); // Start Conversion  return temp.x/2;}

    标签: 1820 C51 DS 程序

    上传时间: 2013-11-03

    上传用户:hongmo

  • 使用CCS进行DSP编程

    CCStudio Platinum Edition is available in a number of ways. Existingcustomers who are up-to-date with their subscription service withTexas Instruments will receive their update automatically on a CD inthe mail. New customers who wish to purchase a copy of CCStudioPlatinum Edition can order TMDSCCSALL-1 starting May 23, 2005. A120-day Trial version will be also be available on CDROM startingJuly 11, 2005. Users may order the CDROM of the 120-day free copy

    标签: CCS DSP 编程

    上传时间: 2014-12-28

    上传用户:gououo

  • 传感器原理及应用 全教程共十章

    传感器技术作为信息科学的一个重要分支,与计算机技术、自动控制技术和通信技术等一起构成了信息技术的完整学科。在人类进入信息时代的今天,人们的一切社会活动都是以信息获取与信息转换为中心,传感器作为信息获取与信息转换的重要手段,是信息科学最前端的一个阵地,是实现信息化的基础技术之一。 “没有传感器就没有现代科学技术”的观点已为全世界所公认。以传感器为核心的检测系统就像神经和感官一样,源源不断地向人类提供宏观与微观世界的种种信息,成为人们认识自然、改造自然的有力工具。 传感器原理及应用全书分为十个章结: 1、传感器的基本特性 2、各类传统与新型传感器的工作原理与应用      (1)应变式传感器      (2)电感式传感器      (3)电容式传感器      (4)压电式传感器      (5)磁电式传感器      (6)光电式传感器      (7)半导体式传感器      (8)波与辐射式传感器      (9)数字式传感器(自学)      (10)智能式传感器(自学) 课程教材 1.郁有文等编著,传感器原理及工程应用,西安科技大学出版社,2008 2.沈跃、杨喜峰编,物理实验教程—智能检测技术实验,中国石油大学出版社,2010 课程参考书 1. 传感器与检测技术,胡向东等编著,机械工业出版社,2009 2. 传感器原理及应用,王化祥编著,天津大学出版社,2007 3. 传感技术与应用教程,张洪润等编著,清华大学出版社,2009 4. 传感器原理及应用(项目式教学),于彤编著,机械工业出版社,2008 5. 传感器与测试技术,叶湘滨等编著,国防工业出版社,2007 6. 传感器与检测技术,陈杰、黄鸿编著,高等教育出版社,2003 7. Handbook of Modern Sensors(3rd Edition),Jacob Fraden,Springer-Verlag,Inc.,2004 课程性质     课程属于专业基础课,在专业人才培养中具有提高学生相关专业基础理论的认知能力、增强学生从事传感与检测技术研究与应用工作的适应能力和开发创新能力的作用。 研究对象     传感器技术的基本概念和理论、常用传感器的工作原理和应用技术。 学习目的与要求  (1)建立传感器技术的整体概念;  (2)掌握传感器技术的基本理论、常用传感器的工作原理和应用技术;  (3)获得应用传感器设计、组建测控系统的基本技能;  (4)培养学生进一步学习、研究和应用传感器技术的兴趣;  (5)为学习后续课程和独力解决实际问题打下必要的基础。 主要考核目标(包括重点及难点) (1)掌握传感器的基本概念和基本特性; (2)掌握常用传感器的工作原理(实验方法); (3)掌握常用传感器的基本应用(实验技术); (4)了解应用传感器设计、组建测控系统的基本方法; (5)了解传感器技术的发展前沿和趋势。 重点:传感器的工作原理 难点:传感器的应用技术;       内容涉及知识面广,理论性、综合性和实践性强。

    标签: 传感器原理 教程

    上传时间: 2013-11-13

    上传用户:yqs138168

  • STC90C51RC-RD+_GUIDE-CHINESE使用手册

    STC90C51RC-RD+_GUIDE-CHINESE使用手册

    标签: GUIDE-CHINESE RC-RD STC 90

    上传时间: 2014-01-06

    上传用户:lht618

  • LabVIEW for Everyone(经典英文书籍)

    The #1 Step-by-Step Guide to labviewNow Completely Updated for labview 8!   Master labview 8 with the industry's friendliest, most intuitive tutorial: labview for Everyone, Third Edition. Top labview experts Jeffrey Travis and Jim Kring teach labview the easy way: through carefully explained, step-by-step examples that give you reusable code for your own projects!   This brand-new Third Edition has been fully revamped and expanded to reflect new features and techniques introduced in labview 8. You'll find two new chapters, plus dozens of new topics, including Project Explorer, AutoTool, XML, event-driven programming, error handling, regular expressions, polymorphic VIs, timed structures, advanced reporting, and much more. Certified labview Developer (CLD) candidates will find callouts linking to key objectives on NI's newest exam, making this book a more valuable study tool than ever. Not just what to d why to do it! Use labview to build your own virtual workbench Master labview's foundations: wiring, creating, editing, and debugging VIs; using controls and indicators; working with data structures; and much more Learn the "art" and best practices of effective labview development NEW: Streamline development with labview Express VIs NEW: Acquire data with NI-DAQmx and the labview DAQmx VIs NEW: Discover design patterns for error handling, control structures, state machines, queued messaging, and more NEW: Create sophisticated user interfaces with tree and tab controls, drag and drop, subpanels, and more Whatever your application, whatever your role, whether you've used labview or not, labview for Everyone, Third Edition is the fastest, easiest way to get the results you're after!

    标签: Everyone LabVIEW for 英文

    上传时间: 2013-10-14

    上传用户:shawvi