*UPDATE*
I found a controller, so I am no longer in need of one. Please disregard the end of the video!
This is a circuit I made to scan through the 4096 possible code for old garage door systems.
The schematic are basic and can be found online, I will not help anyone with this. Do at your own risk and do not use for anything illegal.
Something happened to my KNO3 or to the sugar, because the burn rate had decreased and an ashy remainder was left. The flame was however, very bright and colorful.