The code for expled used in the help desk article is here https://github.com/OnionIoT/fast-gpio/blob/master/scripts/expled.sh in case someone is looking.