Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:iot-open:scriptingprogramming [2023/11/21 10:57] pczekalskien:iot-open:scriptingprogramming [2024/03/05 13:42] (current) – [Programming with the use of scripts] pczekalski
Line 1: Line 1:
-====== Programming with the use of scripts ======+ 
 +====== Programming with the Use of Scripts ====== 
 +{{:en:iot-open:czapka_b.png?50| General audience classification icon }}{{:en:iot-open:czapka_m.png?50| General audience classification icon }}{{:en:iot-open:czapka_e.png?50| General audience classification icon }}\\
 Several programming models for IoT script programming are available. Depending on the hardware model used (SoC or OS-based MCU), it may involve single script execution (e.g. Raspberry Pi Pico RP2040, Edge-class IoT) or multithreaded, parallel, multiple scripts, doing multiple tasks (e.g. Raspberry Pi 4, Fog-class IoT). The idea and model of the scripting programming for SoC class devices (edge) were presented in the chapter [[en:iot-open:introductiontoembeddedprogramming2|Script Programming with Middleware]].\\ In the case of far more powerful, Fog-class IoT devices that are OS-based devices, a variety of programming languages and, thus, scripting interpreters are available. Several programming models for IoT script programming are available. Depending on the hardware model used (SoC or OS-based MCU), it may involve single script execution (e.g. Raspberry Pi Pico RP2040, Edge-class IoT) or multithreaded, parallel, multiple scripts, doing multiple tasks (e.g. Raspberry Pi 4, Fog-class IoT). The idea and model of the scripting programming for SoC class devices (edge) were presented in the chapter [[en:iot-open:introductiontoembeddedprogramming2|Script Programming with Middleware]].\\ In the case of far more powerful, Fog-class IoT devices that are OS-based devices, a variety of programming languages and, thus, scripting interpreters are available.
  
Line 5: Line 7:
   * Bash scripting (OS command scripting) usually does not provide support for the GPIO, intended to automate OS tasks,   * Bash scripting (OS command scripting) usually does not provide support for the GPIO, intended to automate OS tasks,
   * Python scripting, cross-platform for both Edge-class devices (Micrpython) and Fog-class (regular Python, usually run on Linux),   * Python scripting, cross-platform for both Edge-class devices (Micrpython) and Fog-class (regular Python, usually run on Linux),
-  * C#, limited to the Windows IoT for Raspberry P.+  * C#, limited to the Windows IoT for Raspberry Pi.
  
 === Bash scripting === === Bash scripting ===
Line 15: Line 17:
 === C# .NET === === C# .NET ===
 When writing this publication, the .NET framework with C# interpreter is available only for Raspberry Pi devices as a part of the Windows IoT operating system ((https://dotnet.microsoft.com/en-us/apps/iot)). It is a niche, still fully functional and solid solution. Its newer versions are available only as a commercial product, however.  When writing this publication, the .NET framework with C# interpreter is available only for Raspberry Pi devices as a part of the Windows IoT operating system ((https://dotnet.microsoft.com/en-us/apps/iot)). It is a niche, still fully functional and solid solution. Its newer versions are available only as a commercial product, however. 
 +<WRAP excludefrompdf>
 In the following chapters there is a brief introduction to programming with scripts for IoT devices in Python and C#: In the following chapters there is a brief introduction to programming with scripts for IoT devices in Python and C#:
   * [[en:iot-open:scriptingprogramming:pythonfundamentals]],   * [[en:iot-open:scriptingprogramming:pythonfundamentals]],
   * [[en:iot-open:getting_familiar_with_your_hardware_rtu_itmo_sut:raspberrypi_rpi:programming_fundamentals_winiot]].   * [[en:iot-open:getting_familiar_with_your_hardware_rtu_itmo_sut:raspberrypi_rpi:programming_fundamentals_winiot]].
 +</WRAP>
en/iot-open/scriptingprogramming.1700564274.txt.gz · Last modified: 2023/11/21 10:57 by pczekalski
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0