diff --git a/books/beaglebone-cookbook/03displays/displays.rst b/books/beaglebone-cookbook/03displays/displays.rst index 050947d8ba32913387cac4b47ee7b61c4de5a4fc..a26077d8dbf341a697e19fcb48a4b39eeadfdca9 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`).