Skip to content

Commit 98bf039

Browse files
committed
Adapt structure of L0
1 parent 0a12f6a commit 98bf039

1 file changed

Lines changed: 43 additions & 39 deletions

File tree

00_Einfuehrung.md

Lines changed: 43 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
3-
author: Sebastian Zug & André Dietrich & Fabian Bär
3+
author: Sebastian Zug, André Dietrich & `fjangfaragesh`, `FnHm`, `gjaeger`
44
email: sebastian.zug@informatik.tu-freiberg.de & andre.dietrich@informatik.tu-freiberg.de & fabian.baer@student.tu-freiberg.de
55
version: 0.0.1
66
language: de
@@ -13,49 +13,21 @@ import: https://raw.githubusercontent.com/liascript-templates/plantUML/master/
1313
1414
-->
1515

16-
# Organisation und Motivation
16+
# Einführung
1717

18-
**TU Bergakademie Freiberg - Wintersemester 2020 / 21**
18+
| Parameter | Kursinformationen |
19+
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
20+
| **Veranstaltung:** | `Eingebettete Systeme` |
21+
| **Semester** | `Sommersemester 2021` |
22+
| **Hochschule:** | `Technische Universität Freiberg` |
23+
| **Inhalte:** | `Motivation der Vorlesung "Eingebettete Systeme" und Beschreibung der Organisation der Veranstaltung` |
24+
| **Link auf den GitHub:** | [https://github.com/TUBAF-IfI-LiaScript/VL_Softwareentwicklung/blob/master/00_Einfuehrung.md](https://github.com/TUBAF-IfI-LiaScript/VL_EingebetteteSysteme/blob/master/00_Einfuehrung.md) |
25+
| **Autoren** | @author |
1926

20-
Hier findet ihr den Link auf die aktuelle Vorlesung im Versionsmanagementsystem GitHub
21-
22-
[https://github.com/TUBAF-IfI-LiaScript/VL_EingebetteteSysteme/blob/master/00_Einfuehrung.md](https://github.com/TUBAF-IfI-LiaScript/VL_EingebetteteSysteme/blob/master/00_Einfuehrung.md)
23-
24-
Die interaktive Form ist unter diesem [Link](https://liascript.github.io/course/?https://raw.githubusercontent.com/TUBAF-IfI-LiaScript/VL_EingebetteteSysteme/master/00_Einfuehrung.md#1) zu finden.
27+
![](https://media.giphy.com/media/26tn33aiTi1jkl6H6/source.gif)
2528

2629
---------------------------------------------------------------------
2730

28-
<div>
29-
<span id="simulation-time"></span>
30-
</div>
31-
```cpp avrlibc.cpp
32-
// preprocessor definition
33-
#define F_CPU 16000000UL
34-
#define ANSWER_TO_LIFE 42
35-
36-
#include <avr/io.h>
37-
#include <util/delay.h>
38-
39-
int main (void) {
40-
Serial.begin(9600);
41-
42-
volatile byte a;
43-
44-
asm ("ldi %0, %1\n\t"
45-
: "=r" (a)
46-
: "M" (ANSWER_TO_LIFE));
47-
48-
Serial.print("Antwort auf die Frage, warum ich an dieser Vorlesung teilnehme: ");
49-
Serial.println(a);
50-
51-
while(1) {
52-
_delay_ms(1000);
53-
}
54-
return 0;
55-
}
56-
```
57-
@AVR8js.sketch
58-
5931

6032
## Zielstellung
6133

@@ -112,6 +84,38 @@ Am Ende des Compiliervorganges entsteht daraus der sogenannte Maschinencode. Die
11284
:00000001FF
11385
```
11486

87+
<div>
88+
<span id="simulation-time"></span>
89+
</div>
90+
```cpp avrlibc.cpp
91+
// preprocessor definition
92+
#define F_CPU 16000000UL
93+
#define ANSWER_TO_LIFE 42
94+
95+
#include <avr/io.h>
96+
#include <util/delay.h>
97+
98+
int main (void) {
99+
Serial.begin(9600);
100+
101+
volatile byte a;
102+
103+
asm ("ldi %0, %1\n\t"
104+
: "=r" (a)
105+
: "M" (ANSWER_TO_LIFE));
106+
107+
Serial.print("Antwort auf die Frage, warum ich an dieser Vorlesung teilnehme: ");
108+
Serial.println(a);
109+
110+
while(1) {
111+
_delay_ms(1000);
112+
}
113+
return 0;
114+
}
115+
```
116+
@AVR8js.sketch
117+
118+
115119
{{3}}
116120
*******************************************************************************
117121

0 commit comments

Comments
 (0)