Giter Club home page Giter Club logo

libcopynes's Introduction

libcopynes

This is a brand new portable library for talking to the CopyNES device 
sold through retrousb.com.  The original software that shipped with the 
device is Windows only and uses the custom FTDI DLL to talk to the 
device.  Since then, FTDI has released virtual com port (VCP) drivers 
for Windows, Linux and Mac OS X that makes the FTDI usb serial chip used 
in the CopyNES look like two standard serial devices.

This library is designed to control the CopyNES through the VCP serial 
devices instead of the old custom FTDI drivers.  This makes the library 
extremely portable and expands the number of platforms the CopyNES can 
be used on.

You must have the VCP driver installed on your system before this 
library will work.  If you are using Linux, the 2.6.9 or newer kernel 
contains the driver.  I'm currently using Ubuntu 8.04 and when I plugged 
by CopyNES in, it was automatically detected, the VCP module was 
automatically loaded and the two serial devices were automatically 
created.

The copynes_open() function takes the string paths to the two serial 
devices.  On my Ubuntu system, the two serial devices were registered as 
/dev/ttyUSB0 and /dev/ttyUSB1.  On the CopyNES, the ttyUSB0 device is 
the data channel and the ttyUSB1 is the control channel.

Currently this library is still a work in progress.  I'm implementing 
features as I need them with plans to support all CopyNES functions.

If you use this library in a project, please let me know what you're 
using it for.  If you find a bug, let me know, or better yet, send me a 
patch to fix it ;-)

Enjoy!

Dave

libcopynes's People

Contributors

dhuseby avatar huseby-linden avatar qix- avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

orangetide

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.