I’m eager to learn more about Lynx, and I was excited to see @ Architect’s project on Code Share, but I don’t yet understand fully how to use the board.
If I go to the Catalog, and select Lynx, I see some general info about the device and how it connects to a PC or other computer, but I don’t see anything about what drivers are needed, what other source code or DLLs are needed to use Gadgeteer modules, or any documents like a"Getting Started" guide.
Please update the catalog and support pages with more info.
a. Virtual COM Port. Lynx is based on FTDI chip that has 4 Serial Ports. After you install the driver and if you plug-in Lynx you will see in Device Manager that you got 4 more COM ports. I haven’t explored that area yet, because option b provides more options to control the device
b. D2XX API. The api is provided through a DLL on windows (there are implementations for other platforms as well). This is standard DLL that you can link to in your c/c++ applications or use PInvoke from a .Net application. In fact, in my demo I am using managed wrapper dll that uses PInvoke to call D2XX API (provided by FTDI).
GHI has C++ code for pretty much all their modules and a high level FEZ Lynx class that internally uses D2XX API.
I am working on managed version of the wrapper that is more convenient to use then what FTDI provides. I will upload it on codeshare once it is done.
Do I understand correctly that you can use the Lynx also while developing new Medusa libraries because it basically uses the same source code base for the modules? So therefore you can use the Lynx to debug your library code before running it on an actual Medusa mainboard? If so, can you use Visual Studio C++ to compile and debug this?
@ Gus - Thanks Gus. That is good news. I’ve been struggling trying to convert an existing Arduino library to conform more the Medusa example libraries and it will definitely be a big help… especially for someone like me that do not have a normal JTAG ICE.