@@ -73,6 +73,13 @@ station.isconnected()
7373
7474Install the latest package version of this lib on the MicroPython device
7575
76+ ``` python
77+ import mip
78+ mip.install(" github:brainelectronics/micropython-i2c-lcd" )
79+ ```
80+
81+ For MicroPython versions below 1.19.1 use the ` upip ` package instead of ` mip `
82+
7683``` python
7784import upip
7885upip.install(' micropython-i2c-lcd' )
@@ -82,6 +89,16 @@ upip.install('micropython-i2c-lcd')
8289
8390Install a specific, fixed package version of this lib on the MicroPython device
8491
92+ ``` python
93+ import mip
94+ # install a verions of a specific branch
95+ mip.install(" github:brainelectronics/micropython-i2c-lcd" , version = " feature/initial-implementation" )
96+ # install a tag version
97+ mip.install(" github:brainelectronics/micropython-i2c-lcd" , version = " 0.1.0" )
98+ ```
99+
100+ For MicroPython versions below 1.19.1 use the ` upip ` package instead of ` mip `
101+
85102``` python
86103import upip
87104upip.install(' micropython-i2c-lcd==0.1.0' )
@@ -94,11 +111,18 @@ Install a specific release candidate version uploaded to
94111MicroPython device. If no specific version is set, the latest stable version
95112will be used.
96113
114+ ``` python
115+ import mip
116+ mip.install(" github:brainelectronics/micropython-i2c-lcd" , version = " 0.1.0-rc3.dev1" )
117+ ```
118+
119+ For MicroPython versions below 1.19.1 use the ` upip ` package instead of ` mip `
120+
97121``` python
98122import upip
99123# overwrite index_urls to only take artifacts from test.pypi.org
100124upip.index_urls = [' https://test.pypi.org/pypi' ]
101- upip.install(' micropython-i2c-lcd==0.1.0rc1.dev2 ' )
125+ upip.install(' micropython-i2c-lcd==0.1.0rc3.dev1 ' )
102126```
103127
104128### Manually
0 commit comments