.. include:: Embedded Computing 1 (STECE-2024): Summer ========================================= .. toctree:: :maxdepth: 1 syllabus .. topic:: Git Repository On ``codeberg.org`` * https://codeberg.org/jfasch/FH-STECE2024 2026-02-22: Intro ----------------- * Login to Pi at home: ``ssh -p 2022 jfasch.bounceme.net`` .. code-block:: console $ ls -l /sys/class/hwmon/ $ ls -l /sys/class/hwmon/hwmon2/ * Show how to use that sensor from the commandline (see :doc:`/trainings/material/soup/linux/hardware/w1/topic`) * Write a C++ program that reads the sensor value in a loop (a "data logger", so to say) .. literalinclude:: code/intro.cpp :caption: :download:`code/intro.cpp` :language: c++ 2026-02-2{3,4}: Prepare Work Environment ---------------------------------------- Install OS .......... Current options ... * Use Egon Teiniker's Debian VirtualBox image from previous semesters * *Pro*: already there * *Con*: compiler version *might* be too low for our C++ topics * Use Windows Subsystem for Linux (WSL2), see :doc:`/trainings/material/soup/linux/basics/intro/wsl` * *Pro* * Seamless integration with Windows * VS Code extension(s) available * The way to go * *Con* * No Linux GUI program possible (yet) * Use MacOS * *Pro*: already there * *Con*: not Linux, for that matter * Use Linux * *Pro*: best * *Con*: none Programming Environment, Project ................................ * Clone and build project according to its build instructions https://codeberg.org/jfasch/FH-STECE2024