EdgePi-Cloud / edgepi-python-sdk

Python SDK to control EdgePi, an industrial PC/PLC/IoT device powered by Raspberry Pi CM4
MIT License
5 stars 3 forks source link

PWM Concurrency #401

Open sjpark608 opened 10 months ago

sjpark608 commented 10 months ago

related to #400

We've discussed what'd be the expected behaviour of reading/writing closed file. The program should bubble up the exception thrown when read/write the closed file to notify there's a thread closed the PWM file (intentionally and unintentionally).

need to implement try, except finally structure in set_config to bubble up the exception with proper exception