embedded Lua and LCD module for the RP2040 Raspberry Pi Pico microcontroller.
- Raspberry Pi Pico
- 1x breadboard
- 1x I2C LCD screen
- 2x LEDs (1 green, 1 red)
- 2x micro buttons
- 4x 220 ohm resistors
- 2x 10K ohm resistors
- cables
- CMake
- pico-sdk
- arm-none-eabi cross compiler (gcc preferred, clang works)
wire your components like the picture as shown at the top.
if you change your pins, edit gadget.h appropriately.
cmake -B build && cmake --build build
cp ./build/five_bit_counter.uf2 /<the mount place of pico>
Copyright (c) 2024 Hakan Candar
All rights reserved.
This source code is licensed under the BSD 2-Clause License found in the
LICENSE file in the root directory of this source tree.
