{
  "authors": [
    "Martin Krischik <krischik@users.sourceforge.net>"
  ],
  "build-switches": {
    "*": {
      "ada_version": [
        "-gnat2022"
      ]
    },
    "development": {
      "compile_checks": "Warnings",
      "contracts": "Yes",
      "runtime_checks": "Overflow"
    },
    "release": {
      "compile_checks": "Warnings",
      "contracts": "No",
      "runtime_checks": "Default"
    },
    "validation": {
      "compile_checks": "Warnings",
      "contracts": "Yes",
      "runtime_checks": "Everything"
    }
  },
  "configuration": {
    "values": {
      "light_tasking_rp2040": {
        "Board": "rpi_pico",
        "Max_CPUs": 2
      },
      "rp2040_hal": {
        "Interrupts": "bb_runtimes",
        "Use_Startup": false
      }
    }
  },
  "depends-on": [
    {
      "light_tasking_rp2040": "^15.3",
      "pico_bsp": "^2.2",
      "rp2040_hal": "^2.7.1"
    }
  ],
  "description": "Chapter 2 - Button controled LEDs",
  "executables": [
    "sketch_02_1_button_and_led",
    "sketch_02_2_table_lamp"
  ],
  "licenses": "GPL-3.0-or-later",
  "long-description": "Controlling an LED with a button on the Raspberry Pi Pico using Ada - two simple\nbut useful interaction examples.\n\nIn this chapter I combine a push button with an LED. We start with basic on/off control, then move to a toggle-style\ntable lamp with software debounce.\n\nContained in Chapter 02 are:\n\n1. sketch_02_1_button_and_led - Chapter 2.1 Switch LED with Button\n2. sketch_02_2_table_lamp     - Chapter 2.2 Simple table lamp\n\nRead the full tutorial at [Chapter 2 - Button &\nLED](https://pi-ada-tutorial.sourceforge.io/pico_ada_c02_button_and_led), [GNATdoc\ndocumentation](https://pi-ada-tutorial.sourceforge.io/gnatdoc/pico_ada_c02_button_and_led/), [SourceForge\nrepository](https://sourceforge.net/p/pi-ada-tutorial/code/ci/master/tree/pico_ada_c02_button_and_led/)\n",
  "maintainers": [
    "Martin Krischik <krischik@users.sourceforge.net>"
  ],
  "maintainers-logins": [
    "krischik"
  ],
  "name": "pico_ada_c02_button_and_led",
  "origin": {
    "hashes": [
      "sha256:a2ec4b3d003662f4c7591cbf5cf84404d4fd3d73b23abf34ce0b7468bb0e21f0",
      "sha512:f5f4ca4504e16a0c76f5d14cf93e7a1797967d4568dc438077a90673124561b68f12ebdc700da9fffcdfcf45066777fb26747d7e9c1ab2ddd71bc4670fe2faa3"
    ],
    "url": "https://sourceforge.net/projects/pi-ada-tutorial/files/Alire/pico_ada_c02_button_and_led-1.5.2.tgz"
  },
  "tags": [
    "raspberry",
    "pi",
    "pico",
    "rp2040",
    "tasking",
    "light-tasking",
    "ada2022",
    "embedded"
  ],
  "version": "1.5.2",
  "website": "https://pi-ada-tutorial.sourceforge.io/pico_ada_c02_button_and_led"
}
