30 Days Lost in Space → Help Center
HERO Board Basics — 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.
HERO Board Basics
Platform reference: pins, boards, IDE, and upload workflow
- Analog Input: analogRead — Read continuous values from sensors and potentiometers. The ADC converts voltages (0-5V) into numbers (0-1023) for your code.
- Digital I/O: pinMode, digitalRead, digitalWrite — The three core digital functions. Control LEDs, read buttons, and interface with on/off components using HIGH and LOW signals.
- How to Use PWM in Arduino Code (analogWrite) — Use PWM with analogWrite(pin, 0 to 255) on pins 3, 5, 6, 9, 10 and 11 to dim LEDs and mix colors. Timers, frequencies, tested sketches and FAQ.
- Serial Monitor — Your debugging lifeline. Print messages from your board to the computer screen to see what your code is doing in real time.