whaleygeek / bitio

A micro:bit I/O device library for Python
Other
92 stars 31 forks source link

Feature proposal : set serial port via environment variable #40

Closed bcopy closed 1 year ago

bcopy commented 1 year ago

AFAIK, the only way to bypass the port scan upon startup is to create a portscan.cache file. It would be helpful to be able to use an environment variable to the same effect.

musabkilic commented 1 year ago

I can work on this if you like the idea @whaleygeek

-------- Original Message -------- On Nov 24, 2022, 15:11, Brice Copy wrote:

AFAIK, the only way to bypass the port scan upon startup is to create a portscan.cache file. It would be helpful to be able to use an environment variable to the same effect.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

whaleygeek commented 1 year ago

Sounds like a good idea @musabkilic go for it!!!

whaleygeek commented 1 year ago

https://github.com/whaleygeek/bitio/commit/6f294fbd740177d513007e80adb690fcf1e0f123 fixes this request