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

STRING-include

  • UART 4 UART参考设计,Xilinx提供VHDL代码

    UART 4 UART参考设计,Xilinx提供VHDL代码 uart_vhdl This zip file contains the following folders:  \vhdl_source  -- Source VHDL files:      uart.vhd  - top level file      txmit.vhd - transmit portion of uart      rcvr.vhd -  - receive portion of uart \vhdl_testfixture  -- VHDL Testbench files. This files only include the testbench behavior, they         do not instantiate the DUT. This can easily be done in a top-level VHDL          file or a schematic. This folder contains the following files:      txmit_tb.vhd  -- Test bench for txmit.vhd.      rcvr_tf.vhd  -- Test bench for rcvr.vhd.

    标签: UART Xilinx VHDL 参考设计

    上传时间: 2013-11-02

    上传用户:18862121743

  • Arduino学习笔记3_连接HMC5883L三轴电子罗盘传感器

    用途:测量地磁方向,测量物体静止时候的方向,测量传感器周围磁力线的方向。注意,测量地磁时候容易受到周围磁场影响,主芯片HMC5883 三轴磁阻传感器特点(抄自网上): 1,数字量输出:I2C 数字量输出接口,设计使用非常方便。 2,尺寸小: 3x3x0.9mm LCC 封装,适合大规模量产使用。 3,精度高:1-2 度,内置12 位A/D,OFFSET, SET/RESET 电路,不会出现磁饱和现象,不会有累加误差。 4,支持自动校准程序,简化使用步骤,终端产品使用非常方便。 5,内置自测试电路,方便量产测试,无需增加额外昂贵的测试设备。 6,功耗低:供电电压1.8V, 功耗睡眠模式-2.5uA 测量模式-0.6mA   连接方法: 只要连接VCC,GND,SDA,SDL 四条线。 Arduino GND -> HMC5883L GND Arduino 3.3V -> HMC5883L VCC Arduino A4 (SDA) -> HMC5883L SDA Arduino A5 (SCL) -> HMC5883L SCL (注意,接线是A4,A5,不是D4,D5) 源程序: #include <Wire.h> #include <HMC5883L.h> HMC5883Lcompass; voidsetup() { Serial.begin(9600); Wire.begin(); compass = HMC5883L(); compass.SetScale(1.3); compass.SetMeasurementMode(Measurement_Continuous); } voidloop() { MagnetometerRaw raw = compass.ReadRawAxis(); MagnetometerScaled scaled = compass.ReadScaledAxis(); float xHeading = atan2(scaled.YAxis, scaled.XAxis); float yHeading = atan2(scaled.ZAxis, scaled.XAxis); float zHeading = atan2(scaled.ZAxis, scaled.YAxis); if(xHeading < 0) xHeading += 2*PI; if(xHeading > 2*PI) xHeading -= 2*PI; if(yHeading < 0) yHeading += 2*PI; if(yHeading > 2*PI) yHeading -= 2*PI; if(zHeading < 0) zHeading += 2*PI; if(zHeading > 2*PI) zHeading -= 2*PI; float xDegrees = xHeading * 180/M_PI; float yDegrees = yHeading * 180/M_PI; float zDegrees = zHeading * 180/M_PI; Serial.print(xDegrees); Serial.print(","); Serial.print(yDegrees); Serial.print(","); Serial.print(zDegrees); Serial.println(";"); delay(100); }

    标签: Arduino 5883L 5883 HMC

    上传时间: 2014-03-20

    上传用户:tianyi223

  • 项目描述: SQLite is a small C library that implements a self-contained, embeddable, zero-configuration S

    项目描述: SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine. Features include

    标签: zero-configuration self-contained implements embeddable

    上传时间: 2013-11-26

    上传用户:啊飒飒大师的

  • 1:文件说明: ExampleServlet.java 发信JAVA源文件 CSEmail.jar 发信包 com CSEmail.jar 的源文件 2:部署: ExampleServlet.java

    1:文件说明: ExampleServlet.java 发信JAVA源文件 CSEmail.jar 发信包 com CSEmail.jar 的源文件 2:部署: ExampleServlet.java 发到 WEB-INF/CLASSES/ CSEmail.jar 放到 web-inf/lib/ 3. 修改ExampleServlet.java 中 private String SERVLET_HTTP_PATH = "http://www.yourSite.com/servlet/ 把www.yourSite.com 改成你的网址 4运行: http://www.yourSite.com/servlet/ExampleServlet 填写你的SMTP邮件服务器和发信端口,还有你在这个邮件服务器上的帐号(不正确发不出信)

    标签: ExampleServlet CSEmail java jar

    上传时间: 2015-01-12

    上传用户:cx111111

  • libpcap is a system-independent interface for user-level packet capture. libpcap provides a portable

    libpcap is a system-independent interface for user-level packet capture. libpcap provides a portable framework for low-level network monitoring. Applications include network statistics collection, security monitoring, network debugging, etc.

    标签: libpcap system-independent user-level interface

    上传时间: 2014-08-11

    上传用户:saharawalker

  • 赫赫大名的 OGRE 游戏引擎

    赫赫大名的 OGRE 游戏引擎,游戏编程高手特别是游戏引擎高手的最好教材,开源代码,不看是你的损失。VC.NET编译交顺利,遇到编译错误时添加相应INCLUDE文件,直到通过为止。VC++ 6.0未试过,估计问题较多,祝你好运。

    标签: OGRE 引擎

    上传时间: 2013-12-18

    上传用户:pompey

  • 重写了微软提供SQLHelper(共用的数据库调用接口) 1把SqlHelper的connectionString做成一个全局量

    重写了微软提供SQLHelper(共用的数据库调用接口) 1把SqlHelper的connectionString做成一个全局量,统一设置数据库连接字符串 2增加了返回特定表名的DataSet的各接口。 可在项目的config文件设置数据库连接字符串 private static string connectionString = System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"] <!-- application specific settings --> <appSettings> <add key="ConnectionString" value="packet size=4096 user id=sa data source=localhost persist security info=True initial catalog=NorthWind password= "/> </appSettings> 当然可以把数据库连接方法修改后直接用。

    标签: connectionString SQLHelper SqlHelper 微软

    上传时间: 2013-12-12

    上传用户:钓鳌牧马

  • 《ASP网站QQ在线咨询插件》 作者:国子(参考腾讯技术文档编写) QQ:895731 演示网址:http://www.wubaidu.com 转载请完整保留此说明文档,谢谢 使用方法: 将所有文件拷

    《ASP网站QQ在线咨询插件》 作者:国子(参考腾讯技术文档编写) QQ:895731 演示网址:http://www.wubaidu.com 转载请完整保留此说明文档,谢谢 使用方法: 将所有文件拷贝到网站目录,使用include方法将本文件包含到index.asp中,即在index.asp的最后添加一行<!--#include file="ask-qq.asp"--> 添加客服QQ方法: 修改ask-qq.asp中的“adm_qq=”后面引号中的QQ号,多个QQ号用西文逗号隔开,QQ数量不限。 如果你的ASP网站的数据库中保存有QQ号,也可直接读取数据库中的QQ 修改在线咨询浮动面板位置的方法: 修改ask-qq.asp中“startX =650”(水平)、“startY = 150”(垂直)中的数字即可。

    标签: wubaidu 895731 http ASP

    上传时间: 2013-12-23

    上传用户:jqy_china

  • eGroupWare is a multi-user, web-based groupware suite developed on a custom set of PHP-based APIs. C

    eGroupWare is a multi-user, web-based groupware suite developed on a custom set of PHP-based APIs. Currently available modules include: email, addressbook, calendar, infolog (notes, to-do s, phone calls), content management, forum, bookmarks, wiki

    标签: eGroupWare multi-user developed PHP-based

    上传时间: 2015-02-20

    上传用户:hphh

  • 软件测试:一个编译器测试软件

    软件测试:一个编译器测试软件,支持下列C语言运算符:+ - * / % ^(乘方) 负 (int) (double) "字符串" [](数组) > < == >= <= != && ! ++ -- = += -= *= /= %= ^=,支持下列关键字:void int double string if else for while do goto break continue return,支持下列数据类型:int double string int[] double[] string[],支持下列系统函数:int max(int,int),double max(double,double),int[] newint(int),double[] newdouble(int),string[] newstring(int),void delete(int[]),void delete(double[]),void delete(string[]),支持任意用户定义函数,支持函数重载。不支持全局变量。如果发现错误,请告诉我

    标签: 软件测试 编译器 测试软件

    上传时间: 2013-12-15

    上传用户:sy_jiadeyi