{
  "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 3 - Cylon LED Bar: flowing light upgraded to a menacing scanner",
  "executables": [
    "sketch_03_1_flowing_light",
    "cylon_light_float",
    "cylon_light"
  ],
  "licenses": "GPL-3.0-or-later",
  "long-description": "Building a smooth flowing LED bar on the Raspberry Pi Pico with Ada - from a simple\nchasing light to a proper menacing Cylon scanner effect using real-time delays.\n\nIn this chapter we turn ten LEDs into a flowing light bar. We start with the basic Freenove example using an array of\nRP.GPIO.GPIO_Point (aliased limited tagged types). We then improve it with a pre-calculated sine-harmonic timing table\nto create a realistic Cylon scanner - all done with Ada.Real_Time and zero floating-point at runtime for perfect\njitter-free movement.\n\nContained in Chapter 03 are:\n\n1. Sketch_03_1_Flowing_Light  - straight port of the classic flowing light\n2. Cylon_Light\t\t      - the final dramatic Cylon scanner with organic easing\n3. Cylon_Light_Float\t      - Floating point version of Cylon_Light\n\nRead the full tutorial at [Chapter 3 - Cylon LED Bar: flowing light upgraded to a menacing\nscanner](https://pi-ada-tutorial.sourceforge.io/pico_ada_c03_led_bar), [GNATdoc\ndocumentation](https://pi-ada-tutorial.sourceforge.io/gnatdoc/pico_ada_c03_led_bar/), [SourceForge\nrepository](https://sourceforge.net/p/pi-ada-tutorial/code/ci/master/tree/pico_ada_c03_led_bar/)\n\n(The Cylons did nothing wrong. Humans created the perfect companion species and then completely messed it up.)\n",
  "maintainers": [
    "Martin Krischik <krischik@users.sourceforge.net>"
  ],
  "maintainers-logins": [
    "krischik"
  ],
  "name": "pico_ada_c03_led_bar",
  "origin": {
    "hashes": [
      "sha256:5d8cdfe3d4fa43d4aef73b6acba0924e8f555386db8a0efe91aedfaa6e027a4a",
      "sha512:5143f0a0eab2149b818d89c6a0da37124e9612a521eccc65c8315d8ff19dde0777eadef73f8e29bf01c18a24f27db25ae7afe18753e3f650359e6fb00ffeeea1"
    ],
    "url": "https://sourceforge.net/projects/pi-ada-tutorial/files/Alire/pico_ada_c03_led_bar-1.6.0.tgz"
  },
  "tags": [
    "raspberry",
    "pi",
    "pico",
    "rp2040",
    "tasking",
    "light-tasking",
    "ada2022",
    "embedded"
  ],
  "version": "1.6.0",
  "website": "https://pi-ada-tutorial.sourceforge.io/pico_ada_c03_led_bar"
}
