problem motion detection + midi #4285
Replies: 1 comment
-
Posted at 2024-03-08 by @gfwilliams Hi - I see you closed this. Was it because you found the problem? Ideally you would call It is possible that you're calling Posted at 2024-03-08 by user155285 Hi Gordon, if you look closely , the midi send part isn't inside Puck.on('accel',function(a) {} 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?) Posted at 2024-03-08 by @gfwilliams
That'd odd - I guess maybe you had managed to save to flash so it runs all the time - but that's a bit dangerous so it's buried in the settings, or maybe you wrote to Writing to certain files means that you can have code that runs all the time, even after a reset. However |
Beta Was this translation helpful? Give feedback.
-
Posted at 2024-03-07 by user155285
hi,
I am trying to send midi cc only on motion detection, but I get nothing coming and the terminl issue me an error: WARNING: SD ERR 0x11 (BUSY) (:835)
I am using require("puckjsv2-accel-movement").on(); and suspect I am using setservices twice then which could be the problem? but not really sure where to look at.
here is the code:
Beta Was this translation helpful? Give feedback.
All reactions