Skip to main content

03-External

Overview

This section features common examples of peripheral modules. Unlike simple pin control blocks, these modules require specialized software libraries for operation. Hence, they are separated into a distinct category.

Module Introduction

Peripheral ModulesDescription
BuzzerMake a buzzer sound at a specified frequency.
Single LEDChange the color of a single LED.
Specified LEDChange the color of a specified LED. This block allows color settings via code.
Turn Off LEDTurn off the specified LED.
UltrasonicSingle-pin ultrasonic sensor.
VoltageReturn the power supply voltage.

Example Programs

Flowing Lights

A visual effect where the color gradually deepens, mimicking flowing lights.

  • Wiring
    Wiring Diagram

  • Code
    Code Diagram

Collision Warning

Simulates real-world scenarios where vehicles emit a warning sound when close to colliding with an object.

  • Wiring
    Wiring Diagram

  • Code
    Code Diagram