Hi Gordon,
I closed it because I realized it was a stupid mistake on my end ::)
if you look closely , the midi send part isn't inside Puck.on('accel',function(a) {}
The code was working but I was just never calling that part¯_(ツ)_/¯
The if (active) statement is also completely useless ...
This being said, using ble midi, needs the device to restart after uploading the code, meaning I need to flash vs ram. I noticed that after a few different uploads the device will start to act oddly ( aka bits of older code will still be there but merged with the new ones?)
In this case what is the best approach to avoid this or start fresh? hard reset? reset() + save() ?
thank you!
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.
Hi Gordon,
I closed it because I realized it was a stupid mistake on my end ::)
if you look closely , the midi send part isn't inside Puck.on('accel',function(a) {}
The code was working but I was just never calling that part¯_(ツ)_/¯
The if (active) statement is also completely useless ...
This being said, using ble midi, needs the device to restart after uploading the code, meaning I need to flash vs ram. I noticed that after a few different uploads the device will start to act oddly ( aka bits of older code will still be there but merged with the new ones?)
In this case what is the best approach to avoid this or start fresh? hard reset? reset() + save() ?
thank you!