diff --git a/README.md b/README.md index fd0b8c3..8038ca9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/hardware_setup.py b/hardware_setup.py index 3049d80..a1ece16 100644 --- a/hardware_setup.py +++ b/hardware_setup.py @@ -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) diff --git a/images/menu.JPG b/images/menu.JPG new file mode 100644 index 0000000..19448d5 Binary files /dev/null and b/images/menu.JPG differ