Mon Apr 27, 2020 12:06 pm
Hi, I've searched many forums but I can't seem to find an answer for this. I want to run a unity game on Rpi. I know I have to do this by installing android on the Pi. No problem. However, I want to also access the GPIO functionality of the Pi to send some peripheral commands based on the player's environment (light up an LED when they enter a well lit room, trigger a fan when they walk around a corner and a breeze is blowing, etc). However, I don't even know if it's possible to access the GPIO when running the pi in android OS as all the GPIO tutorials/code snippets that I can find are written in python. I just don't know how to combine the two technologies: android + python, to get the desired effect. Any help or direction is much appreciated. Perhaps there's a library that I don't know about? Or a different approach all together that I should consider?