Pirates, I’ve built Jiri Praus’s Beating LED Heart sculpture (Beating LED Heart : 10 Steps (with Pictures) - Instructables) & am trying to wire it up with a Feather M0 and a max30102. I chose the Feather because 1) I had it on hand and 2) it has pass-through charging so would involve less work than Jiri’s masterpiece (I have no skill).
When using Jiri’s sketch I get LEDs to flash red for 20 seconds, then I don’t seem to be getting any reading from the max30102. Adding a print statement shows a zero value each time the irValue is read in the main loop.
I’ve tried SparkFun’s Arduino libraries, but I’m really not very familiar with Arduino. Results of trying their examples (Ex1 doesn’t work - when uncommenting SerialUSB as instructed I get: error: ‘SerialUSB’ was not declared in this ) are similar to Example2, which doesn’t output anything with the word ERROR, compiles, and uploads, but then shows about three screens of red output starting with this:
“Set binary mode
I see the Pirates have a python library for their max30105. Again, I’m new at this so kindly excuse the n00b question. If I switch to Python, and buy and wire up this board, can I incorporate the Pimoroni library for max30105 into CircuitPython? I see how to pip install it for a Raspberry Pi, but if I use a Feather M0 is that code useful on that board, too?
Thanks for tolerating my cluelessness. Hoping to get this to work & if I do, I’ll be sure to share how I got it all done.