无源代码怎么订单提交页面网页代码网页

单片机无源蜂鸣器的程序,请求解释下这个程序从第一个for开始的意思!_百度知道
单片机无源蜂鸣器的程序,请求解释下这个程序从第一个for开始的意思!
sbit BEEP=P1^5;
void beep()
unsigned char i ,
for (i=0;i&100;i++)
BEEP=!BEEP;
//BEEP取反
for (j = 0 ; j&200 ; j++);
//需要产生方波
我有更好的答案
#include//包含51的头文件sbit BEEP=P1^5;//sbit是位定义的意思,即使用beep来代表单片P1端口的第5个IO口void beep()//蜂鸣器子函数,方便调用,{unsigned char i ,//设置无符号字符型变量i;和Jfor (i=0;i&100;i++)//定义一个for循环,每次完整地执行for里面的所有语句,i就自增1,直到i=10{
//当i=100是,for循环就结束BEEP=!BEEP; //BEEP取反//蜂鸣器发生原理,进行电平取反,原来为高电平,下一次执行就变成低电平for (j = 0 ; j&200 ; j++); //需要产生方波这个是延时程序} BEEP=1; //关闭蜂鸣器蜂鸣器电平不发生变化的时候,蜂鸣器无法发声。}
内层的for循环代表响或者不响的时间,外层的FOR循环代表响和不响的次数,也就是产生方波的周期。因为i为100次,所以一个周期响一次,也就是总共响50次。最后关闭蜂鸣器
为您推荐:
其他类似问题
蜂鸣器的相关知识
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。求助各位大师,修改软件内容问题(无源代码)【android开发吧】_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:125,013贴子:
求助各位大师,修改软件内容问题(无源代码)收藏
软件无源代码
只是修改软件里面的一些内容 其他的不变。1.里面软件中主页面中“商城”选项能去掉吗?2.主页面中 黑底黄字字幕能不能改?怎么个改法3.主页面中 更多设置/资费及帮助说明/2.如何成为XX商里面的内容怎么修改成自己想要的文字软件在此 百度网盘:求教各位大师啦 谢谢
图就不发了
发了又被误以为微商给删帖
android开发,快速制作iOS和安卓App,上线快,海量模块,满足您的个性化开发需求.android开发,强大的用户行为分析库,数据安全,稳定可靠.免费试用.
求吧主先不要删帖
实在不行帮我弄也好
支付宝 价格好说 QQ:
还是附上图片吧
有些敏感的字我就打码了
怕以为是广告删帖
没有源代码 就不是修改这个软件 是开发这个软件
可以试下,不过上面链接好像打不开了
登录百度帐号后使用快捷导航没有帐号?
请完成以下验证码
查看: 4188|回复: 4
在QUARTUS@II下产生无源代码网表设计文件方法
在线时间491 小时
威望9087分
芯币12386枚
TA的帖子TA的资源
五彩晶圆(高级), 积分 9087, 距离下一级还需 913 积分
五彩晶圆(高级), 积分 9087, 距离下一级还需 913 积分
&&& 从安全角度考虑, 我们常希望保证我们设计的私有性.一个有效的方法就是利用 Exported Partition file(.qxp)创建用于综合或布局布线网表文件(不包括源代码).这种增量编译的特点需要一个完整&许可的支持(比如免费的web 版本的许可不支持的).
&&& 把原始设计作为一个.qxp文件发送的过程在Quartus @ II 手册的&章 节"Using an Exported Partition to Send a Design without Including Source Files" 部分被描述.
&&& 为了输出你的完整的设计,或部分设计,或被别人重复使用的设计,可以创建一个design partition 输出它.然后需要者把这个partition 导入到一个新的project.为了使用this simple aspect of an incremental flow,你不必对项目创建别的design partition 或添加floorplan assignments.关于使用增量编译commands更详细的细节,请参考手册相关章节!
&&& 为了输出一个设计模块并且发送给别人使用,需要完成下面的步骤:
1.& 提供器件系列名字给接收人(比如CYCLONE II EP2C35 ,EP2C20等等). 如果你要发送带综合网表的布局布线信息,也需要提供准确的器件选择,以便接收者能正确设置他们的项目.
2.& 创建一个文件或一个简单例化来定义这个设计模块的端口接口,并且把这个文件或实例化提供给接收人,以便在顶层设计中作为一个空partition来实例化这个模块.
&&&&& 特别说明: 在Quartus II 7.2 SP3 或更早的版本中, 必须发送一个空黑盒模块/实体 定义,该空黑盒模块/实体列出端口宽度和方向. 在Quartus II 8.0后不需要这样的文件.
3.& 输出the appropriate level of hierarchy 到一个.qxp文件. 如果在Project menu,使用Quartus II GUI ,请choose Export Design Partition and select the Partition hierarchy to export.
4.& 如果不需要发送布局布线信息,请仅选择选项Post-synthesis netlist . 如果接收人需要重新生成你的准确的布局布线结果,你需要选择项Post-fit netlist , 同时也可选Export routing 选项包括布局布线信息.
5.&提供.qxp文件给接收人,&记住你不需要发送你源代码给接收者!
&&& 接收者收到这个.qxp文件, 需要集成这个设计模块到顶层设计中,需要完成下面的步骤:
1.需要创建一个Quartus II 顶层设计项目 并且确保该项目目标器件与该.qxp文件目标器件相同(或者说至少相同器件系列(在不包括布局布线信息前提下).
2.使用提供的端口信息实例这个设计模块;
3.在Porcessing Menu 上, 点击Start/Perform Analysis & Elaboration , 验证该设计的层次.
4.为这个设计模块实例创建一个design partition. Right-click the instance name in the Project Navigator, and choose Set as design partition.
5.导入这个.qxp文件到相关的partition hierarchy. 如果你使用the Quartus II GUI, 则在Project menu,选择
Import Design Partition,select the partition for the design block, and browse to the .qxp file provided.
6.如果发送者还提供布局布线信息,也能控制是否保存输入网表,布局或布局布线信息.On the Assignments menu, choose Design Partitions Window, and adjust the settings as required.
现在,拥有一个包含原始设计网表的完整设计,但不包括源文件. 项目包括输入指定,其他综合信息都包括在.qxp文件中.
附件:(原始英文)
If you want to keep your design files private for security reasons, one option is to use a Quartus& II Exported Partition file (.qxp) to create a post-synthesis or post-fitting netlist without including any source design files. These incremental compilation features require a full Quartus II subscription license (and are not included with the free web edition license). Refer to the Related Solutions below for another alternative and other relation information.
The procedure to send your design as a .qxp file is documented in the section "Using an Exported Partition to Send a Design without Including Source Files" in the
chapter of the Quartus II Handbook, and is included here for convenience.
To export your complete design, or part of your design, to be re-used by someone else,&you create a design partition, export it, and then the recipient imports the partition into a new project.& To use this simple aspect of an incremental flow, you do not have to create any other design partitions or add floorplan assignments to your project. For more details about using the incremental compilation commands, refer to the handbook chapter.&
Perform the following steps to export a design block and send it to someone else:
Provide the device family name to the recipient. If you send placement information with the synthesized netlist, also provide the exact device selection so they can set up their project to match.
Create documentation or a sample instantiation&that defines the port interface for the design block and provide it to the recipient so he or she&can instantiate the block as an empty partition in the top-level design.
In Quartus II software versions 7.2 SP3 and earlier, you must send an empty black box module/entity definition that lists the port widths and directions for the design block. Such a file is not needed beginning with version 8.0.
Export the appropriate level of hierarchy into a single .qxp file. If you use the Quartus II GUI, on the Project menu, choose Export Design Partition and select the Partition hierarchy to export.
Select the option to include just the Post-synthesis netlist if you do not need to send placement information. If the recipient wants to reproduce your exact Fitter results, you can select the Post-fit netlist option, and optionally enable Export routing to include routing information as well.
Provide the .qxp file to the recipient. Note that you do not have to send any of your design source code.
As the recipient of a .qxp file, incorporate the design block into a top-level design by performing the following steps:
Create a Quartus II project for the top-level design and ensure that your project targets the same device (or at least the same device family if the .qxp file does not include placement information), as specified by the sender.
Instantiate the design block using the port information provided.
On the Processing menu, point to Start and click Perform Analysis & Elaboration to identify the design hierarchy.
Create a design partition for the design block instance. Right-click the instance name in the Project Navigator, and choose Set as design partition.
Import the .qxp file for the appropriate partition hierarchy. If you use the Quartus II GUI, on the Project menu, choose Import Design Partition, select the partition for the design block, and browse to the .qxp file provided.
If the sender provided fitter information, you can control whether to preserve the imported netlist only, placement, or placement and routing, with the Fitter Preservation Level. On the Assignments menu, choose Design Partitions Window, and adjust the settings as required.
You now have a complete design that uses the original design netlist but does not include the source design files.& The project includes imported&assignments and any post-compilation information that was included in the .qxp file.
在线时间491 小时
威望9087分
芯币12386枚
TA的帖子TA的资源
五彩晶圆(高级), 积分 9087, 距离下一级还需 913 积分
五彩晶圆(高级), 积分 9087, 距离下一级还需 913 积分
自己顶一下!
一个为理想不懈前进的人,一个永不言败人!
http://shop.taobao.com/
欢迎光临网上店铺!
在线时间8 小时
TA的帖子TA的资源
一粒金砂(中级), 积分 20, 距离下一级还需 180 积分
一粒金砂(中级), 积分 20, 距离下一级还需 180 积分
很详细。。给力顶
在线时间491 小时
威望9087分
芯币12386枚
TA的帖子TA的资源
五彩晶圆(高级), 积分 9087, 距离下一级还需 913 积分
五彩晶圆(高级), 积分 9087, 距离下一级还需 913 积分
终于有识货之人!
一个为理想不懈前进的人,一个永不言败人!
http://shop.taobao.com/
欢迎光临网上店铺!
在线时间15 小时
TA的帖子TA的资源
一粒金砂(中级), 积分 10, 距离下一级还需 190 积分
一粒金砂(中级), 积分 10, 距离下一级还需 190 积分
按着一样的操作就是会报错,直接用qxp做顶层文件没有问题,在另个文件里例化使用就错,LZ帮忙解答下
EEWORLD 官方微信
Powered by404-页面不存在一个菜鸟问题,在无源代码,无源程序的情况下更改程序的启动画面
[问题点数:50分,结帖人codepoem]
一个菜鸟问题,在无源代码,无源程序的情况下更改程序的启动画面
[问题点数:50分,结帖人codepoem]
不显示删除回复
显示所有回复
显示星级回复
显示得分回复
只显示楼主
匿名用户不能发表回复!|

我要回帖

更多关于 svn怎么提交代码 的文章

 

随机推荐