{"id":1717,"date":"2026-10-27T20:22:15","date_gmt":"2026-10-27T20:22:15","guid":{"rendered":"https:\/\/www.digikul.hu\/?page_id=1717"},"modified":"2026-10-28T18:14:33","modified_gmt":"2026-10-28T18:14:33","slug":"blokkprogramozas-ismetles","status":"publish","type":"page","link":"https:\/\/www.digikul.hu\/index.php\/blokkprogramozas-ismetles\/","title":{"rendered":"Blokkprogramoz\u00e1s (ism\u00e9tl\u00e9s)"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1717\" class=\"elementor elementor-1717\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-960c9b8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"960c9b8\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;motion_fx_motion_fx_scrolling&quot;:&quot;yes&quot;,&quot;sticky&quot;:&quot;top&quot;,&quot;motion_fx_devices&quot;:[&quot;desktop&quot;,&quot;tablet&quot;,&quot;mobile&quot;],&quot;sticky_on&quot;:[&quot;desktop&quot;,&quot;tablet&quot;,&quot;mobile&quot;],&quot;sticky_offset&quot;:0,&quot;sticky_effects_offset&quot;:0}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-5e05119\" data-id=\"5e05119\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-01db9af elementor-align-center elementor-widget elementor-widget-button\" data-id=\"01db9af\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"#elmelet\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Elm\u00e9let<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-d28f9a4\" data-id=\"d28f9a4\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3695ddd elementor-align-center elementor-widget elementor-widget-button\" data-id=\"3695ddd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"#peldak\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">P\u00e9d\u00e1k<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-ca92e54\" data-id=\"ca92e54\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7b63ba2 elementor-align-center elementor-widget elementor-widget-button\" data-id=\"7b63ba2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"#gyakorlat\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Gyakorlat<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-526aefc elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"526aefc\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-62f7f72\" data-id=\"62f7f72\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9ff4098 elementor-widget elementor-widget-text-editor\" data-id=\"9ff4098\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"elmelet\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h1 style=\"text-align: center;\"><strong><span style=\"color: #800080;\">ELM\u00c9LET<\/span><\/strong><\/h1><p data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 []\">A <strong>blokkprogramoz\u00e1sban<\/strong> a programot el\u0151re elk\u00e9sz\u00edtett, egym\u00e1sba illeszthet\u0151 elemekb\u0151l rakjuk \u00f6ssze. Nem kell g\u00e9pelni, \u00e9s nem lehet el\u00edrni a parancsot, ez\u00e9rt a figyelem a l\u00e9nyegre, az algoritmus fel\u00e9p\u00edt\u00e9s\u00e9re jut. Ugyanazt a h\u00e1rom alapszerkezetet haszn\u00e1ljuk, mint az el\u0151z\u0151 modulban, csak most a g\u00e9p v\u00e9gre is hajtja.<\/p><h3 id=\"az-alapszerkezetek-blokkokkal\">Az alapszerkezetek blokkokkal<\/h3>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9e757d3 elementor-widget elementor-widget-html\" data-id=\"9e757d3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div style=\"overflow-x:auto\">\r\n<table style=\"width:100%;border-collapse:collapse;font-size:20px\">\r\n  <thead>\r\n    <tr style=\"background:#0E7468;color:#fff;text-align:left\">\r\n      <th style=\"padding:12px 16px\">Szerkezet<\/th>\r\n      <th style=\"padding:12px 16px\">Scratch<\/th>\r\n      <th style=\"padding:12px 16px\">LEGO SPIKE Prime<\/th>\r\n      <th style=\"padding:12px 16px\">Mondatszer\u0171 le\u00edr\u00e1s<\/th>\r\n    <\/tr>\r\n  <\/thead>\r\n  <tbody>\r\n    <tr style=\"border-bottom:1px solid #DCE2EA\">\r\n      <td style=\"padding:12px 16px;font-weight:600\">Program ind\u00edt\u00e1sa<\/td>\r\n      <td style=\"padding:12px 16px\"><code style=\"background:#EEF1F5;padding:2px 6px;border-radius:4px\">z\u00e1szl\u00f3ra kattint\u00e1skor<\/code><\/td>\r\n      <td style=\"padding:12px 16px\"><code style=\"background:#EEF1F5;padding:2px 6px;border-radius:4px\">when program starts<\/code><\/td>\r\n      <td style=\"padding:12px 16px\">Algoritmus kezdete<\/td>\r\n    <\/tr>\r\n    <tr style=\"border-bottom:1px solid #DCE2EA;background:#F4F6F9\">\r\n      <td style=\"padding:12px 16px;font-weight:600\">Szekvencia<\/td>\r\n      <td style=\"padding:12px 16px\">blokkok egym\u00e1s al\u00e1 illesztve<\/td>\r\n      <td style=\"padding:12px 16px\">blokkok egym\u00e1s al\u00e1 illesztve<\/td>\r\n      <td style=\"padding:12px 16px\">l\u00e9p\u00e9sek egym\u00e1s alatt<\/td>\r\n    <\/tr>\r\n    <tr style=\"border-bottom:1px solid #DCE2EA\">\r\n      <td style=\"padding:12px 16px;font-weight:600\">El\u00e1gaz\u00e1s<\/td>\r\n      <td style=\"padding:12px 16px\"><code style=\"background:#EEF1F5;padding:2px 6px;border-radius:4px\">ha \u2026 akkor<\/code><br><code style=\"background:#EEF1F5;padding:2px 6px;border-radius:4px;display:inline-block;margin-top:6px\">ha \u2026 akkor \u2026 k\u00fcl\u00f6nben<\/code><\/td>\r\n      <td style=\"padding:12px 16px\"><code style=\"background:#EEF1F5;padding:2px 6px;border-radius:4px\">if then<\/code><br><code style=\"background:#EEF1F5;padding:2px 6px;border-radius:4px;display:inline-block;margin-top:6px\">if then else<\/code><\/td>\r\n      <td style=\"padding:12px 16px\">Ha \u2026 akkor \u2026 k\u00fcl\u00f6nben \u2026 El\u00e1gaz\u00e1s v\u00e9ge<\/td>\r\n    <\/tr>\r\n    <tr style=\"border-bottom:1px solid #DCE2EA;background:#F4F6F9\">\r\n      <td style=\"padding:12px 16px;font-weight:600\">Sz\u00e1ml\u00e1l\u00f3s ciklus<\/td>\r\n      <td style=\"padding:12px 16px\"><code style=\"background:#E3E8EF;padding:2px 6px;border-radius:4px\">ism\u00e9teld 10<\/code><\/td>\r\n      <td style=\"padding:12px 16px\"><code style=\"background:#E3E8EF;padding:2px 6px;border-radius:4px\">repeat 10<\/code><\/td>\r\n      <td style=\"padding:12px 16px\">Ciklus 10-szer \u2026 Ciklus v\u00e9ge<\/td>\r\n    <\/tr>\r\n    <tr style=\"border-bottom:1px solid #DCE2EA\">\r\n      <td style=\"padding:12px 16px;font-weight:600\">Felt\u00e9teles ciklus<\/td>\r\n      <td style=\"padding:12px 16px\"><code style=\"background:#EEF1F5;padding:2px 6px;border-radius:4px\">ism\u00e9teld, am\u00edg \u2026<\/code><\/td>\r\n      <td style=\"padding:12px 16px\"><code style=\"background:#EEF1F5;padding:2px 6px;border-radius:4px\">repeat until<\/code><\/td>\r\n      <td style=\"padding:12px 16px\">Ciklus am\u00edg nem \u2026 Ciklus v\u00e9ge<\/td>\r\n    <\/tr>\r\n    <tr style=\"border-bottom:1px solid #DCE2EA;background:#F4F6F9\">\r\n      <td style=\"padding:12px 16px;font-weight:600\">V\u00e9gtelen ciklus<\/td>\r\n      <td style=\"padding:12px 16px\"><code style=\"background:#E3E8EF;padding:2px 6px;border-radius:4px\">mindig<\/code><\/td>\r\n      <td style=\"padding:12px 16px\"><code style=\"background:#E3E8EF;padding:2px 6px;border-radius:4px\">forever<\/code><\/td>\r\n      <td style=\"padding:12px 16px\">Ciklus mindig \u2026<\/td>\r\n    <\/tr>\r\n    <tr>\r\n      <td style=\"padding:12px 16px;font-weight:600\">V\u00e1rakoz\u00e1s<\/td>\r\n      <td style=\"padding:12px 16px\"><code style=\"background:#EEF1F5;padding:2px 6px;border-radius:4px\">v\u00e1rj 1 mp-et<\/code><\/td>\r\n      <td style=\"padding:12px 16px\"><code style=\"background:#EEF1F5;padding:2px 6px;border-radius:4px\">wait 1 seconds<\/code><\/td>\r\n      <td style=\"padding:12px 16px\">V\u00e1rj 1 m\u00e1sodpercet<\/td>\r\n    <\/tr>\r\n  <\/tbody>\r\n<\/table>\r\n<\/div>\r\n<p style=\"font-size:15px;color:#556170;margin-top:8px\">A Scratch blokkjainak magyar neve verzi\u00f3t\u00f3l f\u00fcgg\u0151en kicsit elt\u00e9rhet. A SPIKE webes szerkeszt\u0151je angol blokkneveket haszn\u00e1l.<\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2124ebb elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2124ebb\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c42cc69\" data-id=\"c42cc69\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-aed4c89 elementor-widget elementor-widget-text-editor\" data-id=\"aed4c89\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 id=\"amire-figyelni-kell\" data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 3 []\"><span style=\"color: #ff6600;\">Amire figyelni kell<\/span><\/h3><ul><li><span style=\"color: #ff6600;\"><strong>A sorrend sz\u00e1m\u00edt.<\/strong> A blokkok fentr\u0151l lefel\u00e9 futnak le. Ha a <code spellcheck=\"false\">fordulj<\/code> blokk a <code spellcheck=\"false\">menj<\/code> el\u00e9 ker\u00fcl, m\u00e1s lesz az eredm\u00e9ny.<\/span><\/li><li><span style=\"color: #ff6600;\"><strong>A ciklus \u201esz\u00e1ja\u201d z\u00e1rja be az ism\u00e9tlend\u0151 r\u00e9szt.<\/strong> Csak a ciklus belsej\u00e9be illesztett blokkok ism\u00e9tl\u0151dnek, az ut\u00e1na k\u00f6vetkez\u0151k egyszer futnak le.<\/span><\/li><li><span style=\"color: #ff6600;\"><strong>A v\u00e9gtelen ciklus nem hiba.<\/strong> J\u00e1t\u00e9kokn\u00e1l \u00e9s robotokn\u00e1l gyakran addig kell futnia a programnak, am\u00edg le nem \u00e1ll\u00edtjuk. Az algoritmus v\u00e9gess\u00e9ge itt a meg\u00e1ll\u00edt\u00e1s gombbal teljes\u00fcl.<\/span><\/li><li><span style=\"color: #ff6600;\"><strong>A felt\u00e9tel hatsz\u00f6glet\u0171 blokk.<\/strong> Scratchben \u00e9s SPIKE-ban is a hatsz\u00f6glet\u0171 (igaz\/hamis) blokkok ker\u00fclhetnek az el\u00e1gaz\u00e1s \u00e9s a felt\u00e9teles ciklus felt\u00e9tel-hely\u00e9re, p\u00e9ld\u00e1ul <code spellcheck=\"false\">\u00e9rinti a falat?<\/code> vagy <code spellcheck=\"false\">is color red?<\/code>.<\/span><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-65d81e6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"65d81e6\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7bbeee7\" data-id=\"7bbeee7\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2840fad elementor-widget elementor-widget-text-editor\" data-id=\"2840fad\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"peldak\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h1 id=\"kidolgozott-p\u00e9ld\u00e1k\" style=\"text-align: center;\" data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 []\"><strong><span style=\"color: #800080;\">KIDOLGOZOTT P\u00c9LD\u00c1K<\/span><\/strong><\/h1><p>A blokkokat itt sz\u00f6veggel \u00edrjuk le: a beh\u00faz\u00e1s jelzi, hogy egy blokk a ciklus vagy az el\u00e1gaz\u00e1s belsej\u00e9ben van.<\/p><h3 id=\"1-p\u00e9lda-n\u00e9gyzet-rajzol\u00e1sa-szekvencia-ciklus\"><span style=\"color: #000080;\"><strong>1. p\u00e9lda \u2013 N\u00e9gyzet rajzol\u00e1sa (szekvencia \u2192 ciklus)<\/strong><\/span><\/h3><p>Scratch, Toll b\u0151v\u00edtm\u00e9nnyel. El\u0151sz\u00f6r csak egym\u00e1s ut\u00e1n rakjuk a l\u00e9p\u00e9seket:<\/p><pre spellcheck=\"false\"><code>z\u00e1szl\u00f3ra kattint\u00e1skor\nt\u00f6r\u00f6ld mind\ntoll le\nmenj 100 l\u00e9p\u00e9st\nfordulj jobbra 90 fokot\nmenj 100 l\u00e9p\u00e9st\nfordulj jobbra 90 fokot\nmenj 100 l\u00e9p\u00e9st\nfordulj jobbra 90 fokot\nmenj 100 l\u00e9p\u00e9st\nfordulj jobbra 90 fokot<\/code><\/pre><p><strong>A k\u00f3d \u00e9s az eredm\u00e9ny<\/strong><\/p><pre spellcheck=\"false\"><code><\/code><\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-609a00d elementor-widget elementor-widget-gallery\" data-id=\"609a00d\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;lazyload&quot;:&quot;yes&quot;,&quot;gallery_layout&quot;:&quot;grid&quot;,&quot;columns&quot;:4,&quot;columns_tablet&quot;:2,&quot;columns_mobile&quot;:1,&quot;gap&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;gap_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;gap_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;link_to&quot;:&quot;file&quot;,&quot;aspect_ratio&quot;:&quot;3:2&quot;,&quot;overlay_background&quot;:&quot;yes&quot;,&quot;content_hover_animation&quot;:&quot;fade-in&quot;}\" data-widget_type=\"gallery.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-gallery__container\">\n\t\t\t\t\t\t\t<a class=\"e-gallery-item elementor-gallery-item elementor-animated-content\" href=\"https:\/\/www.digikul.hu\/wp-content\/uploads\/2026\/10\/scra_1.png\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"609a00d\" data-elementor-lightbox-title=\"scra_1\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTc5NiwidXJsIjoiaHR0cHM6XC9cL3d3dy5kaWdpa3VsLmh1XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI2XC8xMFwvc2NyYV8xLnBuZyIsInNsaWRlc2hvdyI6IjYwOWEwMGQifQ%3D%3D\">\n\t\t\t\t\t<div class=\"e-gallery-image elementor-gallery-item__image\" data-thumbnail=\"https:\/\/www.digikul.hu\/wp-content\/uploads\/2026\/10\/scra_1-266x300.png\" data-width=\"266\" data-height=\"300\" aria-label=\"\" role=\"img\" ><\/div>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"elementor-gallery-item__overlay\"><\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t<a class=\"e-gallery-item elementor-gallery-item elementor-animated-content\" href=\"https:\/\/www.digikul.hu\/wp-content\/uploads\/2026\/10\/scra_2.png\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"609a00d\" data-elementor-lightbox-title=\"scra_2\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTc5NywidXJsIjoiaHR0cHM6XC9cL3d3dy5kaWdpa3VsLmh1XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI2XC8xMFwvc2NyYV8yLnBuZyIsInNsaWRlc2hvdyI6IjYwOWEwMGQifQ%3D%3D\">\n\t\t\t\t\t<div class=\"e-gallery-image elementor-gallery-item__image\" data-thumbnail=\"https:\/\/www.digikul.hu\/wp-content\/uploads\/2026\/10\/scra_2-286x300.png\" data-width=\"286\" data-height=\"300\" aria-label=\"\" role=\"img\" ><\/div>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"elementor-gallery-item__overlay\"><\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d477a22 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d477a22\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-09b4d1e\" data-id=\"09b4d1e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-08c2367 elementor-widget elementor-widget-text-editor\" data-id=\"08c2367\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre spellcheck=\"false\"><span style=\"color: #ff6600;\">\u00c9szrevessz\u00fck, hogy ugyanaz a k\u00e9t blokk n\u00e9gyszer ism\u00e9tl\u0151dik.<\/span> <\/pre><p><span style=\"color: #008000;\">Ciklussal:<\/span><\/p><pre spellcheck=\"false\"><code>z\u00e1szl\u00f3ra kattint\u00e1skor\nt\u00f6r\u00f6ld mind\ntoll le\nism\u00e9teld 4\n    menj 100 l\u00e9p\u00e9st\n    fordulj jobbra 90 fokot<br \/><br \/><strong>A k\u00f3d<\/strong><\/code><\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-53ce276 elementor-widget elementor-widget-gallery\" data-id=\"53ce276\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;lazyload&quot;:&quot;yes&quot;,&quot;gallery_layout&quot;:&quot;grid&quot;,&quot;columns&quot;:4,&quot;columns_tablet&quot;:2,&quot;columns_mobile&quot;:1,&quot;gap&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;gap_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;gap_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;link_to&quot;:&quot;file&quot;,&quot;aspect_ratio&quot;:&quot;3:2&quot;,&quot;overlay_background&quot;:&quot;yes&quot;,&quot;content_hover_animation&quot;:&quot;fade-in&quot;}\" data-widget_type=\"gallery.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-gallery__container\">\n\t\t\t\t\t\t\t<a class=\"e-gallery-item elementor-gallery-item elementor-animated-content\" href=\"https:\/\/www.digikul.hu\/wp-content\/uploads\/2026\/10\/scra_3.png\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"53ce276\" data-elementor-lightbox-title=\"scra_3\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTgwMiwidXJsIjoiaHR0cHM6XC9cL3d3dy5kaWdpa3VsLmh1XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI2XC8xMFwvc2NyYV8zLnBuZyIsInNsaWRlc2hvdyI6IjUzY2UyNzYifQ%3D%3D\">\n\t\t\t\t\t<div class=\"e-gallery-image elementor-gallery-item__image\" data-thumbnail=\"https:\/\/www.digikul.hu\/wp-content\/uploads\/2026\/10\/scra_3-189x300.png\" data-width=\"189\" data-height=\"300\" aria-label=\"\" role=\"img\" ><\/div>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"elementor-gallery-item__overlay\"><\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-cca5c19 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"cca5c19\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-deb5a08\" data-id=\"deb5a08\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-24b08cf elementor-widget elementor-widget-text-editor\" data-id=\"24b08cf\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"color: #ff6600;\">A program 11 blokk helyett 6, \u00e9s ha \u00f6tsz\u00f6get akarunk, csak k\u00e9t sz\u00e1mot kell \u00e1t\u00edrni. \u00c1ltal\u00e1nos szab\u00e1ly: <strong>n oldal\u00fa szab\u00e1lyos soksz\u00f6gn\u00e9l n-szer ism\u00e9tl\u00fcnk, \u00e9s 360 \/ n fokot fordulunk.<\/strong><\/span><\/p><hr \/><h3 id=\"2-p\u00e9lda-szorz\u00f3t\u00e1bla-k\u00e9rd\u00e9s-el\u00e1gaz\u00e1s\"><span style=\"color: #000080;\"><strong>2. p\u00e9lda \u2013 Szorz\u00f3t\u00e1bla-k\u00e9rd\u00e9s (el\u00e1gaz\u00e1s)<\/strong><\/span><\/h3><p>Scratch. A szerepl\u0151 feltesz egy k\u00e9rd\u00e9st, \u00e9s a v\u00e1lasz alapj\u00e1n dics\u00e9r vagy jav\u00edt.<\/p><pre spellcheck=\"false\"><code>z\u00e1szl\u00f3ra kattint\u00e1skor\nk\u00e9rdezd meg: Mennyi 7 \u00d7 8? \u00e9s v\u00e1rj\nha v\u00e1lasz = 56 akkor\n    mondd: Helyes! 2 mp-ig\nk\u00fcl\u00f6nben\n    mondd: Nem, a helyes v\u00e1lasz 56. 2 mp-ig<\/code><\/pre><p>Mondatszer\u0171en:<\/p><pre spellcheck=\"false\"><code>Be: v\u00e1lasz\nHa v\u00e1lasz = 56 akkor\n  Ki: \"Helyes!\"\nk\u00fcl\u00f6nben\n  Ki: \"Nem, a helyes v\u00e1lasz 56.\"\nEl\u00e1gaz\u00e1s v\u00e9ge<\/code><\/pre><p><strong>A k\u00f3d<\/strong><\/p><pre spellcheck=\"false\"><code><\/code><\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-17ed8c0 elementor-widget elementor-widget-gallery\" data-id=\"17ed8c0\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;lazyload&quot;:&quot;yes&quot;,&quot;gallery_layout&quot;:&quot;grid&quot;,&quot;columns&quot;:4,&quot;columns_tablet&quot;:2,&quot;columns_mobile&quot;:1,&quot;gap&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;gap_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;gap_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;link_to&quot;:&quot;file&quot;,&quot;aspect_ratio&quot;:&quot;3:2&quot;,&quot;overlay_background&quot;:&quot;yes&quot;,&quot;content_hover_animation&quot;:&quot;fade-in&quot;}\" data-widget_type=\"gallery.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-gallery__container\">\n\t\t\t\t\t\t\t<a class=\"e-gallery-item elementor-gallery-item elementor-animated-content\" href=\"https:\/\/www.digikul.hu\/wp-content\/uploads\/2026\/10\/scra_4.png\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"17ed8c0\" data-elementor-lightbox-title=\"scra_4\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTgwMywidXJsIjoiaHR0cHM6XC9cL3d3dy5kaWdpa3VsLmh1XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI2XC8xMFwvc2NyYV80LnBuZyIsInNsaWRlc2hvdyI6IjE3ZWQ4YzAifQ%3D%3D\">\n\t\t\t\t\t<div class=\"e-gallery-image elementor-gallery-item__image\" data-thumbnail=\"https:\/\/www.digikul.hu\/wp-content\/uploads\/2026\/10\/scra_4-300x224.png\" data-width=\"300\" data-height=\"224\" aria-label=\"\" role=\"img\" ><\/div>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"elementor-gallery-item__overlay\"><\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2b41b8e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2b41b8e\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-80acf1a\" data-id=\"80acf1a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-50f66ce elementor-widget elementor-widget-text-editor\" data-id=\"50f66ce\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<hr \/><h3 id=\"3-p\u00e9lda-robot-meg\u00e1ll-az-akad\u00e1ly-el\u0151tt-felt\u00e9teles-ciklus\"><span style=\"color: #000080;\"><strong>3. p\u00e9lda \u2013 Robot meg\u00e1ll az akad\u00e1ly el\u0151tt (felt\u00e9teles ciklus)<\/strong><\/span><\/h3><p>LEGO SPIKE Prime, k\u00e9tmotoros alapj\u00e1rm\u0171, el\u0151re n\u00e9z\u0151 t\u00e1vols\u00e1g\u00e9rz\u00e9kel\u0151vel.<\/p><pre spellcheck=\"false\"><code>when program starts\nset movement speed to 40 %\nstart moving straight\nwait until (distance sensor is closer than 10 cm)\nstop moving\nplay beep for 0.5 seconds<\/code><\/pre><p><span style=\"color: #ff6600;\">A <code spellcheck=\"false\">wait until<\/code> blokk addig v\u00e1r, am\u00edg a felt\u00e9tel igaz nem lesz, k\u00f6zben a robot halad. Ez egy rejtett felt\u00e9teles ciklus: <em>\u201eCiklus am\u00edg nem k\u00f6zelebb 10 cm-n\u00e9l: haladj.\u201d<\/em> Ugyanez <code spellcheck=\"false\">repeat until<\/code> blokkal is meg\u00edrhat\u00f3.<\/span><\/p><p><strong>A k\u00f3d<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2f8f225 elementor-widget elementor-widget-gallery\" data-id=\"2f8f225\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;lazyload&quot;:&quot;yes&quot;,&quot;gallery_layout&quot;:&quot;grid&quot;,&quot;columns&quot;:4,&quot;columns_tablet&quot;:2,&quot;columns_mobile&quot;:1,&quot;gap&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;gap_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;gap_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;link_to&quot;:&quot;file&quot;,&quot;aspect_ratio&quot;:&quot;3:2&quot;,&quot;overlay_background&quot;:&quot;yes&quot;,&quot;content_hover_animation&quot;:&quot;fade-in&quot;}\" data-widget_type=\"gallery.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-gallery__container\">\n\t\t\t\t\t\t\t<a class=\"e-gallery-item elementor-gallery-item elementor-animated-content\" href=\"https:\/\/www.digikul.hu\/wp-content\/uploads\/2026\/10\/lgo_1.png\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"2f8f225\" data-elementor-lightbox-title=\"lgo_1\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTgwNCwidXJsIjoiaHR0cHM6XC9cL3d3dy5kaWdpa3VsLmh1XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI2XC8xMFwvbGdvXzEucG5nIiwic2xpZGVzaG93IjoiMmY4ZjIyNSJ9\">\n\t\t\t\t\t<div class=\"e-gallery-image elementor-gallery-item__image\" data-thumbnail=\"https:\/\/www.digikul.hu\/wp-content\/uploads\/2026\/10\/lgo_1-300x222.png\" data-width=\"300\" data-height=\"222\" aria-label=\"\" role=\"img\" ><\/div>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"elementor-gallery-item__overlay\"><\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e1273af elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e1273af\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3c8422d\" data-id=\"3c8422d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e811b96 elementor-widget elementor-widget-text-editor\" data-id=\"e811b96\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"gyakorlat\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h1 style=\"text-align: center;\"><span style=\"color: #800080;\"><strong>GYAKORL\u00d3 FELADATOK<\/strong><\/span><\/h1><h2 data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 [&quot;list&quot;,{&quot;bid&quot;:&quot;me0gacce4fc.3714&quot;,&quot;kind&quot;:&quot;ordered&quot;,&quot;start&quot;:null,&quot;numbering&quot;:null},&quot;listItem&quot;,{&quot;bid&quot;:&quot;me0gacce4fc.3715&quot;,&quot;checked&quot;:null}]\"><span style=\"color: #008000;\"><strong>Alap<\/strong><\/span><\/h2><p data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 [&quot;list&quot;,{&quot;bid&quot;:&quot;me0gacce4fc.3714&quot;,&quot;kind&quot;:&quot;ordered&quot;,&quot;start&quot;:null,&quot;numbering&quot;:null},&quot;listItem&quot;,{&quot;bid&quot;:&quot;me0gacce4fc.3715&quot;,&quot;checked&quot;:null}]\"><strong>1., Hol a hiba?<\/strong><\/p><p data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 [&quot;list&quot;,{&quot;bid&quot;:&quot;me0gacce4fc.3714&quot;,&quot;kind&quot;:&quot;ordered&quot;,&quot;start&quot;:null,&quot;numbering&quot;:null},&quot;listItem&quot;,{&quot;bid&quot;:&quot;me0gacce4fc.3715&quot;,&quot;checked&quot;:null}]\">Ez a program szab\u00e1lyos h\u00e1romsz\u00f6get szeretne rajzolni, de nem siker\u00fcl neki. Mi rajzol\u00f3dik ki val\u00f3j\u00e1ban, \u00e9s mit kell \u00e1t\u00edrni?<\/p><pre spellcheck=\"false\" data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 []\"><code><\/code><\/pre><pre spellcheck=\"false\" data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 []\"><code>z\u00e1szl\u00f3ra kattint\u00e1skor\ntoll le\nism\u00e9teld 3\n    menj 100 l\u00e9p\u00e9st\n    fordulj jobbra 90 fokot<\/code><\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-84f98cb elementor-widget elementor-widget-toggle\" data-id=\"84f98cb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"toggle.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-1391\" class=\"elementor-tab-title\" data-tab=\"1\" role=\"button\" aria-controls=\"elementor-tab-content-1391\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><i class=\"fas fa-caret-right\"><\/i><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><i class=\"elementor-toggle-icon-opened fas fa-caret-up\"><\/i><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">Megold\u00e1s<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-1391\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"region\" aria-labelledby=\"elementor-tab-title-1391\"><p data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 []\">Egy n\u00e9gyzet h\u00e1rom oldala rajzol\u00f3dik ki, mert 90 fokos fordul\u00e1ssal n\u00e9gyzetet kapunk. H\u00e1romsz\u00f6gn\u00e9l 360 \/ 3 = <strong>120 fokot<\/strong> kell fordulni:<\/p><pre spellcheck=\"false\"><code>ism\u00e9teld 3\n    menj 100 l\u00e9p\u00e9st\n    fordulj jobbra 120 fokot<br \/><\/code><\/pre><p data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 []\"><span style=\"color: #ff6600;\">Gyakori t\u00e9ved\u00e9s: a h\u00e1romsz\u00f6g bels\u0151 sz\u00f6ge 60\u00b0, de a szerepl\u0151nek a <strong>k\u00fcls\u0151 sz\u00f6get<\/strong> kell fordulnia.<\/span><\/p><pre spellcheck=\"false\"><code><\/code><\/pre><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3b0a2d2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3b0a2d2\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ad97352\" data-id=\"ad97352\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4a9f52a elementor-widget elementor-widget-text-editor\" data-id=\"4a9f52a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>2., H\u00e1nyszor?<\/strong><\/p><p>H\u00e1ny l\u00e9p\u00e9st tesz meg \u00f6sszesen a szerepl\u0151, \u00e9s h\u00e1nyszor mondja ki, hogy \u201eK\u00e9sz\u201d?<\/p><pre spellcheck=\"false\"><code>z\u00e1szl\u00f3ra kattint\u00e1skor\nism\u00e9teld 10\n    menj 10 l\u00e9p\u00e9st\n    v\u00e1rj 0.2 mp-et\nmondd: K\u00e9sz 2 mp-ig<\/code><\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-75a787d elementor-widget elementor-widget-toggle\" data-id=\"75a787d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"toggle.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-1231\" class=\"elementor-tab-title\" data-tab=\"1\" role=\"button\" aria-controls=\"elementor-tab-content-1231\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><i class=\"fas fa-caret-right\"><\/i><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><i class=\"elementor-toggle-icon-opened fas fa-caret-up\"><\/i><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">Megold\u00e1s<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-1231\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"region\" aria-labelledby=\"elementor-tab-title-1231\"><p data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 []\">\u00d6sszesen 10 \u00d7 10 = <strong>100 l\u00e9p\u00e9st<\/strong> tesz meg, a \u201eK\u00e9sz\u201d sz\u00f3t <strong>egyszer<\/strong> mondja, mert a <code spellcheck=\"false\">mondd<\/code> blokk a ciklus ut\u00e1n, nem a belsej\u00e9ben van.<\/p><pre spellcheck=\"false\"><code><\/code><\/pre><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0dd98f7 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0dd98f7\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3697c9f\" data-id=\"3697c9f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-bb5da38 elementor-widget elementor-widget-text-editor\" data-id=\"bb5da38\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2 id=\"k\u00f6z\u00e9p\" data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 3 []\"><strong><span style=\"color: #008000;\">K\u00f6z\u00e9p<\/span><\/strong><\/h2><p><strong>3., Soksz\u00f6gek.<\/strong><\/p><p>Rajzolj Scratchben szab\u00e1lyos hatsz\u00f6get! Szorgalmi: rajzolj \u00f6t\u00e1g\u00fa csillagot egyetlen ciklussal.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f30ac1f elementor-widget elementor-widget-toggle\" data-id=\"f30ac1f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"toggle.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-2541\" class=\"elementor-tab-title\" data-tab=\"1\" role=\"button\" aria-controls=\"elementor-tab-content-2541\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><i class=\"fas fa-caret-right\"><\/i><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><i class=\"elementor-toggle-icon-opened fas fa-caret-up\"><\/i><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">Megold\u00e1s<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-2541\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"region\" aria-labelledby=\"elementor-tab-title-2541\"><pre spellcheck=\"false\" data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 []\"><code>z\u00e1szl\u00f3ra kattint\u00e1skor\nt\u00f6r\u00f6ld mind\ntoll le\nism\u00e9teld 6\n    menj 80 l\u00e9p\u00e9st\n    fordulj jobbra 60 fokot<\/code><\/pre><p>Csillag: <code spellcheck=\"false\">ism\u00e9teld 5<\/code>, benne <code spellcheck=\"false\">menj 150 l\u00e9p\u00e9st<\/code> \u00e9s <code spellcheck=\"false\">fordulj jobbra 144 fokot<\/code>. A 144 fok \u00fagy j\u00f6n ki, hogy a szerepl\u0151 k\u00e9tszer fordul k\u00f6rbe (720\u00b0), \u00e9s ezt 5 r\u00e9szre osztja.<\/p><pre spellcheck=\"false\"><code><\/code><\/pre><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ea9b9ac elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ea9b9ac\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-157eee6\" data-id=\"157eee6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-fe23089 elementor-widget elementor-widget-text-editor\" data-id=\"fe23089\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 [&quot;list&quot;,{&quot;bid&quot;:&quot;me0gacce4fc.4128&quot;,&quot;kind&quot;:&quot;ordered&quot;,&quot;start&quot;:3,&quot;numbering&quot;:null},&quot;listItem&quot;,{&quot;bid&quot;:&quot;me0gacce4fc.4236&quot;,&quot;checked&quot;:null}]\"><strong>4., Jelsz\u00f3.<\/strong><\/p><p data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 [&quot;list&quot;,{&quot;bid&quot;:&quot;me0gacce4fc.4128&quot;,&quot;kind&quot;:&quot;ordered&quot;,&quot;start&quot;:3,&quot;numbering&quot;:null},&quot;listItem&quot;,{&quot;bid&quot;:&quot;me0gacce4fc.4236&quot;,&quot;checked&quot;:null}]\">A szerepl\u0151 k\u00e9rje be a jelsz\u00f3t. Am\u00edg a v\u00e1lasz nem \u201ealma\u201d, mondja, hogy \u201eHib\u00e1s jelsz\u00f3\u201d, \u00e9s k\u00e9rdezzen \u00fajra. Helyes jelsz\u00f3 ut\u00e1n mondja: \u201eBel\u00e9phetsz\u201d.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3aa614a elementor-widget elementor-widget-toggle\" data-id=\"3aa614a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"toggle.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-6141\" class=\"elementor-tab-title\" data-tab=\"1\" role=\"button\" aria-controls=\"elementor-tab-content-6141\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><i class=\"fas fa-caret-right\"><\/i><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><i class=\"elementor-toggle-icon-opened fas fa-caret-up\"><\/i><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">Megold\u00e1s<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-6141\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"region\" aria-labelledby=\"elementor-tab-title-6141\"><pre spellcheck=\"false\" data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 []\"><code>z\u00e1szl\u00f3ra kattint\u00e1skor\nk\u00e9rdezd meg: Mi a jelsz\u00f3? \u00e9s v\u00e1rj\nism\u00e9teld, am\u00edg v\u00e1lasz = alma\n    mondd: Hib\u00e1s jelsz\u00f3 1 mp-ig\n    k\u00e9rdezd meg: Mi a jelsz\u00f3? \u00e9s v\u00e1rj\nmondd: Bel\u00e9phetsz 2 mp-ig<\/code><\/pre><p><span style=\"color: #ff6600;\">Figyelj: a Scratch <code spellcheck=\"false\">ism\u00e9teld, am\u00edg<\/code> blokkja akkor \u00e1ll le, amikor a felt\u00e9tel <strong>igaz<\/strong> lesz, ez\u00e9rt a felt\u00e9tel a helyes jelsz\u00f3.<\/span><\/p><pre spellcheck=\"false\"><code><\/code><\/pre><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0353ea2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0353ea2\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-272914d\" data-id=\"272914d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2c25dcf elementor-widget elementor-widget-text-editor\" data-id=\"2c25dcf\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2 id=\"kih\u00edv\u00e1s\" data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 3 []\"><span style=\"color: #008000;\">Kih\u00edv\u00e1s<\/span><\/h2><p><strong>5., Sz\u00ednszenzoros daru (SPIKE).<\/strong> Egy motorhoz k\u00f6t\u00f6tt daru el\u00e9 sz\u00ednszenzort szerel\u00fcnk. Ha a szenzor pirosat l\u00e1t, a daru forduljon jobbra 30 fokot, ha z\u00f6ldet, balra 30 fokot. A program folyamatosan figyeljen.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-07e110f elementor-widget elementor-widget-toggle\" data-id=\"07e110f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"toggle.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-8261\" class=\"elementor-tab-title\" data-tab=\"1\" role=\"button\" aria-controls=\"elementor-tab-content-8261\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><i class=\"fas fa-caret-right\"><\/i><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><i class=\"elementor-toggle-icon-opened fas fa-caret-up\"><\/i><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">Megold\u00e1s<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-8261\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"region\" aria-labelledby=\"elementor-tab-title-8261\"><pre spellcheck=\"false\" data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 []\"><code>when program starts\nforever\n    if (color sensor is color red) then\n        A run clockwise for 30 degrees\n        wait 1 seconds\n    if (color sensor is color green) then\n        A run counterclockwise for 30 degrees\n        wait 1 seconds<\/code><\/pre><p><span style=\"color: #ff6600;\">A <code spellcheck=\"false\">wait 1 seconds<\/code> az\u00e9rt kell, mert am\u00edg a szenzor el\u0151tt marad a piros t\u00e1rgy, a ciklus \u00fajra \u00e9s \u00fajra ford\u00edtan\u00e1 a darut. A motor sebess\u00e9g\u00e9t a <code spellcheck=\"false\">set speed to %<\/code> blokkal lehet lass\u00edtani, pl. 10 %-ra.<\/span><\/p><pre spellcheck=\"false\"><code><\/code><\/pre><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fa94fd1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fa94fd1\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-712f860\" data-id=\"712f860\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7d0ebab elementor-widget elementor-widget-text-editor\" data-id=\"7d0ebab\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 [&quot;list&quot;,{&quot;bid&quot;:&quot;me0gacce4fc.4399&quot;,&quot;kind&quot;:&quot;ordered&quot;,&quot;start&quot;:5,&quot;numbering&quot;:null},&quot;listItem&quot;,{&quot;bid&quot;:&quot;me0gacce4fc.4603&quot;,&quot;checked&quot;:null}]\"><strong>6., P\u00e1lyabej\u00e1r\u00e1s (SPIKE).<\/strong> A robot j\u00e1rjon k\u00f6rbe egy 30 cm oldal\u00fa n\u00e9gyzet alak\u00fa p\u00e1ly\u00e1t, \u00e9s \u00e9rjen vissza a kiindul\u00f3pontra. Szorgalmi: ha \u00fatk\u00f6zben 10 cm-en bel\u00fcl akad\u00e1lyt \u00e9rz\u00e9kel, \u00e1lljon meg \u00e9s s\u00edpoljon.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9876365 elementor-widget elementor-widget-toggle\" data-id=\"9876365\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"toggle.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-1591\" class=\"elementor-tab-title\" data-tab=\"1\" role=\"button\" aria-controls=\"elementor-tab-content-1591\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><i class=\"fas fa-caret-right\"><\/i><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><i class=\"elementor-toggle-icon-opened fas fa-caret-up\"><\/i><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">Megold\u00e1s<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-1591\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"region\" aria-labelledby=\"elementor-tab-title-1591\"><pre spellcheck=\"false\" data-lfile-container=\"009f2814-df12-4974-b03f-f48e6f7334c7\" data-pm-slice=\"1 1 []\"><code>when program starts\nset movement motors to A+B\nset 1 motor rotation to 17.5 cm\nrepeat 4\n    move straight for 30 cm\n    move right for \u2026 degrees<\/code><\/pre>\n<p>A fordul\u00e1s m\u00e9rt\u00e9k\u00e9t <strong>ki kell k\u00eds\u00e9rletezni<\/strong>, mert a ker\u00e9km\u00e9rett\u0151l \u00e9s a tengelyt\u00e1vt\u00f3l f\u00fcgg: kezdj\u00e9tek kb. 180 fokkal (ker\u00e9kfordul\u00e1sban m\u00e9rve), \u00e9s addig m\u00f3dos\u00edts\u00e1tok, am\u00edg a robot pontosan der\u00e9ksz\u00f6gben fordul. A 17,5 cm a SPIKE Prime kis kerek\u00e9nek ker\u00fclete; m\u00e1s ker\u00e9kkel ezt is \u00e1t kell \u00edrni.<\/p>\n<p>Szorgalmi: a <code spellcheck=\"false\">move straight for 30 cm<\/code> hely\u00e9re <code spellcheck=\"false\">start moving straight<\/code> \u00e9s <code spellcheck=\"false\">wait until (distance sensor is closer than 10 cm)<\/code> ker\u00fcl, ut\u00e1na <code spellcheck=\"false\">stop moving<\/code> \u00e9s <code spellcheck=\"false\">play beep<\/code>. \u00cdgy viszont a robot csak akad\u00e1lyn\u00e1l \u00e1ll meg, ez\u00e9rt a n\u00e9gyzetp\u00e1ly\u00e1hoz id\u0151z\u00edt\u0151 vagy forg\u00e1ssz\u00e1ml\u00e1l\u00f3 is kell.<\/p>\n<pre spellcheck=\"false\"><code><\/code><\/pre><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Elm\u00e9let P\u00e9d\u00e1k Gyakorlat ELM\u00c9LET A blokkprogramoz\u00e1sban a programot el\u0151re elk\u00e9sz\u00edtett, egym\u00e1sba illeszthet\u0151 elemekb\u0151l rakjuk \u00f6ssze. Nem kell g\u00e9pelni, \u00e9s nem lehet el\u00edrni a parancsot, ez\u00e9rt a figyelem a l\u00e9nyegre, az algoritmus fel\u00e9p\u00edt\u00e9s\u00e9re jut. Ugyanazt a h\u00e1rom alapszerkezetet haszn\u00e1ljuk, mint az el\u0151z\u0151 modulban, csak most a g\u00e9p v\u00e9gre is hajtja. Az alapszerkezetek blokkokkal Szerkezet Scratch LEGO [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1717","page","type-page","status-publish","hentry"],"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"admin","author_link":"https:\/\/www.digikul.hu\/index.php\/author\/admin\/"},"rttpg_comment":0,"rttpg_category":null,"rttpg_excerpt":"Elm\u00e9let P\u00e9d\u00e1k Gyakorlat ELM\u00c9LET A blokkprogramoz\u00e1sban a programot el\u0151re elk\u00e9sz\u00edtett, egym\u00e1sba illeszthet\u0151 elemekb\u0151l rakjuk \u00f6ssze. Nem kell g\u00e9pelni, \u00e9s nem lehet el\u00edrni a parancsot, ez\u00e9rt a figyelem a l\u00e9nyegre, az algoritmus fel\u00e9p\u00edt\u00e9s\u00e9re jut. Ugyanazt a h\u00e1rom alapszerkezetet haszn\u00e1ljuk, mint az el\u0151z\u0151 modulban, csak most a g\u00e9p v\u00e9gre is hajtja. Az alapszerkezetek blokkokkal Szerkezet Scratch LEGO&hellip;","_links":{"self":[{"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/pages\/1717","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/comments?post=1717"}],"version-history":[{"count":28,"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/pages\/1717\/revisions"}],"predecessor-version":[{"id":1891,"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/pages\/1717\/revisions\/1891"}],"wp:attachment":[{"href":"https:\/\/www.digikul.hu\/index.php\/wp-json\/wp\/v2\/media?parent=1717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}