README.md add Menu image.

pull/8/head
Peter Hinch 2021-07-13 13:41:25 +01:00
rodzic cad9767688
commit b7df9c99fe
3 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -2110,6 +2110,7 @@ value changes. This enables dynamic color change.
```python
from gui.widgets.menu import Menu
```
![Image](./images/menu.JPG)
This enables the creation of single or two level menus. The top level of the
menu consists of a row of `Button` instances at the top of the screen. Each

Wyświetl plik

@ -51,4 +51,4 @@ sel = Pin(16, Pin.IN, Pin.PULL_UP) # Operate current control
prev = Pin(18, Pin.IN, Pin.PULL_UP) # Move to previous control
increase = Pin(20, Pin.IN, Pin.PULL_UP) # Increase control's value
decrease = Pin(17, Pin.IN, Pin.PULL_UP) # Decrease control's value
display = Display(ssd, nxt, sel, prev, increase, decrease, 5)
display = Display(ssd, nxt, sel, prev, increase, decrease) #, 5)

BIN
images/menu.JPG 100644

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 119 KiB