Strict Standards: Static function Automattic\Jetpack\My_Jetpack\Product::get_name() should not be abstract in /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php on line 141

Strict Standards: Static function Automattic\Jetpack\My_Jetpack\Product::get_title() should not be abstract in /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php on line 148

Strict Standards: Static function Automattic\Jetpack\My_Jetpack\Product::get_description() should not be abstract in /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php on line 155

Strict Standards: Static function Automattic\Jetpack\My_Jetpack\Product::get_long_description() should not be abstract in /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php on line 162

Strict Standards: Static function Automattic\Jetpack\My_Jetpack\Product::get_features() should not be abstract in /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php on line 169

Strict Standards: Static function Automattic\Jetpack\My_Jetpack\Product::get_pricing_for_ui() should not be abstract in /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php on line 176

Strict Standards: Static function Automattic\Jetpack\My_Jetpack\Product::get_manage_url() should not be abstract in /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php on line 183

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-content/plugins/pe-recent-posts/pe-recent-posts.php on line 21

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-content/plugins/pe-recent-posts/pe-recent-posts.php on line 21

Warning: Cannot modify header information - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/kodlabaf/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php:141) in /home/kodlabaf/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723
{"id":1018,"date":"2018-12-19T23:36:48","date_gmt":"2018-12-19T20:36:48","guid":{"rendered":"https:\/\/kodlabafra.org\/?p=1018"},"modified":"2018-12-19T23:37:03","modified_gmt":"2018-12-19T20:37:03","slug":"cizgi-izleyen-robot","status":"publish","type":"post","link":"https:\/\/kodlabafra.org\/2018\/12\/19\/cizgi-izleyen-robot\/","title":{"rendered":"\u00c7izgi \u0130zleyen Robot"},"content":{"rendered":"\n

\u00c7izgi izleyen (line follower) sens\u00f6r siyah ve beyaz renkleri ay\u0131rt edebilmektedir. Sens\u00f6r\u00fc inceledi\u011finizde 2 adet sens\u00f6r\u00fcn birle\u015fiminden meydana geldi\u011fini g\u00f6receksiniz. Sens\u00f6r 1 \u2013 Sens\u00f6r 2 diye 2 adet sens\u00f6r\u00fcn olmas\u0131n\u0131n sebebi; siyah renkli yoldan ne tarafa do\u011fru \u00e7\u0131kt\u0131\u011f\u0131n\u0131 anlamak i\u00e7indir. MBot’umuz e\u011fer Sa\u011f taraftan yolu terk ederse sens\u00f6r 1, sol taraftan terk ederse ise sens\u00f6r 2 alg\u0131layacak ve uyar\u0131 verecektir.<\/p>\n\n\n\n\n\n\n\n

\"\"<\/figure><\/div>\n\n\n\n

Robotlar b\u00f6l\u00fcm\u00fcnde bulunan yukar\u0131daki kod blo\u011fu ile program\u0131 yapabiliriz.<\/p>\n\n\n\n

\u0130sterseniz \u00f6nce \u00c7izgi izleyen sens\u00f6rlerin siyah ve beyaz renkli zeminlerde hangi de\u011ferleri ald\u0131\u011f\u0131n\u0131 test edelim.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

\u00c7izgi izleyenin sa\u011f taraf\u0131 ( sens\u00f6r 2) siyah \u00e7izgi d\u0131\u015f\u0131nda kald\u0131\u011f\u0131nda 1 de\u011ferini,
\n\u00c7izgi izleyenin sol taraf\u0131 ( sens\u00f6r 1) siyah \u00e7izgi d\u0131\u015f\u0131nda kald\u0131\u011f\u0131nda 2 de\u011ferini,
\nsens\u00f6rlerin her ikisi beyaz zeminde ise 3 de\u011ferini, sens\u00f6rlerin her ikisi siyah zeminde ise 0 de\u011ferini al\u0131r.<\/p>\n\n\n\n

Gelelim esas kodlar\u0131m\u0131za;<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

\u00c7izgi ad\u0131nda bir de\u011fi\u015fken olu\u015fturduk ve bu de\u011fi\u015fkene kap\u0131 2 deki \u00e7izgi sens\u00f6r\u00fcn\u00fcn oku\u011fudu de\u011feri atad\u0131k. \u0130\u00e7 i\u00e7e e\u011fer komutlar\u0131n\u0131 kulland\u0131k. \u00c7izginin ald\u0131\u011f\u0131 de\u011fer 0 ise ( her iki sens\u00f6r siyah renkte ise ) ileri gitmesini, \u00c7izginin ald\u0131\u011f\u0131 de\u011fer 1 ise (sadece sol tarafdaki sens\u00f6r siyah\u0131 alg\u0131lad\u0131ysa) sola d\u00f6nmesini,
\u00c7izginin ald\u0131\u011f\u0131 de\u011fer 2 ise (sadece sa\u011f tarafdaki sens\u00f6r siyah\u0131 alg\u0131lad\u0131ysa) sa\u011fa d\u00f6nmesini sa\u011flad\u0131k.
Bu kodlarla \u00e7izece\u011finiz siyah yolda robotunuzun hareket etmesini kolayl\u0131kla sa\u011flayabilirsiniz.<\/p>\n\n\n\n

mBlock 3.45 modeli ile birlikte yeni bir blok dahil olmu\u015ftur. Bu blok sayesinde 1, 2 gibi de\u011ferlere e\u015fitleme i\u015flemine gerek kalmam\u0131\u015ft\u0131r.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

<\/p>\n\n\n\n

Bu yeni g\u00fcncelleme ile gelen kod blo\u011fu ile program\u0131m\u0131z\u0131 yazacak olursak.
<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n


<\/p>\n","protected":false},"excerpt":{"rendered":"

\u00c7izgi izleyen (line follower) sens\u00f6r siyah ve beyaz renkleri ay\u0131rt edebilmektedir. Sens\u00f6r\u00fc inceledi\u011finizde 2 adet sens\u00f6r\u00fcn birle\u015fiminden meydana g<\/span><\/div>\n
Devam\u0131n\u0131 oku<\/a><\/div>\n","protected":false},"author":4,"featured_media":785,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[67],"tags":[49,32,25,24,63,68,29],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/kodlabafra.org\/wp-content\/uploads\/2018\/12\/mbot.png?fit=800%2C333&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pat2x1-gq","_links":{"self":[{"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/posts\/1018"}],"collection":[{"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/comments?post=1018"}],"version-history":[{"count":1,"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/posts\/1018\/revisions"}],"predecessor-version":[{"id":1024,"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/posts\/1018\/revisions\/1024"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/media\/785"}],"wp:attachment":[{"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/media?parent=1018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/categories?post=1018"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kodlabafra.org\/wp-json\/wp\/v2\/tags?post=1018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}