All code for this project is hosted on Github:
https://github.com/DeqingSun/USB_flashlight_Glass
If you are an Android Developer and wish to develop your own app:

You can send the following commands to out endpoint control the LED.

1 byte: 0x80, to toggle LED
2 bytes: 'F','T', to toggle LED
2 bytes: 'F','O', to turn LED on
2 bytes: 'F','F', to turn LED off


If you are a hardware hacker:

You can use the following schematic and layout to add your own feature.

Either Low-Voltage Programming via USB pins or High-Voltage Programming on RC0 and RC1 can be used to update firmware.

This guide was first published on Apr 23, 2014. It was last updated on Apr 23, 2014.

This page (Hacking guides) was last updated on Apr 22, 2014.

Text editor powered by tinymce.