From 00dcfb24eb7c891b7d8e79c1c1cd0b7cc4875a8a Mon Sep 17 00:00:00 2001 From: "Mark A. Yoder" <Mark.A.Yoder@Rose-Hulman.edu> Date: Wed, 14 Jun 2023 16:50:52 -0400 Subject: [PATCH] Added externLED.c --- books/beaglebone-cookbook/03displays/displays.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/books/beaglebone-cookbook/03displays/displays.rst b/books/beaglebone-cookbook/03displays/displays.rst index 050947d8..a26077d8 100644 --- a/books/beaglebone-cookbook/03displays/displays.rst +++ b/books/beaglebone-cookbook/03displays/displays.rst @@ -135,13 +135,13 @@ and find the code shown in :ref:`py_externLED_code`. :download:`externLED.py <../code/03displays/externLED.py>` -.. _js_externLED_code: +.. _c_externLED_code: -.. literalinclude:: ../code/03displays/externLED.js - :caption: Code for using an external LED (externLED.js) +.. literalinclude:: ../code/03displays/externLED.c + :caption: Code for using an external LED (externLED.c) :linenos: -:download:`externLED.js <../code/03displays/externLED.js>` +:download:`externLED.c <../code/03displays/externLED.c>` Save your file and run the code as before (:ref:`displays_onboardLED`). -- GitLab