I nearly got a transition like this to work! Gordon helped me out with some suggestions, I'll see if I can dig out what I tried and make it work.
Edit: It was in this thread, I'll have another crack at it, it nearly worked: https://forum.espruino.com/conversations/383148
@Sir_Indy started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I nearly got a transition like this to work! Gordon helped me out with some suggestions, I'll see if I can dig out what I tried and make it work.
Edit: It was in this thread, I'll have another crack at it, it nearly worked: https://forum.espruino.com/conversations/383148