Hi everyone. I am working on a project at my university where I have an Arduino that is using some sensors to read data. I wanted to go above and beyond on this project because it's for a final.
The setup consists of an Arduino that will be connected to my MacBook via USB. This Arduino is going to send data values from its sensor when it receives a command. These commands will be uploaded to the CloudKit database from the users iPhone via a button in the UI. They will then be fetched from the CloudKit database on the MacBook where they will be sent to the Arduino. When the data returns to the MacBook, it will then be uploaded to the database where the users device will fetch the updated data and display it on the screen.
I know this is not the ideal system by any means but it is what I have to work with.
I've mostly finished the iOS side of things and have a working test app but my issue is the MacBook portion of the system.
How can I preform this serial port communication and utilize CloudKit at the same time?
2
0
810