Skip to content

Commit c8abea8

Browse files
authored
Update README.md
1 parent d036425 commit c8abea8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is an example code for a 30 second timer using a common anode 4 digit displ
88
```python
99
import micropython_7seg
1010

11-
segments=micropython-7seg.Sevseg("anode")
11+
segments=micropython_7seg.Sevseg("anode")
1212

1313
segments.anode(13,27,14,12)
1414
segments.cathode(15,2,19,26,21,5,18)
@@ -30,7 +30,7 @@ import micropython_7seg
3030

3131
#After importing the module, create an object called "segments"(You can give any name).
3232

33-
segments = micropython-7seg.Sevseg("anode")
33+
segments = micropython_7seg.Sevseg("anode")
3434
#Enter "cathode" if you are using a common cathode display.
3535
```
3636
### 2) Set up the pin configuration:

0 commit comments

Comments
 (0)