Continued on this thread:

https://forum.pjrc.com/threads/65611?p=264557&viewfull=1#post264557