From fed19cf90a127a314868e3cf284d961920dc6633 Mon Sep 17 00:00:00 2001 From: BlueFox Date: Sat, 9 Mar 2024 19:21:52 +0000 Subject: [PATCH] Extended README.md with some kind of start instructions --- README.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index eb42c9e..2de5678 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,29 @@ # ProgramChooser -A library for microPython; it can be compared to an app launcher: just launch any function by usage of two buttons \ No newline at end of file +## What's this + +A library for microPython; it can be compared to an app launcher: just launch any function by usage of two buttons. +It was tested on a Raspberry Pi Pico. All other microPython boards are expected to work (maybe the LCD driver (see [here](PCF8574.py)) has to be ported) + + +## Needed peripherals + +Needed for proper work are: + +- an LCD panel with a PCF8574T backpack +- two buttons + +That's it. Nothing more needed. + +| Component | Pin on component | Pin on Board | +| :---------------- | :--------------: | ----------------: | +| Backpack | SDA | GPIO0 | +| Backpack | SCL | GPIO1 | +| Backpack | VCC | VBUS | +| Backpack | GND | GND | +| Button 1 | 1 | GPIO21 | +| Button 1 | 2 | GND | +| Button 2 | 1 | GPIO31 | +| Button 2 | 2 | GND | + +> [1]: This pin can be specified at initialization of the ProgramChooser, see the [examples](examples) folder. \ No newline at end of file