jb6113 645ca6c115 LED mirroring will seem to sync better now, not tested, but probably 2 anni fa
..
Makefile 0c8f81b943 this is the atmega328p hex and source 2 anni fa
README.md 0c8f81b943 this is the atmega328p hex and source 2 anni fa
main.c 645ca6c115 LED mirroring will seem to sync better now, not tested, but probably 2 anni fa
main.elf 0c8f81b943 this is the atmega328p hex and source 2 anni fa
main.hex 0c8f81b943 this is the atmega328p hex and source 2 anni fa
main.o 0c8f81b943 this is the atmega328p hex and source 2 anni fa

README.md

unplug it, then pulg it back in

Everyone agrees that manufacturers suck at manufacturing reliable products. They primarily produce equipment that constantly needs attention. If one were to buy enough products, they would spend most their day reseting all of the things. Thankfully we only use a small fraction of what we buy, unused products will happily wait to be reset, no worry about them catching fire or exploding, probably. Top scientists have recently discovered that 16% of our lives is spent turning things off then on again. While this is not a majority of our lives, one might possibly be able to recover this somewhat unproductive time, for free.

automated unplugging

Unplug it, automatically. In the worst case a manufacturer will produce something with no status lights. Why do they do this? I do not know. When manufacturers make a device they think

pseudo code

on power up the usb device is turned off

run the following commands forever
* turn off the usb device (it should be off by default)
* wait 3 seconds
* turn on the usb device and wait a couple minutes, the computer will boot and load custom firmware into the USB device
* enter an infinite small loop
* clear a bit
* or the led into the bit every serveral times for 500ms
* compare this to last, if they match, increment a counter, otherwise clear counter
* store this over last
* if the counter is big, we need to reboot