如何与Xmega256A3Bu控制器通信c#windows窗体? [英] how to communicate c# windows form with Xmega256A3Bu controller?

查看:75
本文介绍了如何与Xmega256A3Bu控制器通信c#windows窗体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Windows窗体应用程序项目。与我的avr微控制器通信存在严重问题:Xmega256A3BU。我使用vc #windows窗体设计了一个表单。根据用户的输入,我将把数据发送到avr micro。我想将数据发送到USB端口。有没有办法做到这一点?有人请帮忙!

I am working on a windows forms application project. I have a serious problem in communicating with my avr microcontroller: Xmega256A3BU. I have designed a form using vc# windows form And according to the input from the user,I am going to send data to the avr micro. I want to send data into usb port. Is there any way to do this? somebody plz help!

推荐答案

为此你可以使用用于.NET的USB库。



For that you can use USB library for .NET.

Quote:

#usblib(SharpUSBLib)是libusb项目(WIN32)的包装器,因此必须事先安装它使用#usblib。 Mike开始这个项目是因为他想用USB端口编程电源开关(GEMBIRD SIS-PM)并且没有找到任何.NET USB库。一个目标是为.NET提供独立于平台(Linux / Win32解决方案)的USB访问层。

#usblib (SharpUSBLib) is a wrapper around the libusb project (WIN32), thus you must have it installed prior to using #usblib. Mike started this project because he wanted to program a power switch (GEMBIRD SIS-PM) with a USB port and didn't find any .NET USB library. One goal is to provide a platform independent (Linux/Win32 solution) USB access layer for .NET.



用于.NET的USB库


这篇关于如何与Xmega256A3Bu控制器通信c#windows窗体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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