Running the code
Now that you have written the code, is time to run it.
1.Ensure you have already paired Edison with your device (in case you haven't, please refer to Setting up BT.
2.Ensure you are located at your project's directory
root@edison cd
root@edison cd Edison_Bluetooth/projects/hospital-assistant
3.Run your code using Python
root@edison python hospital_assistant.py
...
4.Go to your BT App and connect to Edison
NOTE: In order to connect your BT APP wiht Edison, the above script should be running, otherwise, you'll experience connection errors
5.You should now see your code working