Here’s my plan: have a python script running hardware pwm code for a brushless motor im using. The idea is to have an iPhone have an app where 1. The python code can be interacted with to adjust a variable in the code(I’ll be writing my own code for this, I just need the interaction part) and 2. Have the pi with a sense-hat or something equivalent relay data back to the iPhone to create graphs in the iPhone app. I was thinking I could make the pi into its own AP because all this will need to be offline without any internet connection(I can set it up online with the internet and stuff however the implementation for this will require everything to be disconnected from the internet. So: 1. Is there a way to make an iPhone app with a GUI that controls something on the rpi and reads back data from it via PYTHON? 2. Can this be done my making the pi into its own access point and use WiFi or would Bluetooth be a better approach(I’m open to anything)?
Thanks in advance!
P.S I know very little php, JavaScript, Swift, etc. I’m in high school and this is for a project I’m doing, I know my share of python however, but please don’t hold back in your answering! I looked this up a lot and couldn’t find any other question like this. Thank you.