Skip to content

hakanrw/lua-lcd-gadget

Repository files navigation

lua-lcd-gadget

embedded Lua and LCD module for the RP2040 Raspberry Pi Pico microcontroller.

lua-lcd-gadget

required hardware

  • 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

required software

  • CMake
  • pico-sdk
  • arm-none-eabi cross compiler (gcc preferred, clang works)

setting up

wire your components like the picture as shown at the top.

if you change your pins, edit gadget.h appropriately.

building

cmake -B build && cmake --build build

flashing

cp ./build/five_bit_counter.uf2 /<the mount place of pico>

license

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.

About

embedded Lua and LCD module for the RP2040 Raspberry Pi Pico microcontroller.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors