<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lern- &amp; Lehrmaterialien Archive &#187; brickobotik</title>
	<atom:link href="https://www.brickobotik.de/category/lernen-lehren/lern-lehrmaterialien/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.brickobotik.de/category/lernen-lehren/lern-lehrmaterialien/</link>
	<description>- Digitale Bildung für alle - Deine Quelle zu den Themen Robotik, 3D-Druck und Mikrocontroller.</description>
	<lastBuildDate>Tue, 07 Sep 2021 09:23:59 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>c4ev3 – Praktikum 5: Endlosschleifen</title>
		<link>https://www.brickobotik.de/c4ev3-praktikum-5-endlosschleifen/</link>
					<comments>https://www.brickobotik.de/c4ev3-praktikum-5-endlosschleifen/#comments</comments>
		
		<dc:creator><![CDATA[Felix Krawczyk]]></dc:creator>
		<pubDate>Thu, 11 Apr 2019 05:30:39 +0000</pubDate>
				<category><![CDATA[Lern- & Lehrmaterialien]]></category>
		<category><![CDATA[Programmiersprachen]]></category>
		<category><![CDATA[Aufgabe 5]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[c4ev3]]></category>
		<category><![CDATA[LEGO Mindstorms EV3]]></category>
		<category><![CDATA[Lehre]]></category>
		<category><![CDATA[Praktikum]]></category>
		<category><![CDATA[Programmieren]]></category>
		<guid isPermaLink="false">https://www.brickobotik.de/?p=1824</guid>

					<description><![CDATA[<p>In der fünften Praktikumsaufgabe lernen wir eine Sonderform der Schleife kennen: die Endlosschleife. Damit kann der EV3 ewig im Quadrat fahren.</p>
<p>Der Beitrag <a href="https://www.brickobotik.de/c4ev3-praktikum-5-endlosschleifen/">c4ev3 – Praktikum 5: Endlosschleifen</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="et_pb_section et_pb_section_0 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_0">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_0  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_0  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">Nach den &#8222;normalen&#8220; Schleifen im letzten Praktikum, lernen wir in diesem Praktikum eine Sonderform der Schleife kennen, welche es so nur auf Mikrocontrollern gibt: die Endlosschleife. Endlosschleifen werden am häufigsten in eingebetteten Systemen eingesetzt und dort meist auf Mikrocontrollern, wie sie im EV3 verbaut sind. <br />Wenn du bisher noch kein c4ev3-Projekt in Eclipse angelegt hast, hilft dir unsere <a href="https://www.brickobotik.de/c4ev3-praktikum-1-erstellen-eines-projekts/">erste Praktikumsaufgabe</a> dabei.</p></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_1  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Zweck</h1>
<p style="text-align: justify;">Endlosschleifen sind ein wichtiger Bestandteil auf Mikrocontrollern, denn häufig ist gewünscht, dass ein Roboter nach dem Einschalten ununterbrochen seinem Programm nachgeht, bis er wieder ausgeschaltet wird. <br />Dadurch kommt es aber auch zu Schwierigkeiten in der Programmierung. Ihr müsst deshalb einen Ausweg bzw. einen Endpunkt für die Schleife finden. Dies nennt man Abbruchbedingung.</p></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_2  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Vorbereitung</h1>
<p style="text-align: justify;">Zur Vorbereitung erstellt ihr wie im vorherigen Praktikum zunächst ein neues c4ev3-Projekt. Wir starten wir diesmal wieder mit einem „Empty Project“-Projekt, da wir die Befehle, welche Eclipse uns vorher abgenommen hat, nun selber vertiefen wollen.</p></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_3  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Aufgabe</h1>
<p style="text-align: justify;">Programmiere den Roboter so, dass er das kleine Quadrat endlos fährt. Dazu soll der EV3 10 cm vorfahren und sich um 90° drehen. Dies soll er solange wiederholen, bis die Abbruchbedingung erfüllt ist. Du musst also eine geeignete Abbruchbedingung wählen. Solltest du Schwierigkeiten bei der Auswahl haben, findest du unsere Abbruchbedingung als Anregung in den Tipps.</p>
<p style="text-align: justify;">Die Befehle, die für dieses Praktikum notwendig sind, kannst du aus der <a href="https://github.com/c4ev3/EV3-API/blob/master/commands.pdf">EV3-API</a> von c4ev3 heraussuchen, falls du sie nicht auswendig weißt. Wenn du gar nicht weiter kommst oder nicht weißt, wie du anfangen kannst, helfen dir die Tipps weiter unten vielleicht weiter. Aber versuche es erst ohne Hilfe.</p>
<p style="text-align: justify;">Die Befehle für Schleifen in einer textuellen Programmiersprache sind abhängig von der gewählten Sprache. Generell haben wir aber ein kleines Tutorial zu Schleifen für euch erstellt.</p>
<p>&nbsp;</p></div>
			</div><div class="et_pb_module et_pb_toggle et_pb_toggle_0 et_pb_toggle_item  et_pb_toggle_close">
				
				
				
				
				<h5 class="et_pb_toggle_title">Brauchst du einen Tipp?</h5>
				<div class="et_pb_toggle_content clearfix"><p style="text-align: justify;">Wenn eine Endlosschleife programmiert wird, hängt sich der EV3 auf. Darum ist es sinnvoll die Schleife mit einer externen Abbruchbedingung zu versehen. Als Abbruchbedingung könnte man zum Beispiel das Drücken einer der fünf EV3-Tasten wählen.<br />Ihr müsst hier allerdings etwas Rücksicht auf die Eigenarten der Sprache c4ev3 nehmen: Wenn z.B. das Drücken der Zurück-Taste als Abbruchbedingung definiert wird, will sich der EV3 nach zwei Durchgängen ausschalten. <br />Außerdem wird immer nur einmal in jedem Schleifendurchgang geprüft, ob die Abbruchbedingung erfüllt ist. Deshalb reicht es manchmal nicht, die Taste nur kurz zu drücken, sondern sie muss gedrückt gehalten werden, bis der Roboter das Signal registriert hat.</p></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_4  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">Sollte sich der EV3 aufhängen, kann man einen Reset durchführen, indem man die mittlere und die Zurück-Taste gleichzeitig für fünf Sekunden gedrückt hält und danach loslässt. Der EV3 führt dann einen Neustart aus. </p>
<p style="text-align: justify;">Für die Aufgabe sind API-Aufrufe von c4ev3 nötig. Sie regeln, welche Befehle an den EV3 weitergeleitet werden. Wir haben das EV3-API etwas weiter oben im Text bereits verlinkt. </p></div>
			</div><div class="et_pb_module et_pb_cta_0 et_pb_promo  et_pb_text_align_center et_pb_bg_layout_dark">
				
				
				
				
				<div class="et_pb_promo_description"><div><h2 class="et_pb_module_header et-fb-editable-element et-fb-editable-element__editing" contenteditable="true" data-shortcode-id="0.2.0.3-1546810118475" data-quickaccess-id="header">ZUR LÖSUNG WEITERSCROLLEN</h2></div></div>
				
			</div><div class="et_pb_module et_pb_text et_pb_text_5  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Lösung</h1>
<p style="text-align: justify;">Das nachfolgende Listing zeigt das komplette Programm und damit auch eine mögliche Lösung.<br />Gerne könnt ihr eure Lösung mit dieser vergleichen. Wichtig ist aber, dass es hier nicht eine einzige richtige Lösung gibt. Teilt uns doch gerne mit, was ihr anders gemacht habt!</p>
<p style="text-align: justify;">Wenn ihr gar nicht weiterkommt oder keine Ideen habt, wie ihr die Aufgabe angehen sollt, könnt ihr hier die Lösung anschauen. Wir empfehlen aber, in diesem Fall die vorherigen Praktika und diese Lösung genau nachzuvollziehen, um in den folgenden Praktika wieder voll einsteigen zu können.</p></div>
			</div>[et_pb_dmb_code_snippet title=&#8220;Listing 1: Das C-Programm f&amp;amp;amp;uuml;r die f&amp;amp;amp;uuml;nfte c4ev3-Praktikumsaufgabe.&#8220; code=&#8220;I2luY2x1ZGUgPGV2My5oPgoKaW50IG1haW4odm9pZCkgewoJSW5pdEVWMygpOwoKCXdoaWxlICghQnV0dG9uSXNEb3duKEJUTlVQKSkgewoJCU9uRndkUmVnKE9VVF9CQywgMjUpOwoJCVdhaXQoU0VDXzEpOwoKCQlPZmYoT1VUX0JDKTsKCQlXYWl0KE1TXzEwMCk7CgoJCU9uRndkUmVnKE9VVF9CLCAyNSk7CgkJT2ZmKE9VVF9DKTsKCQlXYWl0KFNFQ18xKTsKCQlXYWl0KE1TXzUwMCk7CgoJCU9mZihPVVRfQkMpOwoJCVdhaXQoTVNfMTAwKTsKCX0KCglGcmVlRVYzKCk7CglyZXR1cm4gMDsKfQo=&#8220; language=&#8220;java&#8220; linenums=&#8220;on&#8220; _builder_version=&#8220;3.23.3&#8243; body_font=&#8220;||||||||&#8220; body_font_size_tablet=&#8220;51&#8243; body_line_height_tablet=&#8220;2&#8243; header_font_size_tablet=&#8220;51&#8243; header_line_height_tablet=&#8220;2&#8243;]I2luY2x1ZGUgPGV2My5oPgoKaW50IG1haW4odm9pZCkgewoJSW5pdEVWMygpOwoKCXdoaWxlICghQnV0dG9uSXNEb3duKEJUTlVQKSkgewoJCU9uRndkUmVnKE9VVF9CQywgMjUpOwoJCVdhaXQoU0VDXzEpOwoKCQlPZmYoT1VUX0JDKTsKCQlXYWl0KE1TXzEwMCk7CgoJCU9uRndkUmVnKE9VVF9CLCAyNSk7CgkJT2ZmKE9VVF9DKTsKCQlXYWl0KFNFQ18xKTsKCQlXYWl0KE1TXzUwMCk7CgoJCU9mZihPVVRfQkMpOwoJCVdhaXQoTVNfMTAwKTsKCX0KCglGcmVlRVYzKCk7CglyZXR1cm4gMDsKfQo=[/et_pb_dmb_code_snippet]
			</div>
				
				
				
				
			</div>
				
				
			</div>
<p>Der Beitrag <a href="https://www.brickobotik.de/c4ev3-praktikum-5-endlosschleifen/">c4ev3 – Praktikum 5: Endlosschleifen</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.brickobotik.de/c4ev3-praktikum-5-endlosschleifen/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>c4ev3 – Praktikum 6: Der Tastsensor</title>
		<link>https://www.brickobotik.de/c4ev3-praktikum-6-der-tastsensor/</link>
					<comments>https://www.brickobotik.de/c4ev3-praktikum-6-der-tastsensor/#comments</comments>
		
		<dc:creator><![CDATA[Felix Krawczyk]]></dc:creator>
		<pubDate>Thu, 11 Apr 2019 05:30:24 +0000</pubDate>
				<category><![CDATA[Lern- & Lehrmaterialien]]></category>
		<category><![CDATA[Programmiersprachen]]></category>
		<category><![CDATA[Aufgabe 6]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[c4ev3]]></category>
		<category><![CDATA[LEGO Mindstorms EV3]]></category>
		<category><![CDATA[Lehre]]></category>
		<category><![CDATA[Praktikum]]></category>
		<guid isPermaLink="false">https://www.brickobotik.de/?p=1837</guid>

					<description><![CDATA[<p>In der sechsten Praktikumsaufgabe wird der erste Sensor benutzt. Wir programmieren den EV3 so, dass er signalisiert, ob der Tastsensor gedrückt ist.</p>
<p>Der Beitrag <a href="https://www.brickobotik.de/c4ev3-praktikum-6-der-tastsensor/">c4ev3 – Praktikum 6: Der Tastsensor</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="et_pb_section et_pb_section_1 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_1">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_1  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_6  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">In diesem Praktikum kommen nun die Sensoren ins Spiel. Den Anfang macht der Tastsensor. <br />Wenn du bisher noch kein c4ev3-Projekt in Eclipse angelegt hast, hilft dir unsere <a href="https://www.brickobotik.de/c4ev3-praktikum-1-erstellen-eines-projekts/">erste Praktikumsaufgabe</a> dabei.</p></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_7  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Zweck</h1>
<p style="text-align: justify;">Sensoren sind für einen Roboter das Fenster zur Außenwelt, denn sie geben ihm Informationen über seine Umgebung. Mit den entsprechenden Sensoren kann ein Roboter Farben erkennen, Entfernungen messen, auf Stöße reagieren und vieles mehr. Gerade bei automatischen Systemen sind die Informationen der Sensoren unverzichtbar.</p>
<p style="text-align: justify;">Wir beschäftigen uns als erstes mit dem Tastsensor. Dieser Sensor arbeitet mit Zuständen und signalisiert dem Roboter, ob der Sensor gedrückt ist oder losgelassen wurde.</p></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_8  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Vorbereitung</h1>
<p style="text-align: justify;">Zur Vorbereitung erstellt ihr wie im vorherigen Praktikum zunächst ein neues c4ev3-Projekt. Bevor es losgehen kann, müsst ihr an eurem EV3 einen Tastsensor montieren. Dazu schließt ihr den Sensor an einen der freien Sensoranschlüsse an.</p></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_9  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Aufgabe</h1>
<p style="text-align: justify;">Programmiere den Roboter so, dass er beim Starten des Programms auf Tastendruck prüft und einen Ton abspielt, falls der Tastsensor gedrückt ist. Andernfalls soll er stumm bleiben.</p>
<p style="text-align: justify;">Die Befehle, die für dieses Praktikum benötigt werden, sollen aus der <a href="https://github.com/c4ev3/EV3-API/blob/master/commands.pdf">EV3-API</a> herausgesucht werden.</p>
<p style="text-align: justify;">In einer früheren Version der c4ev3 API musste das Sound Modul nachträglich eingebunden werden. Darum prüft, ob ihr die aktuelle Version heruntergeladen habt.</p></div>
			</div><div class="et_pb_module et_pb_cta_1 et_pb_promo  et_pb_text_align_center et_pb_bg_layout_dark">
				
				
				
				
				<div class="et_pb_promo_description"><div><h2 class="et_pb_module_header et-fb-editable-element et-fb-editable-element__editing" contenteditable="true" data-shortcode-id="0.2.0.3-1546810118475" data-quickaccess-id="header">ZUR LÖSUNG WEITERSCROLLEN</h2></div></div>
				
			</div><div class="et_pb_module et_pb_text et_pb_text_10  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Lösung</h1>
<p style="text-align: justify;">Das nachfolgende Listing zeigt das komplette Programm und damit auch eine mögliche Lösung.<br />Gerne könnt ihr eure Lösung mit dieser vergleichen. Wichtig ist aber, dass es hier nicht eine einzige richtige Lösung gibt. Teilt uns doch gerne mit, was ihr anders gemacht habt!</p>
<p style="text-align: justify;">Wenn ihr gar nicht weiterkommt oder keine Ideen habt, wie ihr die Aufgabe angehen sollt, könnt ihr hier die Lösung anschauen. Wir empfehlen aber, in diesem Fall die vorherigen Praktika und diese Lösung genau nachzuvollziehen, um in den folgenden Praktika wieder voll einsteigen zu können.</p></div>
			</div>[et_pb_dmb_code_snippet title=&#8220;Listing 1: Das C-Programm f&uuml;r die sechste c4ev3-Praktikumsaufgabe.&#8220; _builder_version=&#8220;3.23.3&#8243; body_font_size_tablet=&#8220;51&#8243; body_line_height_tablet=&#8220;2&#8243; header_font_size_tablet=&#8220;51&#8243; header_line_height_tablet=&#8220;2&#8243; code=&#8220;I2luY2x1ZGUgPGV2My5oPgoKaW50IG1haW4odm9pZCkKewoJSW5pdEVWMygpOwoJLy9pbnQgaSA9IFNvdW5kU3RhdGUoKTsKCXNldEFsbFNlbnNvck1vZGUoVE9VQ0hfUFJFU1MsIE5PX1NFTixOT19TRU4sTk9fU0VOKTsKCglpZihyZWFkU2Vuc29yKElOXzEpID09IDApCgl7CgkJUGxheVRvbmUoVE9ORV9FNSwgTk9URV9XSE9MRSk7CgkJUGxheVNvdW5kKFNPVU5EX0RPVUJMRV9CRUVQKTsKCX0KCgoJRnJlZUVWMygpOwoJcmV0dXJuIDA7Cn0=&#8220;]I2luY2x1ZGUgPGV2My5oPgoKaW50IG1haW4odm9pZCkKewoJSW5pdEVWMygpOwoJLy9pbnQgaSA9IFNvdW5kU3RhdGUoKTsKCXNldEFsbFNlbnNvck1vZGUoVE9VQ0hfUFJFU1MsIE5PX1NFTixOT19TRU4sTk9fU0VOKTsKCglpZihyZWFkU2Vuc29yKElOXzEpID09IDApCgl7CgkJUGxheVRvbmUoVE9ORV9FNSwgTk9URV9XSE9MRSk7CgkJUGxheVNvdW5kKFNPVU5EX0RPVUJMRV9CRUVQKTsKCX0KCgoJRnJlZUVWMygpOwoJcmV0dXJuIDA7Cn0=[/et_pb_dmb_code_snippet]
			</div>
				
				
				
				
			</div>
				
				
			</div>
<p>Der Beitrag <a href="https://www.brickobotik.de/c4ev3-praktikum-6-der-tastsensor/">c4ev3 – Praktikum 6: Der Tastsensor</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.brickobotik.de/c4ev3-praktikum-6-der-tastsensor/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Robotary &#8211; und das falsche Versprechen</title>
		<link>https://www.brickobotik.de/robotary-und-das-falsche-versprechen/</link>
					<comments>https://www.brickobotik.de/robotary-und-das-falsche-versprechen/#respond</comments>
		
		<dc:creator><![CDATA[Felix Krawczyk]]></dc:creator>
		<pubDate>Mon, 18 Mar 2019 09:15:16 +0000</pubDate>
				<category><![CDATA[Lern- & Lehrmaterialien]]></category>
		<category><![CDATA[Programmiersprachen]]></category>
		<category><![CDATA[LEGO Mindstorms EV3]]></category>
		<category><![CDATA[Robotary]]></category>
		<guid isPermaLink="false">https://www.brickobotik.de/?p=2482</guid>

					<description><![CDATA[<p>Der Beitrag <a href="https://www.brickobotik.de/robotary-und-das-falsche-versprechen/">Robotary &#8211; und das falsche Versprechen</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div class="et_pb_section et_pb_section_2 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_2">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_2  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_11  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">Dass sich der LEGO® Mindstorms® EV3 in den unterschiedlichsten Programmiersprachen programmieren lässt, dürfte inzwischen bekannt sein. Eine Übersicht über die verschiedensten Programmiersprachen haben wir in <a href="https://www.brickobotik.de/programmiersprachen-fuer-lego-robotik-sets/" title="Übersicht über die Programmiersprachen für LEGO Robotik Sets">diesem Artikel</a> für euch angelegt. Eine dieser Sprachen ist für Apple MacBook-Nutzer besonders interessant, da sie die Apple-Programmiersprache Swift nutzt, um den EV3 zu programmieren. Diese Sprache heißt Robotary. Wir werden sie uns in diesem Artikel genauer ansehen und Vor- und Nachteile im Vergleich zu anderen Sprachen aufzeigen.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_3">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_3  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_12  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1 style="text-align: justify;">Robotary</h1>
<p style="text-align: justify;">Eigentlich sollte an dieser Stelle stehen, welche Vor- und Nachteile Robotary gegenüber den anderen Programmiersprachen für den EV3 bietet. Allerdings lief hier alles nicht so ganz reibungslos ab wie in unseren bisherigen Tests. Dazu kommt, dass Robotary eben nur auf dem Mac läuft und außerdem noch 17$ (knapp 16€) kostet. Darum ist die Investitionshürde deutlich höher als bei vielen der anderen Programmiersprachen für den EV3. Wer erwartet, dass so ein bezahltes System reibungslos läuft, wird leider enttäuscht. Aber fangen wir vorne an:</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_4">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_4  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_13  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Der Kauf und die Installation</h1>
<p style="text-align: justify;">Die Installation von Robotary ist denkbar einfach. Robotary ist eine macOS-App. Die Software ist allerdings nicht mehr im offiziellen mac-Store gelistet und muss daher über die Website gekauft werden. Danach erhaltet ihr einen Key und die Datei. Die Datei bekommt ihr nur einmal während der Kaufabwicklung, ein späterer oder erneuter Download ist nicht möglich. Ist die Datei heruntergeladen, kann Robotary quasi sofort ausgeführt werden.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_5">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_5  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_14  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1 style="text-align: justify;"><strong>Nach- und Vorteile</strong></h1>
<p style="text-align: justify;">Bluetooth oder USB-Kabel muss permanet mit demEV3 verbunden sein &#8211; die Wifi-Option ist leider nicht integriert. Die Möglichkeit, ein selbst geschriebenes Programm auf den EV3 zu laden, um die Verbindung trennen zu können, gibt es ebenfalls nicht. Es muss also permanent eine Verbindung zwischen dem Mac und dem EV3 bestehen. In unserem Test auf einem MacBook Pro 2012 mit Sierra und einem MacBook Pro 2018 mit Mojave hängt sich die Software auf, sobald ein EV3-Programm ausgeführt wird.</p>
<p style="text-align: justify;">Die positiven Berichte, die wir im Netz fanden, haben uns deshalb sehr verwundert, denn wir haben kein einziges EV3-Programm zum Laufen bekommen.<br /> Dann entdeckten wir des Rätsels Lösung: Eine Zeitreise zur macOS-Version Yosemite aus dem Jahr 2014. Mit diesem Apple-Betriebssystem läuft Robotary ohne abzustürzen. Das USB-Kabel ist dennoch auch hier unser ständiger Begleiter.</p>
<p style="text-align: justify;">Zu weit in die Vergangenheit reisen dürfen wir allerdings auch nicht, denn macOS Yosemite ist das erste Betriebssystem, mit dem die Software überhaupt läuft. Das folge System El Capitan wird auch unterstützt, aber ab macOS Sierra, das 2016 herauskam, geht wieder nichts mehr. Generell wurde es seit 2016 um die Entwickler der Programmiersprache recht still. Auf Nachfragen bei den Entwicklern per E-Mail gibt es seit Monaten keine Antwort.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_6">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_6  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_15  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Fazit</h1>
<p>Robotary ist theortisch ein schönes Produkt, aber es läuft nur auf macs, die seit über drei Jahren kein Update mehr installiert haben. Darum ist Robotary aktuell leider nicht mehr zu empfehlen und in unseren Augen auch keine 16€ wert. Aus diesem Grund wird es vorerst auch kein Praktikum für diese Sprache geben, jedenfalls nicht, bis Robotary ein funktionales Update erhält.</p>
<p>&nbsp;</p></div>
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div>
<p>Der Beitrag <a href="https://www.brickobotik.de/robotary-und-das-falsche-versprechen/">Robotary &#8211; und das falsche Versprechen</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.brickobotik.de/robotary-und-das-falsche-versprechen/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>LeJOS &#8211; Praktikum 1: Erstellen eines Projektes</title>
		<link>https://www.brickobotik.de/lejos-praktikum-1-erstellen-eines-projektes/</link>
					<comments>https://www.brickobotik.de/lejos-praktikum-1-erstellen-eines-projektes/#respond</comments>
		
		<dc:creator><![CDATA[Felix Krawczyk]]></dc:creator>
		<pubDate>Mon, 25 Feb 2019 10:19:49 +0000</pubDate>
				<category><![CDATA[Lern- & Lehrmaterialien]]></category>
		<category><![CDATA[Programmiersprachen]]></category>
		<category><![CDATA[Aufgabe 1]]></category>
		<category><![CDATA[LEGO Mindstorms EV3]]></category>
		<category><![CDATA[Lehre]]></category>
		<category><![CDATA[LeJOS]]></category>
		<category><![CDATA[Praktikum]]></category>
		<category><![CDATA[Programmierumgebung]]></category>
		<guid isPermaLink="false">https://www.brickobotik.de/?p=2275</guid>

					<description><![CDATA[<p>Der Beitrag <a href="https://www.brickobotik.de/lejos-praktikum-1-erstellen-eines-projektes/">LeJOS &#8211; Praktikum 1: Erstellen eines Projektes</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><div class="et_pb_section et_pb_section_3 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_7">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_7  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_16  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">In diesem ersten Praktikum zeigen wir euch, wie ihr ein Projekt erstellt. Dies ist die Grundlage für alle folgenden Praktika.</p>
<p style="text-align: justify;">Wichtig ist, dass ihr LeJOS nach unserer <a href="/lejos-installation-auf-dem-lego-mindstorms-ev3/" title="Unsere Installationsanleitung für LeJOS">Anleitung</a> installiert und den EV3 entsprechend vorbereitet habt.<br />Mit dem ersten Programm steuern wir eine der einfachsten Ausgaben an, welche der EV3 zu bieten hat, nämlich seinen Display.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_8">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_8  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_17  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Zweck</h1>
<p style="text-align: justify;">In eingebetteten Systemen ist es immer schwierig, Informationen darüber zu erhalten, was das Programm gerade macht. Einen Debugger, wie ihr ihn vielleicht von Java auf dem PC kennt, gibt es auf dem Roboter nämlich nicht. Darum wollen wir Informationen des Programms auf dem EV3-Display ausgeben lassen.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_9">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_9  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_18  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Aufgabe</h1>
<p style="text-align: justify;">Schreibe ein Programm, welches den EV3 den Text „Hallo &lt;&lt;NAME&gt;&gt;“ fünf Sekunden lang anzeigen lässt.</p></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_19  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Schritt für Schritt zum ersten Projekt</h1></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_10">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_10  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_image et_pb_image_0 et-waypoint">
				
				
				
				
				<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum01.JPG.jpg" class="et_pb_lightbox_image" title=""><span class="et_pb_image_wrap "><img fetchpriority="high" decoding="async" width="700" height="383" src="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum01.JPG.jpg" alt="" title="" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum01.JPG.jpg 700w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum01.JPG-600x328.jpg 600w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum01.JPG-300x164.jpg 300w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum01.JPG-610x334.jpg 610w" sizes="(max-width: 700px) 100vw, 700px" class="wp-image-2293" /></span></a>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_11">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_11  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_20  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">Wenn LeJOS installiert und alles vorbereitet ist, öffnet ihr als erstes Eclipse und wählt einen Workspace aus.</p>
<p style="text-align: justify;">Sobald Eclipse gestartet wird, fragt es euch nach einem Workspace-Pfad. Wer möchte, kann hier einen eigenen Ordner auswählen, in dem Eclipse alle wichtigen Daten für die Projekte hinterlegt. Man kann aber auch den Standard-Pfad ausgewählt lassen und einfach auf „OK“ klicken. Wenn man Eclipse zum ersten Mal öffnet, kann es etwas länger dauern, bis der Startvorgang abgeschlossen ist.</p>
<p style="text-align: justify;">Ist Eclipse gestartet, erstellt ihr ein neues Projekt. Dazu wählt ihr im Reiter „File“ „New“ → „LeJOS EV3 Projekt“ aus.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_12">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_12  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_image et_pb_image_1 et-waypoint">
				
				
				
				
				<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum02.jpg" class="et_pb_lightbox_image" title=""><span class="et_pb_image_wrap "><img loading="lazy" decoding="async" width="700" height="383" src="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum02.jpg" alt="" title="" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum02.jpg 700w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum02-600x328.jpg 600w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum02-300x164.jpg 300w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum02-610x334.jpg 610w" sizes="(max-width: 700px) 100vw, 700px" class="wp-image-2278" /></span></a>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_13">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_13  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_21  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">Daraufhin öffnet sich ein neues Fenster mit dem Titel „New LeJOS EV3 Projekt“. Hier müsst ihr dem Programm einen Namen geben. Wir haben hier den Namen „Hallo Tim“ gewählt. Als nächstes muss im Unterpunkt JRE JavaSE-1.7 ausgewählt werden. Ist dies geschehen, könnt ihr mit einem Klick auf „Finish“ das Projekt erstellen lassen.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_14">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_14  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_image et_pb_image_2">
				
				
				
				
				<span class="et_pb_image_wrap "><img loading="lazy" decoding="async" width="700" height="383" src="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum03.jpg" alt="" title="" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum03.jpg 700w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum03-600x328.jpg 600w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum03-300x164.jpg 300w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum03-610x334.jpg 610w" sizes="(max-width: 700px) 100vw, 700px" class="wp-image-2280" /></span>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_15">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_15  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_22  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p>Im „Projekt Explorer“ an der linken Seite ist nun unser Projekt aufgeführt. Damit ihr anfangen könnt zu programmieren, muss als nächstes eine für die Programmiersprache Java übliche Haupt-Klasse erstellt werden. Dafür macht ihr einen Rechtsklick auf den Ordner Source, abgekürzt „src“. Im sich öffnenden Kontextmenü klickt ihr auf „New“ → „Class“.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_16">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_16  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_image et_pb_image_3">
				
				
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum04b.jpg" alt="" title="" class="wp-image-2282" /></span>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_17">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_17  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_23  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p>Daraufhin öffnet sich wieder ein neues Fenster, nun mit dem Titel „New Java Class“. Hier müsst ihr der Hauptklasse einen Namen geben. Üblich ist der Name „Main“, den auch wir hier gewählt haben. Da es die Hauptklasse ist, solltet ihr die Boxen bei „public static void main (String[] args)“ und „Inherited abstract methods“ anhaken. Schließt das Fenster nun mit einem Klick auf „Finish“.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_18">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_18  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_image et_pb_image_4">
				
				
				
				
				<span class="et_pb_image_wrap "><img loading="lazy" decoding="async" width="700" height="383" src="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum05.jpg" alt="" title="" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum05.jpg 700w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum05-600x328.jpg 600w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum05-300x164.jpg 300w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum05-610x334.jpg 610w" sizes="(max-width: 700px) 100vw, 700px" class="wp-image-2283" /></span>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_19">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_19  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_24  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">Zurück in Eclipse sehen wir die gerade angelegte Klasse „Main“. In dieser soll nun der Code für eine Displayausgabe geschrieben werden.</p>
<p>Die Java-Befehle dafür findet ihr in der <a href="https://lejos.sourceforge.io/ev3/docs/">LeJOS-API</a>.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_20">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_20  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_toggle et_pb_toggle_1 et_pb_toggle_item  et_pb_toggle_close">
				
				
				
				
				<h5 class="et_pb_toggle_title">API-Befehle für diese Aufgabe</h5>
				<div class="et_pb_toggle_content clearfix"><table>
<caption><span style="text-decoration: underline;"><strong>Allgemein</strong></span></caption>
<tbody>
<tr>
<td style="width: 327px;"><span style="color: #ff6600;">Befehl</span></td>
<td style="width: 242px;"><span style="color: #ff6600;">Erklärung</span></td>
</tr>
<tr>
<td style="width: 327px;">import lejos.hardware.lcd.LCD;</td>
<td style="width: 242px;">Bindet das LCD-Interface ein</td>
</tr>
<tr>
<td style="width: 327px;">import lejos.utility.Delay;</td>
<td style="width: 242px;">Bindet das Delay-Kontroll-Interface ein</td>
</tr>
</tbody>
</table>
<table>
<caption><span style="text-decoration: underline;"><strong>Display</strong></span></caption>
<tbody>
<tr>
<td style="width: 327px;"><span style="color: #ff6600;">Befehl</span></td>
<td style="width: 244px;"><span style="color: #ff6600;">Erklärung</span></td>
</tr>
<tr>
<td style="width: 327px;">LCD.drawString(&#8222;&lt;TEXT&gt;&#8220;, &lt;int x&gt;, &lt; int y&gt;);</td>
<td style="width: 244px;">Text an x-Y-Koordinate schreiben</td>
</tr>
</tbody>
</table>
<table>
<caption><span style="text-decoration: underline;"><strong>Kontrolle</strong></span></caption>
<tbody>
<tr>
<td style="width: 329px;"><span style="color: #ff6600;">Befehl</span></td>
<td style="width: 245px;"><span style="color: #ff6600;">Erklärung</span></td>
</tr>
<tr>
<td style="width: 329px;">Delay.msDelay(&lt;Zeit_ms&gt;);</td>
<td style="width: 245px;">Warten</td>
</tr>
</tbody>
</table></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_21">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_21  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_25  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">Wer nicht weiter weiß oder seinen Code mit unserem vergleichen möchte, findet im folgenden unsere Lösung.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_22">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_22  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_cta_2 et_pb_promo  et_pb_text_align_center et_pb_bg_layout_dark">
				
				
				
				
				<div class="et_pb_promo_description"><div><h2 class="et_pb_module_header et-fb-editable-element et-fb-editable-element__editing" contenteditable="true" data-shortcode-id="0.2.0.3-1546810118475" data-quickaccess-id="header">ZUR LÖSUNG WEITERSCROLLEN</h2></div></div>
				
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_23">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_23  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				[et_pb_dmb_code_snippet title=&#8220;Listing 1: Das erste %22Hallo Welt%22 Programm&#8220; code=&#8220;aW1wb3J0IGxlam9zLmhhcmR3YXJlLmxjZC5MQ0Q7CmltcG9ydCBsZWpvcy51dGlsaXR5LkRlbGF5OwoKcHVibGljIGNsYXNzIE1haW4gewoKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsJCgkJCgkJTENELmRyYXdTdHJpbmcoIkhhbGxvIFRpbSIsIDAsIDQpOwoJCURlbGF5Lm1zRGVsYXkoNTAwMCk7CQkKCQkKCX0KCn0K&#8220; language=&#8220;c&#8220; linenums=&#8220;on&#8220; _builder_version=&#8220;3.23.3&#8243; global_colors_info=&#8220;{}&#8220;]aW1wb3J0IGxlam9zLmhhcmR3YXJlLmxjZC5MQ0Q7CmltcG9ydCBsZWpvcy51dGlsaXR5LkRlbGF5OwoKcHVibGljIGNsYXNzIE1haW4gewoKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsJCgkJCgkJTENELmRyYXdTdHJpbmcoIkhhbGxvIFRpbSIsIDAsIDQpOwoJCURlbGF5Lm1zRGVsYXkoNTAwMCk7CQkKCQkKCX0KCn0K[/et_pb_dmb_code_snippet]
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_24">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_24  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_26  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p>Sollten bei euch die beiden Begriffe „LCD“ und „Delay“ als Fehler angezeigt werden, liegt das daran, dass die Interfaces nicht eingebunden wurden. Ihr müsst dann die benötigten Interfaces zunächst einbinden.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_25">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_25  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_gallery et_pb_gallery_0  et_pb_bg_layout_light et_pb_slider et_pb_gallery_fullwidth">
				<div class="et_pb_gallery_items et_post_gallery clearfix" data-per_page="4"><div class="et_pb_gallery_item et_pb_bg_layout_light et_pb_gallery_item_0_0"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum06.jpg" title="So bindet ihr die Interfaces ein.">
					<img loading="lazy" decoding="async" width="700" height="383" src="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum06.jpg" alt="So bindet ihr die Interfaces ein." class="wp-image-2284" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum06.jpg 700w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum06-600x328.jpg 600w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum06-300x164.jpg 300w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum06-610x334.jpg 610w" sizes="(max-width: 700px) 100vw, 700px" />
					
				</a>
				</div></div><div class="et_pb_gallery_item et_pb_bg_layout_light et_pb_gallery_item_0_1"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum06b.jpg" title="So bindet ihr die Interfaces ein.">
					<img loading="lazy" decoding="async" width="700" height="383" src="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum06b.jpg" alt="So bindet ihr die Interfaces ein." class="wp-image-2285" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum06b.jpg 700w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum06b-600x328.jpg 600w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum06b-300x164.jpg 300w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum06b-610x334.jpg 610w" sizes="(max-width: 700px) 100vw, 700px" />
					
				</a>
				</div></div><div class="et_pb_gallery_item et_pb_bg_layout_light et_pb_gallery_item_0_2"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum07.jpg" title="So bindet ihr die Interfaces ein.">
					<img loading="lazy" decoding="async" width="700" height="383" src="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum07.jpg" alt="So bindet ihr die Interfaces ein." class="wp-image-2286" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum07.jpg 700w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum07-600x328.jpg 600w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum07-300x164.jpg 300w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum07-610x334.jpg 610w" sizes="(max-width: 700px) 100vw, 700px" />
					
				</a>
				</div></div><div class="et_pb_gallery_item et_pb_bg_layout_light et_pb_gallery_item_0_3"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum07b.jpg" title="So bindet ihr die Interfaces ein.">
					<img loading="lazy" decoding="async" width="700" height="383" src="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum07b.jpg" alt="So bindet ihr die Interfaces ein." class="wp-image-2287" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum07b.jpg 700w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum07b-600x328.jpg 600w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum07b-300x164.jpg 300w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum07b-610x334.jpg 610w" sizes="(max-width: 700px) 100vw, 700px" />
					
				</a>
				</div></div></div></div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_26">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_26  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_27  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">Euer erstes selbst geschriebenes Programm wollen wir jetzt natürlich auch auf den EV3 bringen. Dafür speichert ihr zunächst das Programm ab. Das funktioniert entweder mit dem entsprechenden Symbol in der Menüleiste oder mit der Tastenkombination „Strg + S“.</p>
<p style="text-align: justify;">Danach soll das Programm auf den EV3 geladen werden. Dieser muss dafür per USB-Kabel an den Computer angeschlossen sein. Nun ladet ihr das Programm auf den Roboter, indem ihr auf den weißen Pfeil im grünen Kreis oben in der Menüleiste klickt. Es öffnet sich ein Fenster, welches euch fragt, welches Programm ihr laufen lassen wollt. Hier wählt ihr „LeJOS EV3 Programm“ aus und klickt auf „OK“.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_27">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_27  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_image et_pb_image_5">
				
				
				
				
				<span class="et_pb_image_wrap "><img loading="lazy" decoding="async" width="256" height="429" src="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum08b.jpg" alt="" title="" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum08b.jpg 256w, https://www.brickobotik.de/wp-content/uploads/2019/01/LeJOS_Praktikum08b-179x300.jpg 179w" sizes="(max-width: 256px) 100vw, 256px" class="wp-image-2288" /></span>
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div></p>
<p>Der Beitrag <a href="https://www.brickobotik.de/lejos-praktikum-1-erstellen-eines-projektes/">LeJOS &#8211; Praktikum 1: Erstellen eines Projektes</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.brickobotik.de/lejos-praktikum-1-erstellen-eines-projektes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>c4ev3 – Praktikum 4: Schleifen</title>
		<link>https://www.brickobotik.de/c4ev3-praktikum-4-schleifen/</link>
					<comments>https://www.brickobotik.de/c4ev3-praktikum-4-schleifen/#comments</comments>
		
		<dc:creator><![CDATA[Felix Krawczyk]]></dc:creator>
		<pubDate>Wed, 16 Jan 2019 06:30:58 +0000</pubDate>
				<category><![CDATA[Lern- & Lehrmaterialien]]></category>
		<category><![CDATA[Programmiersprachen]]></category>
		<category><![CDATA[Aufgabe 4]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[c4ev3]]></category>
		<category><![CDATA[LEGO Mindstorms EV3]]></category>
		<category><![CDATA[Lehre]]></category>
		<category><![CDATA[Praktikum]]></category>
		<guid isPermaLink="false">https://www.brickobotik.de/?p=1110</guid>

					<description><![CDATA[<p>In der vierten Praktikumsaufgabe lernen wir die wichtige Methode der Schleifen kennen. Damit lässt sich das Fahren im Quadrat effizienter programmieren.</p>
<p>Der Beitrag <a href="https://www.brickobotik.de/c4ev3-praktikum-4-schleifen/">c4ev3 – Praktikum 4: Schleifen</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><div class="et_pb_section et_pb_section_4 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_28">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_28  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_28  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">Nachdem wir uns im letzten Praktikum die Lenkung angeeignet haben, wenden wir uns in diesem Praktikum Schleifen zu. So bezeichnet man Wiederholungen in Programmen.<br />Wenn du bisher noch kein c4ev3-Projekt in Eclipse angelegt hast, hilft dir unsere <a href="https://www.brickobotik.de/c4ev3-praktikum-1-erstellen-eines-projekts/">erste Praktikumsaufgabe</a> dabei.</p></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_29  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Zweck</h1>
<p style="text-align: justify;">Schleifen sind ein wichtiger Bestandteil von Programmen. Durch sie kann derselbe Vorgang mehrfach durchgeführt werden, ohne dass die gleichen Code-Zeilen immer wieder aufgeschrieben werden müssen. Dadurch ist es im Allgemeinen einfacher, den Überblick zu behalten. <br />Stellt euch vor, ihr würdet einen Vorgang mehrfach wiederholen wollen und schreibt dafür den Code immer wieder hintereinander auf. Wenn euch dann ein Fehler auffällt, müsst ihr diesen mühsam überall beheben. Mit einer Schleife geht die Korrektur viel einfacher und schneller. Somit helfen euch Schleifen dabei, einen guten Code zu programmieren.</p></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_30  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Vorbereitung</h1>
<p style="text-align: justify;">Zur Vorbereitung erstellt ihr wie im vorherigen Praktikum zunächst ein neues c4ev3-Projekt. Wir starten diesmal mit einem „Empty Project“-Projekt, da wir die Befehle, welche Eclipse uns vorher abgenommen hat, nun selber vertiefen wollen.</p></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_31  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Aufgabe</h1>
<p style="text-align: justify;">Programmiere den Roboter so, dass er ein kleines Quadrat fährt. Dazu soll der EV3 10 cm vorfahren und sich um 90° drehen. Dies muss er natürlich vier Mal machen, bis das Quadrat gefahren ist. Diesmal wollen wir den Befehl aber nur einmal programmieren und diese Programmierzeilen vier Mal ausführen lassen.</p>
<p style="text-align: justify;">Die Befehle, die für dieses Praktikum notwendig sind, kannst du aus der <a href="https://github.com/c4ev3/EV3-API/blob/master/commands.pdf">EV3-API</a> von c4ev3 heraussuchen, falls du sie nicht auswendig weißt. Wenn du gar nicht weiter kommst oder nicht weißt, wie du anfangen kannst, helfen dir die Tipps weiter unten vielleicht weiter. Aber versuche es erst ohne Hilfe.</p>
<p style="text-align: justify;">Die Befehle für Schleifen in einer textuellen Programmiersprache sind abhängig von der gewählten Sprache. Da die grundlagen für Schleifen sich aber sehr ähnlich sind werden wir zum Thema Schleifen im Allgemeinen ein kleines Tutorial für euch erstellen, welches in Arbeit ist.</p></div>
			</div><div class="et_pb_module et_pb_toggle et_pb_toggle_2 et_pb_toggle_item  et_pb_toggle_close">
				
				
				
				
				<h5 class="et_pb_toggle_title">Brauchst du einen Tipp?</h5>
				<div class="et_pb_toggle_content clearfix"><p style="text-align: justify;">Die folgenden Tipps helfen dir, falls du nicht weißt, wie du anfangen sollst oder wenn du nicht weiterkommst.</p>
<ul>
<li style="text-align: justify;"><strong>Zerlege die Aufgabe</strong> in kleinere Teile. Zuerst fahren und wenn das funktioniert um 90° drehen. Anschließend muss darum eine Schleife gelegt werden, die den Code vier Mal wiederholt.</li>
<li style="text-align: justify;">Achte immer darauf, dass du das aktuelle Projekt im <strong>Projekt-Explorer</strong> von Eclipse ausgewält hast.</li>
<li style="text-align: justify;"><strong>Speichere</strong> dein Programm oft (<strong>Strg + S</strong>). So gehen Änderungen nicht verloren und beim Übertragen auf den EV3 wird die aktuelle Version übermittelt.</li>
<li style="text-align: justify;">Denke daran, dein Programm zu <strong>kompilieren</strong> (<strong>Strg + B</strong>), bevor du den Code auf den EV3 überträgst.</li>
</ul></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_32  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">Für die Aufgabe sind API-Aufrufe von c4ev3 nötig. Sie regeln, welche Befehle an den EV3 weitergeleitet werden. Wir haben das EV3-API etwas weiter oben im Text bereits verlinkt.</p></div>
			</div><div class="et_pb_module et_pb_cta_3 et_pb_promo  et_pb_text_align_center et_pb_bg_layout_dark">
				
				
				
				
				<div class="et_pb_promo_description"><div><h2 class="et_pb_module_header et-fb-editable-element et-fb-editable-element__editing" contenteditable="true" data-shortcode-id="0.2.0.3-1546810118475" data-quickaccess-id="header">ZUR LÖSUNG WEITERSCROLLEN</h2></div></div>
				
			</div><div class="et_pb_module et_pb_text et_pb_text_33  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Lösung</h1>
<p style="text-align: justify;">Das nachfolgende Listing zeigt das komplette Programm und damit auch eine mögliche Lösung.<br />Gerne könnt ihr eure Lösung mit dieser vergleichen. Wichtig ist aber, dass es hier nicht eine einzige richtige Lösung gibt. Teilt uns doch gerne mit, was ihr anders gemacht habt! </p>
<p style="text-align: justify;">Wenn ihr gar nicht weiterkommt oder keine Ideen habt, wie ihr die Aufgabe angehen sollt, könnt ihr hier die Lösung anschauen. Wir empfehlen aber, in diesem Fall die vorherigen Praktika und diese Lösung genau nachzuvollziehen, um in den folgenden Praktika wieder voll einsteigen zu können.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_29">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_29  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				[et_pb_dmb_code_snippet title=&#8220;Listing 1: Die L&ouml;sung zum c4ev3 Praktium 4&#8243; code=&#8220;I2luY2x1ZGUgPGV2My5oPgoKaW50IG1haW4odm9pZCkKewoKCWludCBpID0gMDsKCglJbml0RVYzKCk7CgoJZm9yIChpID0gMDsgaSA8IDQ7ICsraSkKCXsKCQlPbkZ3ZFJlZyhPVVRfQkMsMjUpOwoJCVdhaXQoU0VDXzEpOwoKCQlPZmYoT1VUX0JDKTsKCQlXYWl0KE1TXzUwMCk7CgoJCU9uRndkUmVnKE9VVF9CLDI1KTsKCQlPZmYoT1VUX0MpOwoJCVdhaXQoU0VDXzEpOwoJCVdhaXQoTVNfNTAwKTsKCgkJT2ZmKE9VVF9CQyk7CgkJV2FpdChNU181MDApOwoJfQoKCglGcmVlRVYzKCk7CglyZXR1cm4gMDsKfQ==&#8220; _builder_version=&#8220;3.23.3&#8243; body_font=&#8220;||||||||&#8220; language=&#8220;c&#8220;]I2luY2x1ZGUgPGV2My5oPgoKaW50IG1haW4odm9pZCkKewoKCWludCBpID0gMDsKCglJbml0RVYzKCk7CgoJZm9yIChpID0gMDsgaSA8IDQ7ICsraSkKCXsKCQlPbkZ3ZFJlZyhPVVRfQkMsMjUpOwoJCVdhaXQoU0VDXzEpOwoKCQlPZmYoT1VUX0JDKTsKCQlXYWl0KE1TXzUwMCk7CgoJCU9uRndkUmVnKE9VVF9CLDI1KTsKCQlPZmYoT1VUX0MpOwoJCVdhaXQoU0VDXzEpOwoJCVdhaXQoTVNfNTAwKTsKCgkJT2ZmKE9VVF9CQyk7CgkJV2FpdChNU181MDApOwoJfQoKCglGcmVlRVYzKCk7CglyZXR1cm4gMDsKfQ==[/et_pb_dmb_code_snippet]
			</div>
				
				
				
				
			</div>
				
				
			</div></p>
<p>Der Beitrag <a href="https://www.brickobotik.de/c4ev3-praktikum-4-schleifen/">c4ev3 – Praktikum 4: Schleifen</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.brickobotik.de/c4ev3-praktikum-4-schleifen/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>EV3-G &#8211; Praktikum 1: Erstellen eines Projektes</title>
		<link>https://www.brickobotik.de/ev3-g-praktikum-1-erstellen-eines-projektes/</link>
					<comments>https://www.brickobotik.de/ev3-g-praktikum-1-erstellen-eines-projektes/#respond</comments>
		
		<dc:creator><![CDATA[Felix Krawczyk]]></dc:creator>
		<pubDate>Tue, 15 Jan 2019 15:16:37 +0000</pubDate>
				<category><![CDATA[Lern- & Lehrmaterialien]]></category>
		<category><![CDATA[Programmiersprachen]]></category>
		<category><![CDATA[Aufgabe 1]]></category>
		<category><![CDATA[EV3-G]]></category>
		<category><![CDATA[LEGO Mindstorms EV3]]></category>
		<category><![CDATA[Lehre]]></category>
		<category><![CDATA[Praktikum]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Programmiersoftware]]></category>
		<category><![CDATA[Programmierumgebung]]></category>
		<guid isPermaLink="false">https://www.brickobotik.de/?p=2029</guid>

					<description><![CDATA[<p>Der Beitrag <a href="https://www.brickobotik.de/ev3-g-praktikum-1-erstellen-eines-projektes/">EV3-G &#8211; Praktikum 1: Erstellen eines Projektes</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div class="et_pb_section et_pb_section_5 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_30">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_30  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_34  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p>In diesem ersten Praktikum zeigen wir euch, wie ihr ein Projekt erstellt. Dies ist wichtig für alle folgenden Praktika. Ihr solltet EV3-G nach unserer Anleitung installiert und den EV3 entsprechend vorbereitet haben. <br />Mit dem ersten Programm steuern wir eine der einfachsten Ausgaben an, welche der EV3 zu bieten hat, nämlich sein Display.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_31">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_31  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_35  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Zweck</h1>
<p>In eingebetteten Systemen ist es immer schwierig Informationen darüber zu erhalten, was das Programm gerade macht. Einen Debugger, wie ihr ihn vielleicht von Java auf dem PC kennt, gibt es auf dem Roboter nämlich nicht. Darum wollen wir Informationen des Programms auf dem EV3-Display ausgeben lassen.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_32">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_32  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_36  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Aufgabe</h1>
<p>Schreibe ein Programm, welches den EV3 den Text „Hallo Welt“ fünf Sekunden lang anzeigen lässt.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_33">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_33  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_37  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1 style="margin-bottom: 0.28cm; line-height: 108%;"><b>Schritt für Schritt zum ersten Projekt<br /></b></h1>
<p>Öffnet zuerst die LEGO® Mindstorms® EV3 Software auf eurem PC.<br />Sowohl in der Home- als auch in der Education-Version startet die Software in einem eigenen Hauptmenü. Dort könnt ihr ein neues Programm erstellen. In der Education Version geht das über den Pfad Datei -&gt; Neues Projekt -&gt; Programm, in der Home Edition gibt es nur die Punkte Datei -&gt; Neues Projekt.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_34">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_34  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_image et_pb_image_6 et-waypoint">
				
				
				
				
				<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/EV3-G-projekt-erstellen01.jpg" class="et_pb_lightbox_image" title=""><span class="et_pb_image_wrap "><img loading="lazy" decoding="async" width="700" height="733" src="https://www.brickobotik.de/wp-content/uploads/2019/01/EV3-G-projekt-erstellen01.jpg" alt="" title="" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/EV3-G-projekt-erstellen01.jpg 700w, https://www.brickobotik.de/wp-content/uploads/2019/01/EV3-G-projekt-erstellen01-600x628.jpg 600w, https://www.brickobotik.de/wp-content/uploads/2019/01/EV3-G-projekt-erstellen01-286x300.jpg 286w, https://www.brickobotik.de/wp-content/uploads/2019/01/EV3-G-projekt-erstellen01-610x639.jpg 610w" sizes="(max-width: 700px) 100vw, 700px" class="wp-image-2038" /></span></a>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_35">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_35  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_38  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="margin-bottom: 0.28cm; line-height: 108%;">Einen Klick später öffnet sich ein neues Projekt-Fenster.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_36">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_36  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_image et_pb_image_7">
				
				
				
				
				<span class="et_pb_image_wrap "><img loading="lazy" decoding="async" width="700" height="383" src="https://www.brickobotik.de/wp-content/uploads/2019/01/EV3-G-projekt-erstellen02.jpg" alt="" title="" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/EV3-G-projekt-erstellen02.jpg 700w, https://www.brickobotik.de/wp-content/uploads/2019/01/EV3-G-projekt-erstellen02-600x328.jpg 600w, https://www.brickobotik.de/wp-content/uploads/2019/01/EV3-G-projekt-erstellen02-300x164.jpg 300w, https://www.brickobotik.de/wp-content/uploads/2019/01/EV3-G-projekt-erstellen02-610x334.jpg 610w" sizes="(max-width: 700px) 100vw, 700px" class="wp-image-2039" /></span>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_37">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_37  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_39  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">Dies ist die Arbeitsfläche für all eure Programme. In der unteren Auswahl seht ihr die Blöcke, aus denen ihr eure Programme zusammenbauen könnt.</p>
<p style="text-align: justify;">Wer von euch nicht weiter weiß oder sein Programm mit unserem vergleichen möchte, findet im Folgenden unsere Lösung als Bild aber auch den Lösungsweg als Animation.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_38">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_38  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_cta_4 et_pb_promo  et_pb_text_align_center et_pb_bg_layout_dark">
				
				
				
				
				<div class="et_pb_promo_description"><div><h2>ZUR LÖSUNG WEITERSCROLLEN</h2>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p></div></div>
				
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_39">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_39  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_40  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h2>Lösungsbild:</h2></div>
			</div><div class="et_pb_module et_pb_image et_pb_image_8">
				
				
				
				
				<span class="et_pb_image_wrap "><img loading="lazy" decoding="async" width="509" height="211" src="https://www.brickobotik.de/wp-content/uploads/2019/01/EV3-G-first-project06.jpg" alt="" title="" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/EV3-G-first-project06.jpg 509w, https://www.brickobotik.de/wp-content/uploads/2019/01/EV3-G-first-project06-300x124.jpg 300w" sizes="(max-width: 509px) 100vw, 509px" class="wp-image-2037" /></span>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_40">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_40  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_41  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h2>LösungsWEG:</h2></div>
			</div><div class="et_pb_module et_pb_image et_pb_image_9">
				
				
				
				
				<span class="et_pb_image_wrap "><img decoding="async" src="https://www.brickobotik.de/wp-content/uploads/2019/01/EV3-G-Praktikum1-Lösung.gif" alt="" title="" /></span>
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div>
<p>Der Beitrag <a href="https://www.brickobotik.de/ev3-g-praktikum-1-erstellen-eines-projektes/">EV3-G &#8211; Praktikum 1: Erstellen eines Projektes</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.brickobotik.de/ev3-g-praktikum-1-erstellen-eines-projektes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>EV3-G – Auftakt zum Praktikum</title>
		<link>https://www.brickobotik.de/ev3-g-auftakt-zum-praktikum/</link>
					<comments>https://www.brickobotik.de/ev3-g-auftakt-zum-praktikum/#respond</comments>
		
		<dc:creator><![CDATA[Felix Krawczyk]]></dc:creator>
		<pubDate>Tue, 15 Jan 2019 14:08:00 +0000</pubDate>
				<category><![CDATA[Lern- & Lehrmaterialien]]></category>
		<category><![CDATA[Programmiersprachen]]></category>
		<category><![CDATA[Aufgabe 1]]></category>
		<category><![CDATA[EV3]]></category>
		<category><![CDATA[EV3-G]]></category>
		<category><![CDATA[LEGO Mindstorms EV3]]></category>
		<category><![CDATA[Praktikum]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Programmiersoftware]]></category>
		<category><![CDATA[Programmierumgebung]]></category>
		<guid isPermaLink="false">https://www.brickobotik.de/?p=2244</guid>

					<description><![CDATA[<p>Der Beitrag <a href="https://www.brickobotik.de/ev3-g-auftakt-zum-praktikum/">EV3-G – Auftakt zum Praktikum</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><div class="et_pb_section et_pb_section_6 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_41">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_41  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_42  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">Die nachfolgenden Praktikumsaufgaben sollen mit einigen kleinen Aufgaben die Plattform EV3-G erläutern. EV3-G ist eine grafische <strong>Programmiersprache</strong>. Dadurch ist das Tutorial für alle interessant, die sich mit dem Programmieren des EV3s auseinandersetzen möchten. Vorkenntnisse sind dafür nicht erforderlich.</p>
<p style="text-align: justify;">Was EV3-G alles bietet und was die Vorteile zu anderen textuellen Programmierumgebungen für den <span style="color: #ff9900;"><a title="Die LEGO® Mindstorms® EV3 Education-Edition auf Amazon" href="http://amzn.to/2y198L5" style="color: #ff9900;">LEGO® Mindstorms® EV3</a></span> sind, haben wir in einem <a title="Allgemeine Informationen zu EV3-G" href="https://www.brickobotik.de/ev3-g-die-programmierumgebung-fuer-den-ev3/">gesonderten Artikel</a> näher erläutert.</p>
<p style="text-align: justify;">Die Voraussetzung, um im folgenden Tutorial mitmachen zu können, ist ein LEGO® Mindstorms® EV3 und die Entwicklungsumgebung für EV3-G. Wie man diese einrichtet, zeigen wir in der gesonderten <a title="Installationsanleitung für EV3-G" href="https://www.brickobotik.de/ev3-g-installationsanleitung/">Installationsanleitung</a>.</p>
<p style="text-align: justify;">Der EV3 ist aufgeladen und die EV3-Software ist installiert? Dann kann es ja losgehen! Nachfolgend noch eine Auflistung aller Praktikumsaufgaben für eine schnelle Navigation.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_42">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_42  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_43  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Alle EV3-G Praktikumsaufgaben</h1>
<ol>
<li><a href="https://www.brickobotik.de/ev3-g-praktikum-1-erstellen-eines-projektes/" title="Praktikum 1: Erstellen eines Projekts">Praktikum: Erstellen eines Projekts</a></li>
<li>Praktikum: Motoren ansteuern</li>
<li>Praktikum: Ein Quadrat fahren</li>
<li>Praktikum: Der Einsatz von Schleifen</li>
<li>Praktikum: Ein Programm endlos ausführen</li>
<li>Praktikum: Den Tastsensor nutzen</li>
<li>Praktikum: Verbesserungen beim Tastsensor</li>
<li>Praktikum: Mit dem Ultraschallsensor stoppen</li>
<li>Praktikum: Dem Hindernis entwischen</li>
<li>Praktikum: Mit dem Lichtsensor stoppen</li>
<li>Praktikum: Wir folgen einer Linie</li>
</ol></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_43">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_43  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_cta_5 et_pb_promo  et_pb_text_align_center et_pb_bg_layout_dark">
				
				
				
				
				<div class="et_pb_promo_description"><h2 class="et_pb_module_header">Du hast weitere Ideen?</h2><div><p>Wenn du weitere Ideen für Aufgaben hast, die wir mit EV3-G lösen sollen, dann schreib uns eine Nachricht oder hinterlasse einen Kommentar. Wir freuen uns, von dir zu hören!</p></div></div>
				
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div></p>
<p>Der Beitrag <a href="https://www.brickobotik.de/ev3-g-auftakt-zum-praktikum/">EV3-G – Auftakt zum Praktikum</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.brickobotik.de/ev3-g-auftakt-zum-praktikum/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>EV3-G &#8211; Installationsanleitung</title>
		<link>https://www.brickobotik.de/ev3-g-installationsanleitung/</link>
					<comments>https://www.brickobotik.de/ev3-g-installationsanleitung/#respond</comments>
		
		<dc:creator><![CDATA[Felix Krawczyk]]></dc:creator>
		<pubDate>Fri, 11 Jan 2019 09:46:03 +0000</pubDate>
				<category><![CDATA[Lern- & Lehrmaterialien]]></category>
		<category><![CDATA[Programmiersprachen]]></category>
		<category><![CDATA[EV3-G]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[LEGO Mindstorms EV3]]></category>
		<category><![CDATA[Lehre]]></category>
		<category><![CDATA[Programmierumgebung]]></category>
		<guid isPermaLink="false">https://www.brickobotik.de/?p=1996</guid>

					<description><![CDATA[<p>Wir zeigen euch in dieser bebilderten Schritt-für-Schritt-Anleitung, wie ihr EV3-G, die Programmierumgebung von LEGO®, auf eurem Computer installiert.</p>
<p>Der Beitrag <a href="https://www.brickobotik.de/ev3-g-installationsanleitung/">EV3-G &#8211; Installationsanleitung</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><div class="et_pb_section et_pb_section_7 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_44">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_44  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_44  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p>Im <a href="https://www.brickobotik.de/ev3-g-die-programmierumgebung-fuer-den-ev3/">ersten EV3-G Artikel</a> haben wir beschrieben, was EV3-G für Vor- und Nachteile hat. Bevor es mit dem Programmieren losgehen kann, müssen wir EV3-G jedoch installieren.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_45">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_45  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_45  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Installation</h1>
<p style="text-align: justify;">Die Installation von EV3-G ist relativ einfach. Zu Beginn müsst ihr euch für eine der beiden erhältlichen Varianten entscheiden, je nachdem welches EV3-Modell ihr besitzt. Es gibt den EV3 nämlich in zwei Varianten &#8211; der LEGO®-Home Edition und der LEGO® Education Version. Der einzige Unterschied in puncto Programmierung ist der Infrarot-Sensor, welcher bei der Education-Edition durch einen Ultraschall-Sensor ersetzt wurde. Darauf nehmen wir in den folgenden Praktika jedoch Rücksicht.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_46">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_46  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_46  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h3>Installation Ev3-Home</h3>
<p style="text-align: justify;">Zuerst müsst ihr die benötigte Software herunterladen:</p>
<p style="text-align: justify;"><a href="https://www.lego.com/de-de/mindstorms/downloads/download-software" title="Download: EV3-Home">Downloadlink</a> für den LEGO EV3-Home (Set 31313 in Karton-Box verpackt)</p>
<p style="text-align: justify;">Nach dem Download ist die Installation recht linear und einfach durchzuführen.</p></div>
			</div><div class="et_pb_module et_pb_gallery et_pb_gallery_1  et_pb_bg_layout_light et_pb_gallery_grid">
				<div class="et_pb_gallery_items et_post_gallery clearfix" data-per_page="4"><div class="et_pb_gallery_item et_pb_grid_item et_pb_bg_layout_light et_pb_gallery_item_1_0"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_01.png" title="Home_Install_01">
					<img loading="lazy" decoding="async" width="284" height="125" src="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_01.png" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_01.png 479w, https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_01.png 480w" sizes="(max-width:479px) 479px, 100vw" class="wp-image-1999" />
					<span class="et_overlay"></span>
				</a>
				</div><h6 class="et_pb_gallery_title">Home_Install_01</h6></div><div class="et_pb_gallery_item et_pb_grid_item et_pb_bg_layout_light et_pb_gallery_item_1_1"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_02.png" title="Home_Install_02">
					<img loading="lazy" decoding="async" width="400" height="284" src="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_02-400x284.png" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_02.png 479w, https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_02-400x284.png 480w" sizes="(max-width:479px) 479px, 100vw" class="wp-image-2000" />
					<span class="et_overlay"></span>
				</a>
				</div><h6 class="et_pb_gallery_title">Home_Install_02</h6></div><div class="et_pb_gallery_item et_pb_grid_item et_pb_bg_layout_light et_pb_gallery_item_1_2"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_03.png" title="Home_Install_03">
					<img loading="lazy" decoding="async" width="400" height="284" src="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_03-400x284.png" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_03.png 479w, https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_03-400x284.png 480w" sizes="(max-width:479px) 479px, 100vw" class="wp-image-2001" />
					<span class="et_overlay"></span>
				</a>
				</div><h6 class="et_pb_gallery_title">Home_Install_03</h6></div><div class="et_pb_gallery_item et_pb_grid_item et_pb_bg_layout_light et_pb_gallery_item_1_3"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_04.png" title="Home_Install_04">
					<img loading="lazy" decoding="async" width="400" height="284" src="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_04-400x284.png" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_04.png 479w, https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_04-400x284.png 480w" sizes="(max-width:479px) 479px, 100vw" class="wp-image-2002" />
					<span class="et_overlay"></span>
				</a>
				</div><h6 class="et_pb_gallery_title">Home_Install_04</h6></div><div class="et_pb_gallery_item et_pb_grid_item et_pb_bg_layout_light et_pb_gallery_item_1_4"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_05.png" title="Home_Install_05">
					<img loading="lazy" decoding="async" width="400" height="284" src="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_05-400x284.png" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_05.png 479w, https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_05-400x284.png 480w" sizes="(max-width:479px) 479px, 100vw" class="wp-image-2003" />
					<span class="et_overlay"></span>
				</a>
				</div><h6 class="et_pb_gallery_title">Home_Install_05</h6></div><div class="et_pb_gallery_item et_pb_grid_item et_pb_bg_layout_light et_pb_gallery_item_1_5"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_06.png" title="Home_Install_06">
					<img loading="lazy" decoding="async" width="400" height="284" src="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_06-400x284.png" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_06.png 479w, https://www.brickobotik.de/wp-content/uploads/2019/01/Home_Install_06-400x284.png 480w" sizes="(max-width:479px) 479px, 100vw" class="wp-image-2004" />
					<span class="et_overlay"></span>
				</a>
				</div><h6 class="et_pb_gallery_title">Home_Install_06</h6></div></div><div class="et_pb_gallery_pagination"></div></div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_47">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_47  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_47  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h3>Installation Ev3-Education</h3>
<p style="text-align: justify;">Zuerst müsst ihr die benötigte Software herunterladen:</p>
<p><a href="https://education.lego.com/de-de/downloads/mindstorms-ev3/software" title="Download: EV3-Education">Downloadlink</a> für den LEGO EV3-Education (Set 45544 in Kunststoff-Box)</p>
<p style="text-align: justify;">Nach dem Download ist die Installation recht linear und einfach durchzuführen. In der Education Version ist der Schüler-Modus ausreichend. Der Lehrermodus bietet Extras, die in unseren Praktika nicht benötigt werden.</p></div>
			</div><div class="et_pb_module et_pb_gallery et_pb_gallery_2  et_pb_bg_layout_light et_pb_gallery_grid">
				<div class="et_pb_gallery_items et_post_gallery clearfix" data-per_page="4"><div class="et_pb_gallery_item et_pb_grid_item et_pb_bg_layout_light et_pb_gallery_item_2_0"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_01.png" title="EDU_Install_01">
					<img loading="lazy" decoding="async" width="284" height="125" src="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_01.png" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_01.png 479w, https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_01.png 480w" sizes="(max-width:479px) 479px, 100vw" class="wp-image-2005" />
					<span class="et_overlay"></span>
				</a>
				</div><h6 class="et_pb_gallery_title">EDU_Install_01</h6></div><div class="et_pb_gallery_item et_pb_grid_item et_pb_bg_layout_light et_pb_gallery_item_2_1"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_02.png" title="EDU_Install_02">
					<img loading="lazy" decoding="async" width="400" height="284" src="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_02-400x284.png" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_02.png 479w, https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_02-400x284.png 480w" sizes="(max-width:479px) 479px, 100vw" class="wp-image-2006" />
					<span class="et_overlay"></span>
				</a>
				</div><h6 class="et_pb_gallery_title">EDU_Install_02</h6></div><div class="et_pb_gallery_item et_pb_grid_item et_pb_bg_layout_light et_pb_gallery_item_2_2"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_03.png" title="EDU_Install_03">
					<img loading="lazy" decoding="async" width="400" height="284" src="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_03-400x284.png" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_03.png 479w, https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_03-400x284.png 480w" sizes="(max-width:479px) 479px, 100vw" class="wp-image-2007" />
					<span class="et_overlay"></span>
				</a>
				</div><h6 class="et_pb_gallery_title">EDU_Install_03</h6></div><div class="et_pb_gallery_item et_pb_grid_item et_pb_bg_layout_light et_pb_gallery_item_2_3"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_04.png" title="EDU_Install_04">
					<img loading="lazy" decoding="async" width="400" height="284" src="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_04-400x284.png" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_04.png 479w, https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_04-400x284.png 480w" sizes="(max-width:479px) 479px, 100vw" class="wp-image-2008" />
					<span class="et_overlay"></span>
				</a>
				</div><h6 class="et_pb_gallery_title">EDU_Install_04</h6></div><div class="et_pb_gallery_item et_pb_grid_item et_pb_bg_layout_light et_pb_gallery_item_2_4"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_05.png" title="EDU_Install_05">
					<img loading="lazy" decoding="async" width="400" height="284" src="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_05-400x284.png" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_05.png 479w, https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_05-400x284.png 480w" sizes="(max-width:479px) 479px, 100vw" class="wp-image-2009" />
					<span class="et_overlay"></span>
				</a>
				</div><h6 class="et_pb_gallery_title">EDU_Install_05</h6></div><div class="et_pb_gallery_item et_pb_grid_item et_pb_bg_layout_light et_pb_gallery_item_2_5"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_06.png" title="EDU_Install_06">
					<img loading="lazy" decoding="async" width="400" height="284" src="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_06-400x284.png" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_06.png 479w, https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_06-400x284.png 480w" sizes="(max-width:479px) 479px, 100vw" class="wp-image-2010" />
					<span class="et_overlay"></span>
				</a>
				</div><h6 class="et_pb_gallery_title">EDU_Install_06</h6></div><div class="et_pb_gallery_item et_pb_grid_item et_pb_bg_layout_light et_pb_gallery_item_2_6"><div class="et_pb_gallery_image landscape">
					<a href="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_07.png" title="EDU_Install_07">
					<img loading="lazy" decoding="async" width="400" height="284" src="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_07-400x284.png" srcset="https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_07.png 479w, https://www.brickobotik.de/wp-content/uploads/2019/01/EDU_Install_07-400x284.png 480w" sizes="(max-width:479px) 479px, 100vw" class="wp-image-2011" />
					<span class="et_overlay"></span>
				</a>
				</div><h6 class="et_pb_gallery_title">EDU_Install_07</h6></div></div><div class="et_pb_gallery_pagination"></div></div>
			</div>
				
				
				
				
			</div>
				
				
			</div></p>
<p>Der Beitrag <a href="https://www.brickobotik.de/ev3-g-installationsanleitung/">EV3-G &#8211; Installationsanleitung</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.brickobotik.de/ev3-g-installationsanleitung/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>EV3-G &#8211; Die Programmierumgebung für den EV3</title>
		<link>https://www.brickobotik.de/ev3-g-die-programmierumgebung-fuer-den-ev3/</link>
					<comments>https://www.brickobotik.de/ev3-g-die-programmierumgebung-fuer-den-ev3/#respond</comments>
		
		<dc:creator><![CDATA[Felix Krawczyk]]></dc:creator>
		<pubDate>Fri, 11 Jan 2019 08:49:48 +0000</pubDate>
				<category><![CDATA[Lern- & Lehrmaterialien]]></category>
		<category><![CDATA[Programmiersprachen]]></category>
		<category><![CDATA[Einführung]]></category>
		<category><![CDATA[EV3-G]]></category>
		<category><![CDATA[LEGO Mindstorms EV3]]></category>
		<category><![CDATA[Lehre]]></category>
		<category><![CDATA[Programmierumgebung]]></category>
		<guid isPermaLink="false">https://www.brickobotik.de/?p=1990</guid>

					<description><![CDATA[<p>Wir stellen euch die von LEGO® selbst entwickelte Programmierumgebung für den EV3 vor, die sich vor allem für den Einstieg in die EV3-Programmierung eignet.</p>
<p>Der Beitrag <a href="https://www.brickobotik.de/ev3-g-die-programmierumgebung-fuer-den-ev3/">EV3-G &#8211; Die Programmierumgebung für den EV3</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><div class="et_pb_section et_pb_section_8 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_48">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_48  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_48  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">EV3-G ist für viele die erste Wahl, wenn es ums Programmieren mit dem EV3 geht. Das liegt daran, dass diese Sprache von LEGO® selbst entwickelt wurde und daher im Regelfall problemlos funktioniert. Viele unserer Praktika führen wir ebenfalls mit EV3-G durch, denn es werden hier keine Programmierkenntnisse in einer textuellen Programmiersprache benötigt. EV3-G ist nämlich, wie das G verrät, eine grafische Sprache. Genaugenommen ist sie ein Blogeditor, in dem ihr mit verschiedenen Aktions- und Kontrollblöcken eigene Programme für den EV3 schreiben könnt.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_49">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_49  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_49  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Historie</h1>
<p style="text-align: justify;">LEGO® nutzt seit der ersten Generation der Mindstorms® einen grafischen Editor. So brachte schon der Mindstorms® RCX 1998 eine grafische Umgebung mit, welche im heutigen Vergleich recht rudimentär wirkt. Im Jahre 2000 kamen die LEGO® Spybotics mit einer abgespeckten Variante der grafischen Software auf den Markt.</p>
<p style="text-align: justify;">Mit dem großen Sprung auf die Mindstorms® NXT 2006 kam eine deutlich verbesserte Version der grafischen Programmierung dazu. Die Sprache wurde schnell unter der Bezeichnung NXT-G bekannt.</p>
<p style="text-align: justify;">Seit 2013 ist der bekannte Mindstorms® EV3 auf dem Markt und dessen Software ist eine deutliche Weiterentwicklung der Software NXT-G. Anfangs hat LEGO® die Softwarelizenzen von EV3-G zusätzlich zum EV3 verkauft, dies änderte sich jedoch recht schnell, da es viel Kritik aus der Gemeinschaft gab. Inzwischen ist die Software kostenlos herunterzuladen &#8211; der EV3 ist dadurch aber um den Preis einer Lizenz teurer geworden.  </p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_50">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_50  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_50  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>EV3-G Installation</h1>
<p style="text-align: justify;">Die Installation von EV3-G ist relativ einfach. Zu Beginn müsst ihr euch für eine der beiden erhältlichen Varianten entscheiden, je nachdem welches EV3-Modell ihr besitzt. Es gibt den EV3 nämlich in zwei Varianten &#8211; der LEGO®-Home und der LEGO® Education Version. Der einzige Unterschied in puncto Programmierung ist der Infrarot-Sensor, welcher bei der Education-Edition durch einen Ultraschall-Sensor ersetzt wurde. Darauf nehmen wir bei den folgenden Praktika jedoch Rücksicht. Eine Bilderstrecke zur Installation findet ihr in unserem separaten <a href="https://www.brickobotik.de/ev3-g-installationsanleitung/" title="Installation EV3 Umgebung">Installationsartikel</a>.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_51">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_51  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_51  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1><strong>Vor- und Nachteile</strong></h1>
<p style="text-align: justify;">EV3-G ist die von LEGO® eigens entwickelte Methode, den EV3 zu programmieren. Darum lässt sich der EV3 problemlos mit dem PC verbinden egal, ob per USB-Kabel, WLAN oder Bluetooth. Die Software ist komplett auf den EV3 zugeschnitten. So werden in der unteren rechten Ecke bei angeschlossenem EV3-Roboter relevante Informationen über die Motoren, die Sensoren und den Haupt-Brick angezeigt.</p>
<p style="text-align: justify;">Ein Nachteil ist, dass die Sprache bei nicht richtig verbundenen Blöcken keine schnelle Auskunft über den Fehler gibt. Zwar sind die betroffenen Blöcke dann heller als die verbundenen, aber auch diese Anzeige ist kein zuverlässiger Indikator. Darüber hinaus ist das Erstellen komplexer Algorithmen in EV3-G fast unmöglich, denn sobald etwas aufwändigere mathematischen Formeln benötigt werden, ist die Sprache unübersichtlich und teilweise auch unbrauchbar.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_52">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_52  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_52  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1><strong>Praktikum</strong></h1>
<p style="text-align: justify;">Unser EV3-G Tutorial, in form eines Praktikums findet ihr <a href="https://www.brickobotik.de/ev3-g-auftakt-zum-praktikum" title="Praktikum zu EV3-G">hier</a>. Es bietet einen schnellen Einstieg in die Programmierung des EV3 für alle, die kleine Projekte realisieren möchten. Aber auch für die unter euch mit ambitionierten Zielen, können einen schnellen Einstig in das Programmieren des EV3s finden.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_53">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_53  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_53  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Fazit</h1>
<p style="text-align: justify;">EV3-G ist super für den Einstieg in die Programmierung mit dem EV3 und eignet sich auch für größere Projekte &#8211; wer aber mit dem EV3 an Wettbewerben teilnehmen oder mit komplexen Programmen arbeiten möchte, sollte sich nach Alternativen umschauen. Die LEGO® EV3-Programmierungsumgebung ist eben in erster Linie ein weiteres Lehrmittel, also ein Werkzeug, das es Kindern und Studierenden auf einfache Weise ermöglichen soll, Programmierkonzepte zu entwickeln.</p>
<p style="text-align: justify;">Neben EV3-G sind in den letzten Jahren viele weitere teils grafische, teils textuelle Sprachen für den EV3 entwickelt worden. Eine Übersicht aller Programmiersprachen für den EV3, findet ihr in unserem <a href="https://www.brickobotik.de/ev3-g-die-programmierumgebung-fuer-den-ev3/" title="Übersichtsartikel der Programmiersprachen für den EV3">Übersichtsartikel</a>.</p></div>
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div></p>
<p>Der Beitrag <a href="https://www.brickobotik.de/ev3-g-die-programmierumgebung-fuer-den-ev3/">EV3-G &#8211; Die Programmierumgebung für den EV3</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.brickobotik.de/ev3-g-die-programmierumgebung-fuer-den-ev3/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>c4ev3 – Praktikum 3: Lenken, im Quadrat fahren</title>
		<link>https://www.brickobotik.de/c4ev3-praktikum-3-lenken-im-quadrat-fahren/</link>
		
		<dc:creator><![CDATA[Felix Krawczyk]]></dc:creator>
		<pubDate>Mon, 07 Jan 2019 06:30:07 +0000</pubDate>
				<category><![CDATA[Lern- & Lehrmaterialien]]></category>
		<category><![CDATA[Programmiersprachen]]></category>
		<category><![CDATA[Aufgabe 3]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[c4ev3]]></category>
		<category><![CDATA[LEGO Mindstorms EV3]]></category>
		<category><![CDATA[Lehre]]></category>
		<category><![CDATA[Praktikum]]></category>
		<category><![CDATA[Programmieren]]></category>
		<guid isPermaLink="false">https://www.brickobotik.de/?p=1018</guid>

					<description><![CDATA[<p>In der dritten Praktikumsaufgabe lernen wir die Lenkung kennen und programmieren den EV3 so, dass er ein kleines Quadrat fährt.</p>
<p>Der Beitrag <a href="https://www.brickobotik.de/c4ev3-praktikum-3-lenken-im-quadrat-fahren/">c4ev3 – Praktikum 3: Lenken, im Quadrat fahren</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><div class="et_pb_section et_pb_section_9 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_54">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_54  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_54  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">In der dritten Praktikumsaufgabe zu c4ev3 wollen wir die Ansteuerung der Motoren unseres Roboters vertiefen. Wenn du bisher noch kein c4ev3-Projekt in Eclipse angelegt hast, hilft dir unsere <a title="Erste Praktikumsaufgabe zum c4ev3" href="https://www.brickobotik.de/c4ev3-praktikum-1-erstellen-eines-projekts/">erste Praktikumsaufgabe</a> dabei.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_55">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_55  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_55  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Zweck</h1>
<p style="text-align: justify;">In praktisch allen Anwendungsfällen bewegen sich Roboter. Nachdem wir im letzten Praktikum das Vor- und Rückwärtsfahren behandelt haben, wollen wir uns nun dem Lenken widmen. Es gibt viele Roboter, die Gegenstände zu einem bestimmten Ziel transportieren. Dafür ist ein sicheres Navigieren notwendig. Bevor wir also größere Projekte realisieren können, befassen wir uns kurz damit, die Motoren unseres Roboters präzise anzusteuern, damit der Roboter exakte Kurven fährt und lernen gleichzeitig dabei, wie wir diese Bewegung in c4ev3 programmieren können.</p></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_56  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Vorbereitung</h1>
<p style="text-align: justify;">Zur Vorbereitung erstellt ihr wie im vorherigen Praktikum zunächst ein neues c4ev3-Projekt. Wir starten wieder mit einem <strong>Hello World</strong>-Projekt, da uns Eclipse dadurch sehr viele Einstellungen abnimmt. Die C-Datei im Verzeichnis <strong>src</strong>, in der wir unseren Programmcode schreiben, können wir beliebig anpassen, um die gewünschte Aufgabe zu erfüllen. Wenn ihr die Programmierung direkt ausprobieren wollt, benötigt ihr einen EV3, der ähnlich dem Education Basismodell aufgebaut ist.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_56">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_56  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_57  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Aufgabe</h1>
<p style="text-align: justify;">Programmiere den Roboter so, dass er ein kleines Quadrat fährt. Dazu soll der EV3 genau 10 cm vorwärts fahren und sich um exakt 90° drehen. Diese beiden Schritte müssen dann noch drei Mal wiederholt werden, bis das Quadrat vollständig abgefahren ist.</p>
<p style="text-align: justify;">Die Befehle, die für dieses Praktikum notwendig sind, kannst du aus der <a href="https://github.com/c4ev3/EV3-API/blob/master/commands.pdf">EV3-API</a> von c4ev3 heraussuchen, falls du sie nicht auswendig weißt. Wenn du gar nicht weiterkommst oder nicht weißt, wie du anfangen kannst, helfen dir folgende Tipps vielleicht weiter. Aber versuche es erst ohne Hilfe.</p></div>
			</div><div class="et_pb_module et_pb_toggle et_pb_toggle_3 et_pb_toggle_item  et_pb_toggle_close">
				
				
				
				
				<h5 class="et_pb_toggle_title">Brauchst du einen Tipp?</h5>
				<div class="et_pb_toggle_content clearfix"><p style="text-align: justify;">Die folgenden Tipps helfen dir, falls du nicht weißt, wie du anfangen sollst oder wenn du nicht weiterkommst.</p>
<ul>
<li style="text-align: justify;"><strong>Zerlege die Aufgabe</strong> in kleinere Teile. Zuerst fahren und wenn das funktioniert um 90° drehen. Die Kombination vier Mal hintereinander wiederholen.</li>
<li style="text-align: justify;">Achte immer darauf, dass du das aktuelle Projekt im <strong>Projekt-Explorer</strong> von Eclipse ausgewält hast.</li>
<li style="text-align: justify;"><strong>Speichere</strong> dein Programm oft (<strong>Strg + S</strong>). So gehen Änderungen nicht verloren und beim Übertragen auf den EV3 wird die aktuelle Version übermittelt.</li>
<li style="text-align: justify;">Denke daran, dein Programm zu <strong>kompilieren</strong> (<strong>Strg + B</strong>), bevor du den Code auf den EV3 überträgst.</li>
</ul></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_58  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p style="text-align: justify;">Für die Aufgabe sind API-Aufrufe von c4ev3 nötig. Sie regeln, welche Befehle an den EV3 weitergeleitet werden. Wir haben das EV3-API etwas weiter oben im Text bereits verlinkt.</p></div>
			</div><div class="et_pb_module et_pb_cta_6 et_pb_promo  et_pb_text_align_center et_pb_bg_layout_dark">
				
				
				
				
				<div class="et_pb_promo_description"><div><h2 class="et_pb_module_header et-fb-editable-element et-fb-editable-element__editing" contenteditable="true" data-shortcode-id="0.2.0.3-1546810118475" data-quickaccess-id="header">ZUR LÖSUNG WEITERSCROLLEN</h2></div></div>
				
			</div><div class="et_pb_module et_pb_text et_pb_text_59  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Lösung</h1>
<p style="text-align: justify;">Das nachfolgende Listing zeigt das komplette Programm und damit auch eine mögliche vollständige Lösung. <br />Wenn du gar nicht weißt, wie du die Aufgabe angehen sollst, kannst du dir hier die Lösung anschauen.</p></div>
			</div>[et_pb_dmb_code_snippet title=&#8220;Listing 1: Das C-Programm für die dritte c4ev3-Praktikumsaufgabe.&#8220; linenums=&#8220;on&#8220; _builder_version=&#8220;3.17.6&#8243; body_font_size_tablet=&#8220;51&#8243; body_line_height_tablet=&#8220;2&#8243; header_font_size_tablet=&#8220;51&#8243; header_line_height_tablet=&#8220;2&#8243;]</p>
<p>LyoKIFxmaWxlCQlwcmFrMDMuYwogXGF1dGhvcgkke3VzZXJ9CiBcZGF0ZQkJJHtkYXRlfQogXGJyaWVmCQlTaW1wbGUgSGVsbG8gV29ybGQhIGZvciB0aGUgRXYzCiovCgojaW5jbHVkZSA8ZXYzLmg+CgppbnQgbWFpbih2b2lkKQp7CgoJSW5pdEVWMygpOwoKCgkvKgoJICogICAxLiBTZWl0ZSBkZXMgUXVhZHJhdHMKCSAqLwoJCgkvL2VpbmUgU2VrdW5kZSBncmFkZWF1cyBmYWhyZW4KCU9uRndkUmVnKE9VVF9CQywyNSk7CglXYWl0KFNFQ18xKTsKCgkvL3N0b3BwZW4KCU9mZihPVVRfQkMpOwoJV2FpdChNU181MDApOwoKCS8vZWluZSA5MC1HcmFkLUt1cnZlIGZhaHJlbgoJT25Gd2RSZWcoT1VUX0IsMjUpOwoJT2ZmKE9VVF9DKTsKCVdhaXQoU0VDXzEpOwoJV2FpdChNU181MDApOwoKCS8vc3RvcHBlbgoJT2ZmKE9VVF9CQyk7CglXYWl0KE1TXzUwMCk7CgoJCgoKCgkvKgoJICogICAyLiBTZWl0ZSBkZXMgUXVhZHJhdHMKCSAqLwoJCgkvL2VpbmUgU2VrdW5kZSBncmFkZWF1cyBmYWhyZW4KCU9uRndkUmVnKE9VVF9CQywyNSk7CglXYWl0KFNFQ18xKTsKCgkvL3N0b3BwZW4KCU9mZihPVVRfQkMpOwoJV2FpdChNU181MDApOwoKCS8vZWluZSA5MC1HcmFkLUt1cnZlIGZhaHJlbgoJT25Gd2RSZWcoT1VUX0IsMjUpOwoJT2ZmKE9VVF9DKTsKCVdhaXQoU0VDXzEpOwoJV2FpdChNU181MDApOwoKCS8vc3RvcHBlbgoJT2ZmKE9VVF9CQyk7CglXYWl0KE1TXzUwMCk7CgoKCgoKCS8qCgkgKiAgIDMuIFNlaXRlIGRlcyBRdWFkcmF0cwoJICovCgkKCS8vZWluZSBTZWt1bmRlIGdyYWRlYXVzIGZhaHJlbgoJT25Gd2RSZWcoT1VUX0JDLDI1KTsKCVdhaXQoU0VDXzEpOwoKCS8vc3RvcHBlbgoJT2ZmKE9VVF9CQyk7CglXYWl0KE1TXzUwMCk7CgoJLy9laW5lIDkwLUdyYWQtS3VydmUgZmFocmVuCglPbkZ3ZFJlZyhPVVRfQiwyNSk7CglPZmYoT1VUX0MpOwoJV2FpdChTRUNfMSk7CglXYWl0KE1TXzUwMCk7CgoJLy9zdG9wcGVuCglPZmYoT1VUX0JDKTsKCVdhaXQoTVNfNTAwKTsKCgoKCgoJLyoKCSAqICAgNC4gU2VpdGUgZGVzIFF1YWRyYXRzCgkgKi8KCQoJLy9laW5lIFNla3VuZGUgZ3JhZGVhdXMgZmFocmVuCglPbkZ3ZFJlZyhPVVRfQkMsMjUpOwoJV2FpdChTRUNfMSk7CgoJLy9zdG9wcGVuCglPZmYoT1VUX0JDKTsKCVdhaXQoTVNfNTAwKTsKCgkvL2VpbmUgOTAtR3JhZC1LdXJ2ZSBmYWhyZW4KCU9uRndkUmVnKE9VVF9CLDI1KTsKCU9mZihPVVRfQyk7CglXYWl0KFNFQ18xKTsKCVdhaXQoTVNfNTAwKTsKCgkvL3N0b3BwZW4KCU9mZihPVVRfQkMpOwoJV2FpdChNU181MDApOwoKCgoKCgoKCQoJRnJlZUVWMygpOwoJcmV0dXJuIDA7Cn0=</p>
<p>[/et_pb_dmb_code_snippet]
			</div>
				
				
				
				
			</div>
				
				
			</div></p>
<p>Der Beitrag <a href="https://www.brickobotik.de/c4ev3-praktikum-3-lenken-im-quadrat-fahren/">c4ev3 – Praktikum 3: Lenken, im Quadrat fahren</a> erschien zuerst auf <a href="https://www.brickobotik.de">brickobotik</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
