Concerning the strobe light & the electromagnet, since the original code doesn't use any waveform, I bet I can rely only on using the following, although I'm not sure how I'd use - if necessary - the 'magDuty' & 'ledDuty' vars ( 'magTime' & 'ledTime' shouldn't be needed since the freq is set thanks to analogWrite's 3rd param )
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.
Thanks for the inputs :)
I'll order some of the stuff I'm missing to test a build tomorrow, but in the meanwhile I did my best to translate the original code to js
https://github.com/stephaneAG/Espruino_tests/blob/master/SlowDanceTimeFrame/SlowDanceTimeFrame_Espruino_wip.js
Concerning the strobe light & the electromagnet, since the original code doesn't use any waveform, I bet I can rely only on using the following, although I'm not sure how I'd use - if necessary - the 'magDuty' & 'ledDuty' vars ( 'magTime' & 'ledTime' shouldn't be needed since the freq is set thanks to analogWrite's 3rd param )
Concerning the "water trick", I'm sure I didn't explain it well, so here it is:
https://www.youtube.com/watch?v=mODqQvlrgIQ
and also https://www.youtube.com/watch?v=uENITui5_jU
My goal 'd be to replace the camera by strobing lights ( keeping the effect we see through the camera thanks to the strobes )
I'll post updates as they come ;)
+