bablokb / circuitpython-tm1637

CircuitPython library für the TM1637 7-Segment Display
MIT License
19 stars 6 forks source link

import subprocess? #3

Closed xgpt closed 1 year ago

xgpt commented 2 years ago

circuitpython yells at me when trying to import subprocess. how does one import subprocess? It appears to be a micropython thing.

bablokb commented 2 years ago

oh yes. It is in the sample main.py and not used at all, so indeed probably a leftover from a micropython example. The reason I did not notice it was that I developed this using Blinka, and Blinka uses the system python installation which does have a subprocess module.

So just remove it from main.py and try again. If it works, could you please report back? I will update the repo then.

xgpt commented 2 years ago

I believe it did but it was a while ago since I played with it I'm sorry!

richpaul6806 commented 1 year ago

removing subprocess worked.

bablokb commented 1 year ago

Thanks. Fixed with https://github.com/bablokb/circuitpython-tm1637/commit/7255a68ed3448f6dd6423ae47192fef2718988ee