Software usage #28
-
Hi, I am using your project in order to make one of my own, but I am using an MKR ZERO board. And I would like to ask if it would be possible to know a bit how the program works, and what parts I would need just to do the detections as I would like to convert it into an MKR ZERO usable program. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, The setup functions are basically self explanatory and the loop functions mostly only handle the serial output. I have no idea what the MKR ZERO can or cannot do, so you'll have to figure it out on your own. You could just try to compile it within the Arduino IDE and just remove bits that throw an error except for the Hope I could help at least a little bit. |
Beta Was this translation helpful? Give feedback.
Hi,
Basically the most important function is the
eventInt
function that is tied to an interrupt. It triggers when the threshold is exceeded and enabled the ADC measurements with averaging and so on. You'd need to keep that, most of the other functions only deal with Pico related stuff or serial input/output.The setup functions are basically self explanatory and the loop functions mostly only handle the serial output. I have no idea what the MKR ZERO can or cannot do, so you'll have to figure it out on your own. You could just try to compile it within the Arduino IDE and just remove bits that throw an error except for the
eventInt
function obviously.Hope I could help at least a little bit.