Merging code from Arduino to Raspberry pi

Hi all! Looking for some help for a job at a disability focussed therapy centre.

I'm using a thing called a picap for a raspberry pi.

https://www.bareconductive.com/shop/pi-cap/


I'm using this code here to trigger sounds

https://github.com/BareConductive/picap-touch-mp3-cpp


I'm hoping to add a play random functionality to this file.
There is an Arduino sketch that does this here.

https://github.com/BareConductive/random-touch-mp3


I'm hoping to combine the code to add the random functionality to the picap. They both run on C++ so I'm hoping the code is cross compatible.

It must be said I'm a hack at coding so any help most gratefully received!
Topic archived. No new replies allowed.