Atmega16u2 virtual serial example using LUFA Library

IMG_20160106_202420-600

Shane of Wattnotions has published a new build, an Atmega16u2 virtual serial LUFA board:

What I wanted the LUFA library to do was pretty specific – the atmega16u2 should show up as a virtual serial port so that the computer can connect and read data from it like any other serial port. All of the other ways of communicating over USB eg HID etc wouldn’t do it. There was one example that came with LUFA that fit the bill – VirtualSerial. There were a few problems with getting this example to run on the atmega16u2 so I’ll document them and what the fix was.

More info at Wattnotions site.

Leave a Reply

Your email address will not be published. Required fields are marked *