diff --git a/books/beaglebone-cookbook/01basics/basics.rst b/books/beaglebone-cookbook/01basics/basics.rst index 02121e0f25207aec7b452901699656a256ff79b5..f96f0876f209c605136ae3d93dbac24f893a346a 100644 --- a/books/beaglebone-cookbook/01basics/basics.rst +++ b/books/beaglebone-cookbook/01basics/basics.rst @@ -131,7 +131,7 @@ following the instructions in :ref:`basics_out_of_the_box` to log into the Bone. .. code-block:: bash - bone$ cat /ID.txt + bone$ cat /etc/dogtag BeagleBoard.org Debian Bullseye IoT Image 2023-06-03 I'm running the 2023-06-03 version. diff --git a/books/beaglebone-cookbook/03displays/displays.rst b/books/beaglebone-cookbook/03displays/displays.rst index b035731cc0e82ffb0fab76f41511d6a2789fdac1..050947d8ba32913387cac4b47ee7b61c4de5a4fc 100644 --- a/books/beaglebone-cookbook/03displays/displays.rst +++ b/books/beaglebone-cookbook/03displays/displays.rst @@ -55,7 +55,7 @@ through *USR3*, but we'll refer to them as the *USER* LEDs. The four *USER* LEDs -Place the code shown in :ref:`js_internLED_code` in a file called ``internLED.js``. +Place the code shown in :ref:`py_internLED_code` in a file called ``internLED.py``. You can do this using VSC to edit files (as shown in :ref:`basics_vsc`) or with a more traditional editor (as shown in :ref:`tips_editing_files`). @@ -67,21 +67,20 @@ a more traditional editor (as shown in :ref:`tips_editing_files`). :download:`internLED.py <../code/03displays/internLED.py>` -.. _js_internLED_code: +.. _c_internLED_code: -.. literalinclude:: ../code/03displays/internLED.js - :caption: Using an internal LED (internLED.js) +.. literalinclude:: ../code/03displays/internLED.c + :caption: Using an internal LED (internLED.c) :linenos: -:download:`internLED.js <../code/03displays/internLED.js>` +:download:`internLED.c <../code/03displays/internLED.c>` In the *bash* command window, enter the following commands: .. code-block:: bash bone$ cd ~/beaglebone-cookbook-code/03displays - bone$ ./internLED.js - + bone$ ./internLED.py The *USER0* LED should now be flashing. diff --git a/books/beaglebone-cookbook/05tips/tips.rst b/books/beaglebone-cookbook/05tips/tips.rst index 988e040ea4cd9d72b7eade7ef76d48bd9cbcaee2..612ea8bdbc6c5897682410b5282665f54568cde7 100644 --- a/books/beaglebone-cookbook/05tips/tips.rst +++ b/books/beaglebone-cookbook/05tips/tips.rst @@ -380,9 +380,8 @@ Log in to your Bone and enter the following command: BeagleBoard.org Debian Bullseye IoT Image 2023-06-03 -:ref:`basics_latest_os` shows how to open the ``ID.txt`` file to see the OS version. -The ``/etc/dogtag`` file has the same contents and is easier to find if you already -have a command prompt. See :ref:`basics_install_os` if you need to update your OS. +:ref:`basics_latest_os` shows how to open the ``/etc/dogtag`` file to see the OS version. +See :ref:`basics_install_os` if you need to update your OS. Controlling the Bone Remotely with a VNC =========================================