@@ -73,6 +73,13 @@ station.isconnected()
73
73
74
74
Install the latest package version of this lib on the MicroPython device
75
75
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
+
76
83
``` python
77
84
import upip
78
85
upip.install(' micropython-i2c-lcd' )
@@ -82,6 +89,16 @@ upip.install('micropython-i2c-lcd')
82
89
83
90
Install a specific, fixed package version of this lib on the MicroPython device
84
91
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
+
85
102
``` python
86
103
import upip
87
104
upip.install(' micropython-i2c-lcd==0.1.0' )
@@ -94,11 +111,18 @@ Install a specific release candidate version uploaded to
94
111
MicroPython device. If no specific version is set, the latest stable version
95
112
will be used.
96
113
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
+
97
121
``` python
98
122
import upip
99
123
# overwrite index_urls to only take artifacts from test.pypi.org
100
124
upip.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 ' )
102
126
```
103
127
104
128
### Manually
0 commit comments