Jark / FTDISample

Note: As of version 10556.0 the ftdi driver does no longer seem to work. A sample application showcasing the FTDI D2XX driver use in Windows Universal projects (UWP). This sample is tested on the Raspberry PI 2 with Windows IOT installed and a FTDI FT232R usb-to-serial adapter.
Apache License 2.0
22 stars 3 forks source link

Non MVVM example #3

Closed rayd250592 closed 8 years ago

rayd250592 commented 8 years ago

Hi,

Would you be able to provide a simple example that doesn't go along the MVVM design pattern?

Cheers!

Jark commented 8 years ago

Hi,

Unfortunately I don't have the time to add another simple example that doesn't use MVVM.

However, most of the FTDI library call logic can be found in https://github.com/Jark/FTDISample/blob/master/src/FTDISample/DeviceConnection.cs and is pretty self-explanatory.

I would be willing to accept a contribution to this repository if you want to contribute, https://github.com/Jark/FTDISample#setting-up-a-new-windows-universal-project-using-the-d2xx and the file above should get you started.

Any information of the ftdi driver lib can be found here: http://www.ftdichip.com/Support/Documents/InstallGuides/AN_271%20D2xx%20WinRT%20Guide.pdf

If there's any questions, feel free to ask.

Cheers,

Jark

rayd250592 commented 8 years ago

Cheers! I've been experimenting with your work, and with the standard usb serial API in WIndows 10 IoT - but it's only your stuff that I can get to work :)

Jark commented 8 years ago

If you're using an FTDI usb-to-serial adapter then "my" stuff will be the only thing you can get to work since Windows 10 IoT doesn't support FTDI usb-to-serial adapters out of the box, hence the need to install the FTDI specific WinRT drivers :)

djaus2 commented 8 years ago

Yes this is the only way to use FTDI usb-serial with Win 10 IoT at this stage. Given that FTDI is the basis of many things makes this methodology quite useful. There are other USB-Serial devices that do work with Win 10 IoT:out-of-the-box though:

Hope this helps.