Skip to content

Instantly share code, notes, and snippets.

@raspberrypisig
Last active November 16, 2025 05:17
Show Gist options
  • Select an option

  • Save raspberrypisig/9fc1b79f1f6f89865731bccd9d298988 to your computer and use it in GitHub Desktop.

Select an option

Save raspberrypisig/9fc1b79f1f6f89865731bccd9d298988 to your computer and use it in GitHub Desktop.
# -------------------------------------------------
# 1.  Project setup
# -------------------------------------------------
espforge:
  name: blinky
  description: Demonstrate blinky app
  platform: esp32
  
esp32:
  pins:
    gpio2: { subsystem: GPIO, state: {pin: 2, direction: output } }
    
components:
  red_led: { using: LED, state: { gpio_pin: gpio2 } }


program:
  setup:
  task:
  loop:
    - call: LED.toggle
      with:
        input: red_led
    - call: DELAY.delay_millis
      with:
        delay_ms: 500
 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment