cd meat-freshment-monitor-system/codes/main- open ardion IDE, then compile and upload code.
cd meat-freshment-monitor-system/codes/python_makemake run
- 在
meat-freshment-monitor-system/codes/main資料夾中 - makefile 有解決 permission 問題和自動排版的功能,使用
make功能即可。 - 使用 arduino IDE 作為環境, upload 後,即可開始使用 python code 預測。
- 使用 arduino IDE upload code 到 arduino board 之後,到
meat-freshment-monitor-system/codes/python_資料夾中 - 使用 makefile 即可建立模型,並開始即時預測肉類新鮮度分類。
- 若有 makefile 使用上問題,可使用
make help
[Error] Uploading sketch 'sensor.ino': Exit with code=1-
modify the permission of
/dev/ttyACMXXX(varies depending on device) port, which arduino board used, with the commandchmod -
it's fixed in makefile
-