有人可以帮我写一个算法...... [英] Can someone help me in writing an algorithm of ...

查看:84
本文介绍了有人可以帮我写一个算法......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我被命令为ac#程序编写一个算法,该程序使用USB端口向设备发送比特...位数变化为2,升至32 ......引脚数为15 ......任何想法该怎么做...



我尝试过:



i没有这个领域的经验......对不起,我不能发布任何特定的项目有点分类。

am ordered to write an algorithm for a c# program that sends bits to a device using USB port ... the number of bits varies upto 2 raise to 32 ... and the number of pins is 15 ... any idea how to do it ...

What I have tried:

i have no experience in this field ... and sorry i cant post anything specific coz the project is a little classified.

推荐答案

这里没有人可以为你编写代码要求。

您应该尝试从最终开始,根据您编码的内容提出问题。



请查看以下链接,看看是否有助于开始编码。



< a href =http://www.developerfusion.com/article/84338/making-usb-c-friendly/>使用.NET和C#中的USB设备 - .NET教程 - 开发人员融合 [< a href =http://www.developerfusion.com/article/84338/making-usb-c-friendly/target =_ blanktitle =新窗口> ^ ]



初学者C#中的串行通信 [ ^ ]



在C#中与串口通信 [ ^ ]



Arduino,C#和串行接口 [ ^ ]



http://www.codeproject.com/Questions/187388/USB-Port-Communication-in-C [ ^ ]
No one here can write code for your requirements .
You should try from your end and ask questions based on what you have coded .

Please have a look on the below links and see whether it helps to start coding.

Working with USB devices in .NET and C# - .NET tutorial - developer Fusion[^]

Serial Comms in C# for Beginners[^]

Communicating with Serial Port in C#[^]

Arduino, C#, and Serial Interface[^]

http://www.codeproject.com/Questions/187388/USB-Port-Communication-in-C[^]


引用:

我不能发布任何特定的因素项目有点分类

i cant post anything specific coz the project is a little classified



然后我们无法帮助你。这在很大程度上取决于硬件,除了它是usb之外我们都不知道。去看你的主管并向他求助 - 他应该知道你的能力并能够指导你。


Then we can't help you. This will depend hugely on the hardware, which we have no idea about except "it's usb". Go see your supervisor and ask him for help - he should know your abilities and be able to guide you.


引用:

抱歉我不能发布任何具体的内容,因为该项目有点分类。

and sorry i cant post anything specific coz the project is a little classified.



不幸的是,只有具体的信息可以提供一些帮助!


Unfortunately, only specific information can lead to some help !

引用:

命令为ac#程序写一个算法,该程序使用USB端口向设备发送比特...比特数不同最多2升到32 ......并且引脚数是15 ...任何想法怎么做...

am ordered to write an algorithm for a c# program that sends bits to a device using USB port ... the number of bits varies upto 2 raise to 32 ... and the number of pins is 15 ... any idea how to do it ...



你的陈述与USB不一致

-USB设备4个引脚与主机通信,你有15个引脚?

-USB协议使用字节,而不是位。



要么你解密了东西,要么你一个人。


Your statements are inconsistent with USB
-USB devices a 4 pins to communicate with host and you have 15 pins ?
-USB protocol is using bytes, not bits.

Either you declassify things, or you are alone.


这篇关于有人可以帮我写一个算法......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆