30 Days Lost in Space → Help Center
Libraries — 30 Days Lost in Space Help Center
Component guides, wiring references, code explanations and fixes for the errors people hit most in 30 Days Lost in Space.
Libraries
Software library documentation: display drivers, encoders, and more
- BasicEncoder: Rotary Encoder Library — Count pulses from rotary encoder knobs with minimal code. BasicEncoder handles debouncing and direction detection so you can focus on what to do with the turns.
- Keypad Library — Simplify matrix keypad scanning. The Keypad library handles row-column multiplexing so you can focus on what to do with the key presses.
- TM1637: 7-Segment Display Driver — Control 4-digit 7-segment displays with just 2 pins. Display numbers, time, and simple text for counters and clocks.
- Tone: Sound Generation — Generate square wave tones on any digital pin. The built-in tone() function is all you need to make buzzers beep, play melodies, and create sound effects.
- U8g2 Library: U8g2lib.h OLED Display Guide — Use the U8g2 library (U8g2lib.h) on a 128x64 OLED: the SH1106 constructor, full vs page buffer, fonts, text, shapes, bitmaps and tested sketches.
- Wire Library (I2C Communication) — The built-in Wire library lets your board talk to I2C devices like OLED displays and sensors using just two wires: SDA and SCL.