{"id":34071,"date":"2023-01-11T06:00:34","date_gmt":"2023-01-11T05:00:34","guid":{"rendered":"https:\/\/botland.com.pl\/blog\/?p=34071"},"modified":"2023-05-24T10:08:50","modified_gmt":"2023-05-24T08:08:50","slug":"arduino-programowanie","status":"publish","type":"post","link":"https:\/\/botland.com.pl\/blog\/arduino-programowanie\/","title":{"rendered":"Arduino &#8211; programowanie"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Czas czytania:<\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">min.<\/span><\/span>\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"34071\" class=\"elementor elementor-34071\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-608fba6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"608fba6\" data-element_type=\"section\" data-e-type=\"section\">\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-cda9ffa\" data-id=\"cda9ffa\" 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-61ec9f9 elementor-widget elementor-widget-text-editor\" data-id=\"61ec9f9\" 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>Nie da si\u0119 ukry\u0107, \u017ce Arduino, kt\u00f3re sprzeda\u0142o si\u0119 w ilo\u015bci ponad 10 mln p\u0142ytek na ca\u0142ym \u015awiecie, jest jedn\u0105 z najch\u0119tniej kupowanych platform do programowania.\n<\/p>\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-6d0bcc4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6d0bcc4\" data-element_type=\"section\" data-e-type=\"section\">\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-9d5c19b\" data-id=\"9d5c19b\" 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-097253f elementor-widget elementor-widget-heading\" data-id=\"097253f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Na czym polega programowanie Arduino?<\/h2>\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-943773b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"943773b\" data-element_type=\"section\" data-e-type=\"section\">\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-b1f904c\" data-id=\"b1f904c\" 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-2b80321 elementor-widget elementor-widget-text-editor\" data-id=\"2b80321\" 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>W niniejszym artykule, po\u015bwi\u0119cimy uwag\u0119 na podstawowy zarys tworzenia kodu programu w \u015brodowisku Arduino IDE. Dokonamy tak\u017ce por\u00f3wnania przyk\u0142adowego kodu wykonanego w \u015brodowisku Arduino IDE do kodu programu wykonuj\u0105cego taki sam proces sprz\u0119towy, kt\u00f3ry zosta\u0142 napisany w j\u0119zyku C.\n<\/p>\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-2280039 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2280039\" data-element_type=\"section\" data-e-type=\"section\">\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-b1f594a\" data-id=\"b1f594a\" 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-c65ae6a elementor-widget elementor-widget-heading\" data-id=\"c65ae6a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Zanim napiszemy nasz pierwszy program\n<\/h2>\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-232ded5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"232ded5\" data-element_type=\"section\" data-e-type=\"section\">\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-50 elementor-top-column elementor-element elementor-element-f465298\" data-id=\"f465298\" 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-5f8366a elementor-widget elementor-widget-text-editor\" data-id=\"5f8366a\" 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>Zanim przejdziemy do pierwszego szkicu programu, warto powiedzie\u0107 kilka s\u0142\u00f3w o platformie <a href=\"\/234-arduino\" target=\"_blank\" rel=\"noopener\" data-wpel-link=\"internal\">Arduino<\/a>. Jest to wszechstronne narz\u0119dzie, kt\u00f3re pozwala u\u017cytkownikowi na tworzenie prototyp\u00f3w programowalnych urz\u0105dze\u0144 elektronicznych. Dzi\u0119ki ogromnej popularno\u015bci, Arduino zyska\u0142o sobie liczne grono u\u017cytkownik\u00f3w &#8211; od domoros\u0142ych hobbyst\u00f3w, po zawodowych in\u017cynier\u00f3w.\u00a0Bogate wyposa\u017cenie dodatkowe w postaci modu\u0142\u00f3w i nak\u0142adek rozszerzeniowych, tysi\u0105ce opublikowanych projekt\u00f3w i znakomite wsparcie techniczne ze strony producenta i spo\u0142eczno\u015bci internetowej, to czynniki, kt\u00f3re szczeg\u00f3lnie przemawiaj\u0105 za nabyciem p\u0142ytki Arduino lub jej licencjonowanego klona.\u00a0Nieod\u0142\u0105czn\u0105 cz\u0119\u015bci\u0105 ekosystemu Arduino jest tak\u017ce dedykowane oprogramowanie, tj. <a href=\"https:\/\/www.arduino.cc\/en\/software\" target=\"_blank\" rel=\"noopener nofollow external noreferrer\" data-wpel-link=\"external\">Arduino IDE<\/a> &#8211; zintegrowane \u015brodowisko przeznaczone do tworzenia kodu programu &#8211; a do przyk\u0142adowego kodu przejdziemy w\u0142a\u015bnie teraz!<\/p>\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-50 elementor-top-column elementor-element elementor-element-3423d95\" data-id=\"3423d95\" 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-f566901 elementor-widget elementor-widget-image\" data-id=\"f566901\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"800\" height=\"715\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/01\/01060_19_kwadrata-1024x915.jpg\" class=\"attachment-large size-large wp-image-43966\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/01\/01060_19_kwadrata-1024x915.jpg 1024w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/01\/01060_19_kwadrata-300x268.jpg 300w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/01\/01060_19_kwadrata-768x686.jpg 768w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/01\/01060_19_kwadrata.jpg 1080w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\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-4253ff1 elementor-align-center elementor-widget elementor-widget-global elementor-global-22630 elementor-widget-button\" data-id=\"4253ff1\" 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=\"\/234-arduino\" data-wpel-link=\"internal\">\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\">SIEHE HIER<\/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-494f80c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"494f80c\" data-element_type=\"section\" data-e-type=\"section\">\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-3f37cfc\" data-id=\"3f37cfc\" 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-699f343 elementor-widget elementor-widget-heading\" data-id=\"699f343\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Przyk\u0142adowy kod programu w \u015brodowisku Arduino IDE<\/h2>\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-3118364 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3118364\" data-element_type=\"section\" data-e-type=\"section\">\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-7b4f6d3\" data-id=\"7b4f6d3\" 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-059bb69 elementor-widget elementor-widget-text-editor\" data-id=\"059bb69\" 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>Aby zobrazowa\u0107 jak wygl\u0105da i na czym polega programowanie Arduino, pos\u0142u\u017cymy si\u0119 poni\u017cszym, kr\u00f3tkim kodem programu, kt\u00f3rego zadaniem jest cykliczne za\u015bwiecanie i gaszenie diody LED. Od strony sprz\u0119towej, dioda LED jest pod\u0142\u0105czona do pinu cyfrowego \u201cD2\u201d anod\u0105 poprzez rezystor 330R ograniczaj\u0105cy przep\u0142yw pr\u0105du do bezpiecznej warto\u015bci. Natomiast katod\u0119 diody LED pod\u0142\u0105czamy do pinu masy w sekcji \u201cPOWER\u201d, tj. \u201cGND\u201d. Kod programu ma nast\u0119puj\u0105c\u0105 posta\u0107:\n<\/p>\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-eecb3d8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"eecb3d8\" data-element_type=\"section\" data-e-type=\"section\">\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-074cc0d\" data-id=\"074cc0d\" 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-c5650d6 elementor-widget elementor-widget-code-highlight\" data-id=\"c5650d6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-c line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-c\">\n\t\t\t\t\t<xmp>\/\/ Miganie dioda LED w srodowisku Arduino IDE \r\nvoid setup() \/\/Wstepne ustawienia programu\r\n{\r\n  pinMode(2,OUTPUT); \/\/ Pin cyfrowy nr 2 ustawiony jako wyjscie\r\n}\r\n\r\nvoid loop() \/\/ Instrukcje programu wykonywane w petli\r\n{\r\n  digitalWrite(2,HIGH); \/\/ Pin cyfrowy nr 2 - stan wysoki - LED swieci\r\n  delay(500); \/\/ Opoznienie o 500ms\r\n  digitalWrite(2,LOW); \/\/ Pin cyfrowy nr 2 - stan niski - LED zgasl\r\n  delay(500); \/\/ Opoznienie o 500ms\r\n }<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\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-18a8731 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"18a8731\" data-element_type=\"section\" data-e-type=\"section\">\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-d0b3469\" data-id=\"d0b3469\" 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-50a2833 elementor-widget elementor-widget-text-editor\" data-id=\"50a2833\" 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>Budowa powy\u017cszego kodu jest nast\u0119puj\u0105ca. Ka\u017cdy tekst napisany po podw\u00f3jnym uko\u015bniku jest przez kompilator ignorowany &#8211; s\u0105 to komentarze, kt\u00f3re maj\u0105 na celu pom\u00f3c zrozumie\u0107 kod programu i zachowa\u0107 jego przejrzysto\u015b\u0107. Sekcja \u201cvoid setup()\u201d obejmuje wst\u0119pne ustawienia programu, kt\u00f3re s\u0105 wykonywane tylko raz, ale ka\u017cdorazowo przy rozpocz\u0119ciu wykonywania programu przez mikrokontroler, aby ten ,,wiedzia\u0142\u201d jak jest ustawiona jego konfiguracja sprz\u0119towa przed rozpocz\u0119ciem wykonywania programu. W naszym przypadku, jedynym zadeklarowanym ustawieniem, jest ustawienie pinu cyfrowego D2 w tryb wyj\u015bcia za pomoc\u0105 komendy pinMode(). Z kolei sekcja void loop() zawiera instrukcje, kt\u00f3re s\u0105 wykonywane po kolei, ka\u017cdorazowo, przy ka\u017cdym obiegu p\u0119tli. Tu program korzysta z instrukcji digitalWrite(), kt\u00f3ra powoduje wystawienie stanu wysokiego (napi\u0119cia 5V) na pin cyfrowy \u201cD2\u201d, do kt\u00f3rego jest pod\u0142\u0105czona anoda <a href=\"\/870-diody-led\" target=\"_blank\" rel=\"noopener\" data-wpel-link=\"internal\">diody LED<\/a> poprzez rezystor 330R. Po wykonaniu tej instrukcji, dioda LED za\u015bwieca si\u0119. Kolejna instrukcja, tj. delay() zatrzymuje p\u0119tl\u0119 programu na czas wynosz\u0105cy 500ms &#8211; przez ten czas podtrzymywany jest skutek wykonania instrukcji poprzedzaj\u0105cej &#8211; dioda LED w dalszym ci\u0105gu \u015bwieci. Kiedy ten czas minie, wykonywana jest zmiana stanu logicznego na pinie \u201cD2\u201d, na kt\u00f3rym przed chwil\u0105 zosta\u0142 wystawiony stan wysoki. Teraz dioda LED, po przerzuceniu pinu \u201cD2\u201d w stan niski, ga\u015bnie. Ostatni\u0105 instrukcj\u0105 w p\u0119tli jest ponowne op\u00f3\u017anienie, kt\u00f3re powoduje zatrzymanie p\u0119tli programu na czas wynosz\u0105cy 500ms &#8211; przez ten czas r\u00f3wnie\u017c jest podtrzymywany skutek wykonania instrukcji poprzedzaj\u0105cej, tj. stan niski na anodzie diody LED. Po wykonaniu tej instrukcji, sekcja void loop() jest w ca\u0142o\u015bci wykonywana ponownie od pocz\u0105tku.<\/p>\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-004e4ae elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"004e4ae\" data-element_type=\"section\" data-e-type=\"section\">\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-54b6d8e\" data-id=\"54b6d8e\" 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-143a088 elementor-widget elementor-widget-heading\" data-id=\"143a088\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Kod programu steruj\u0105cego \u015bwieceniem diody LED w j\u0119zyku C<\/h2>\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-f22f2d3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f22f2d3\" data-element_type=\"section\" data-e-type=\"section\">\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-9b2d222\" data-id=\"9b2d222\" 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-6fb5e80 elementor-widget elementor-widget-text-editor\" data-id=\"6fb5e80\" 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>Teraz dla por\u00f3wnania przyjrzymy si\u0119 kodowi programu, kt\u00f3ry daje dok\u0142adnie taki sam rezultat ko\u0144cowy co kod napisany w \u015brodowisku Arduino IDE, ale zosta\u0142 napisany w j\u0119zyku C &#8211; jednym z najbardziej popularnych j\u0119zyk\u00f3w niskopoziomowych. Przyk\u0142adowy kod programu w j\u0119zyku C napisany na mikrokontroler ATMEGA 328P z wykorzystaniem tych samych pin\u00f3w, ma nast\u0119puj\u0105c\u0105 posta\u0107:\n<\/p>\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-db394c3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"db394c3\" data-element_type=\"section\" data-e-type=\"section\">\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-b2179d8\" data-id=\"b2179d8\" 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-84973f6 elementor-widget elementor-widget-code-highlight\" data-id=\"84973f6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-c line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-c\">\n\t\t\t\t\t<xmp>#define F_CPU 16000000UL \/\/ Czestotliwosc zegara ustawiona na 16MHz\r\n#include <avr\/io.h> \/\/ Inicjalizacja biblioteki wejsc\/wyjsc\r\n#include <util\/delay.h> \/\/ Inicjalizacja biblioteki opoznienien\r\nint main() \/\/ Glowny zestaw instrukcji wykonywanych w petli\u00a0\r\n\r\n{\r\n  DDRD |= 1 << PIND2; \/\/ Pin nr 2 rejestru D jako wyjscie\r\n  while (1) \/\/ Petla while zawierajaca ponizsze warunki\r\n  {\r\n    PORTD |= 1 << PIND2; \/\/ Pin nr 2 rejestru D - stan wysoki - LED swieci\r\n    _delay_ms(500); \/\/ Opoznienie o 500ms\r\n    PORTD &= ~(1 << PIND2); \/\/ Pin nr 2 rejestru D - stan niski - LED zgasl\r\n    _delay_ms(500); \/\/ Opoznienie o 500ms\r\n  }\r\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\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-4e83e15 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4e83e15\" data-element_type=\"section\" data-e-type=\"section\">\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-d8003d7\" data-id=\"d8003d7\" 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-6fad110 elementor-widget elementor-widget-text-editor\" data-id=\"6fad110\" 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>W pierwszej cz\u0119\u015bci programu musimy zadeklarowa\u0107 cz\u0119stotliwo\u015b\u0107 zegara taktuj\u0105cego mikrokontroler. ATMEGA 328P posiada wbudowany wewn\u0119trzny oscylator, kt\u00f3ry maksymalnie mo\u017ce taktowa\u0107 mikrokontroler z cz\u0119stotliwo\u015bci\u0105 8MHz. Tu podobnie jak w Arduino, u\u017cyli\u015bmy zewn\u0119trznego rezonatora kwarcowego o cz\u0119stotliwo\u015bci 16MHz. Nast\u0119pnie za\u0142\u0105czamy biblioteki obs\u0142uguj\u0105ce porty wej\u015bcia\/wyj\u015bcia mikrokontrolera AVR oraz op\u00f3\u017anienia. Pisz\u0105c w j\u0119zyku C, zwykle operujemy na rejestrach &#8211; tutaj stosuj\u0105c kierunek strza\u0142ek, skorzystali\u015bmy z przypisania pnu nr 2 w porcie D jako wyj\u015bcia. Nast\u0119pnie program wykonuje niesko\u0144czon\u0105 p\u0119tl\u0119 while, w kt\u00f3rej zadanymi warunkami jest przerzucenie pinu nr 2 w porcie D w stan wysoki. Pin nr 2 portu D jest w Arduino przypisany jako pin nr 2 w sekcji \u201cDIGITAL\u201d. Przed nast\u0119pnym cyklem maszynowym mikrokontrolera, jest wprowadzone op\u00f3\u017anienie o czas wynosz\u0105cy 500ms &#8211; zwr\u00f3\u0107my uwag\u0119, \u017ce w odr\u00f3\u017cnieniu od j\u0119zyka programowania dla Arduino, w j\u0119zyku C piszemy podkre\u015blenia oraz jednostk\u0119 czasu wprowadzanego op\u00f3\u017anienia, tj. \u201c_delay_ms()\u201d zamiast arduinowskiego \u201cdelay()\u201d. Przez ten czas op\u00f3\u017anienia, na pinie nr 2 w porcie D utrzymywany jest stan wysoki. Po zako\u0144czeniu wykonywania tej instrukcji, pin nr 2 w porcie D jest przerzucany w stan niski poprzez iloczyn bitowy \u201c&#038;=\u201d i negacj\u0119 \u201c~\u201d instrukcji przerzucenia pinu nr 2 w porcie D w stan wysoki. Po raz kolejny jest wprowadzana instrukcja op\u00f3\u017aniaj\u0105ca wykonanie kolejnej instrukcji o czas wynosz\u0105cy 500ms i program zaczyna si\u0119 wykonywa\u0107 od pocz\u0105tku.\n<\/p>\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-8c01b98 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8c01b98\" data-element_type=\"section\" data-e-type=\"section\">\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-2c6d70c\" data-id=\"2c6d70c\" 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-a9a71a1 elementor-widget elementor-widget-heading\" data-id=\"a9a71a1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Arduino czy C?<\/h2>\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-f346e71 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f346e71\" data-element_type=\"section\" data-e-type=\"section\">\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-cff9ddd\" data-id=\"cff9ddd\" 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-f5429d9 elementor-widget elementor-widget-text-editor\" data-id=\"f5429d9\" 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>Jak mo\u017cemy zauwa\u017cy\u0107 ju\u017c na zaprezentowanych powy\u017cej kr&oacute;tkich przyk\u0142adach, kod programu w j\u0119zyku C jest bardziej bogaty w szczeg&oacute;\u0142y wzgl\u0119dem kodu w Arduino IDE, kt&oacute;ry bazuje na sk\u0142adni j\u0119zyk&oacute;w C\/C++. Jest tak, poniewa\u017c j\u0119zyk C jest j\u0119zykiem niskiego poziomu, w zwi\u0105zku z czym wymaga po\u015bwi\u0119cenia wi\u0119kszej uwagi konfiguracji sprz\u0119towo-programowej. Mo\u017cna zaryzykowa\u0107 stwierdzenie, \u017ce w przypadku Arduino por&oacute;wnuj\u0105c je do klasycznego programowania w C, wi\u0119kszo\u015b\u0107 rzeczy mamy ju\u017c w pe\u0142ni gotowych. Nie ma w tym nic dziwnego &#8211; Arduino powsta\u0142o w\u0142a\u015bnie w tym celu, aby u\u0142atwi\u0107 tworzenie prototyp&oacute;w bez potrzeby zag\u0142\u0119biania si\u0119 w zakamarki hardware&rsquo;u. Niemniej jednak, warto zna\u0107 jeden jak i drugi j\u0119zyk programowania, przy czym j\u0119zyk C cho\u0107 jest bardziej wymagaj\u0105cy cierpliwo\u015bci przy nauce, to jest on bardziej uniwersalny i umo\u017cliwia zaprogramowanie wielu innych mikrokontroler&oacute;w.<\/p>\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<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Nie da si\u0119 ukry\u0107, \u017ce Arduino, kt\u00f3re sprzeda\u0142o si\u0119 w ilo\u015bci ponad 10 mln p\u0142ytek na ca\u0142ym \u015awiecie, jest jedn\u0105 z najch\u0119tniej kupowanych platform do programowania.<\/p>\n","protected":false},"author":21,"featured_media":63151,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[133],"tags":[],"class_list":["post-34071","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Arduino - programowanie - Botland<\/title>\n<meta name=\"description\" content=\"Odwied\u017a blog Botland i dowiedz si\u0119 jakie s\u0105 r\u00f3\u017cnice pomi\u0119dzy tworzeniem kodu programu w \u015brodowisku Arduino IDE a klasycznym, niskopoziomowym j\u0119zykiem C!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/botland.com.pl\/blog\/arduino-programowanie\/\" \/>\n<meta property=\"og:locale\" content=\"pl_PL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Arduino - programowanie - Botland\" \/>\n<meta property=\"og:description\" content=\"Odwied\u017a blog Botland i dowiedz si\u0119 jakie s\u0105 r\u00f3\u017cnice pomi\u0119dzy tworzeniem kodu programu w \u015brodowisku Arduino IDE a klasycznym, niskopoziomowym j\u0119zykiem C!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/botland.com.pl\/blog\/arduino-programowanie\/\" \/>\n<meta property=\"og:site_name\" content=\"Botland\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/Botland\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-11T05:00:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-24T08:08:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-arduino-programowanie.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1510\" \/>\n\t<meta property=\"og:image:height\" content=\"755\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Mateusz Mr\u00f3z\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Napisane przez\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mateusz Mr\u00f3z\" \/>\n\t<meta name=\"twitter:label2\" content=\"Szacowany czas czytania\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/arduino-programowanie\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/arduino-programowanie\\\/\"},\"author\":{\"name\":\"Mateusz Mr\u00f3z\",\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#\\\/schema\\\/person\\\/774dbd37e308d5fb229ec7f3b8898559\"},\"headline\":\"Arduino &#8211; programowanie\",\"datePublished\":\"2023-01-11T05:00:34+00:00\",\"dateModified\":\"2023-05-24T08:08:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/arduino-programowanie\\\/\"},\"wordCount\":1101,\"publisher\":{\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/arduino-programowanie\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/new2023-arduino-programowanie.jpg\",\"articleSection\":[\"Arduino\"],\"inLanguage\":\"pl-PL\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/arduino-programowanie\\\/\",\"url\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/arduino-programowanie\\\/\",\"name\":\"Arduino - programowanie - Botland\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/arduino-programowanie\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/arduino-programowanie\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/new2023-arduino-programowanie.jpg\",\"datePublished\":\"2023-01-11T05:00:34+00:00\",\"dateModified\":\"2023-05-24T08:08:50+00:00\",\"description\":\"Odwied\u017a blog Botland i dowiedz si\u0119 jakie s\u0105 r\u00f3\u017cnice pomi\u0119dzy tworzeniem kodu programu w \u015brodowisku Arduino IDE a klasycznym, niskopoziomowym j\u0119zykiem C!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/arduino-programowanie\\\/#breadcrumb\"},\"inLanguage\":\"pl-PL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/botland.com.pl\\\/blog\\\/arduino-programowanie\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/arduino-programowanie\\\/#primaryimage\",\"url\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/new2023-arduino-programowanie.jpg\",\"contentUrl\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/new2023-arduino-programowanie.jpg\",\"width\":1510,\"height\":755},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/arduino-programowanie\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Strona g\u0142\u00f3wna\",\"item\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Arduino &#8211; programowanie\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/botland.de\\\/blog\\\/\",\"name\":\"Botland\",\"description\":\"Blog Raspberry Pi, Arduino, elektronika i robotyka - Botland\",\"publisher\":{\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/botland.de\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pl-PL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#organization\",\"name\":\"Botland\",\"url\":\"https:\\\/\\\/botland.de\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/botland.store\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/logo_kolor_WP_2-1.png\",\"contentUrl\":\"https:\\\/\\\/botland.store\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/logo_kolor_WP_2-1.png\",\"width\":250,\"height\":57,\"caption\":\"Botland\"},\"image\":{\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/facebook.com\\\/Botland\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#\\\/schema\\\/person\\\/774dbd37e308d5fb229ec7f3b8898559\",\"name\":\"Mateusz Mr\u00f3z\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/12-300x300.png\",\"url\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/12-300x300.png\",\"contentUrl\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/12-300x300.png\",\"caption\":\"Mateusz Mr\u00f3z\"},\"description\":\"Marzyciel, mi\u0142o\u015bnik podr\u00f3\u017cy i fan nowinek technologicznych. Swoje pomys\u0142y na Raspberry Pi i Arduino ch\u0119tnie przekuwa w konkrety. Uparty samouk \u2013 o pomoc prosi dopiero wtedy kiedy zabraknie pozycji w wyszukiwarce. Uwa\u017ca, \u017ce przy odpowiednim podej\u015bciu mo\u017cna osi\u0105gn\u0105\u0107 ka\u017cdy cel.\",\"url\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/author\\\/mateusz-mroz\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Arduino - programowanie - Botland","description":"Odwied\u017a blog Botland i dowiedz si\u0119 jakie s\u0105 r\u00f3\u017cnice pomi\u0119dzy tworzeniem kodu programu w \u015brodowisku Arduino IDE a klasycznym, niskopoziomowym j\u0119zykiem C!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/botland.com.pl\/blog\/arduino-programowanie\/","og_locale":"pl_PL","og_type":"article","og_title":"Arduino - programowanie - Botland","og_description":"Odwied\u017a blog Botland i dowiedz si\u0119 jakie s\u0105 r\u00f3\u017cnice pomi\u0119dzy tworzeniem kodu programu w \u015brodowisku Arduino IDE a klasycznym, niskopoziomowym j\u0119zykiem C!","og_url":"https:\/\/botland.com.pl\/blog\/arduino-programowanie\/","og_site_name":"Botland","article_publisher":"https:\/\/facebook.com\/Botland\/","article_published_time":"2023-01-11T05:00:34+00:00","article_modified_time":"2023-05-24T08:08:50+00:00","og_image":[{"width":1510,"height":755,"url":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-arduino-programowanie.jpg","type":"image\/jpeg"}],"author":"Mateusz Mr\u00f3z","twitter_card":"summary_large_image","twitter_misc":{"Napisane przez":"Mateusz Mr\u00f3z","Szacowany czas czytania":"7 minut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/botland.com.pl\/blog\/arduino-programowanie\/#article","isPartOf":{"@id":"https:\/\/botland.com.pl\/blog\/arduino-programowanie\/"},"author":{"name":"Mateusz Mr\u00f3z","@id":"https:\/\/botland.de\/blog\/#\/schema\/person\/774dbd37e308d5fb229ec7f3b8898559"},"headline":"Arduino &#8211; programowanie","datePublished":"2023-01-11T05:00:34+00:00","dateModified":"2023-05-24T08:08:50+00:00","mainEntityOfPage":{"@id":"https:\/\/botland.com.pl\/blog\/arduino-programowanie\/"},"wordCount":1101,"publisher":{"@id":"https:\/\/botland.de\/blog\/#organization"},"image":{"@id":"https:\/\/botland.com.pl\/blog\/arduino-programowanie\/#primaryimage"},"thumbnailUrl":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-arduino-programowanie.jpg","articleSection":["Arduino"],"inLanguage":"pl-PL"},{"@type":"WebPage","@id":"https:\/\/botland.com.pl\/blog\/arduino-programowanie\/","url":"https:\/\/botland.com.pl\/blog\/arduino-programowanie\/","name":"Arduino - programowanie - Botland","isPartOf":{"@id":"https:\/\/botland.de\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/botland.com.pl\/blog\/arduino-programowanie\/#primaryimage"},"image":{"@id":"https:\/\/botland.com.pl\/blog\/arduino-programowanie\/#primaryimage"},"thumbnailUrl":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-arduino-programowanie.jpg","datePublished":"2023-01-11T05:00:34+00:00","dateModified":"2023-05-24T08:08:50+00:00","description":"Odwied\u017a blog Botland i dowiedz si\u0119 jakie s\u0105 r\u00f3\u017cnice pomi\u0119dzy tworzeniem kodu programu w \u015brodowisku Arduino IDE a klasycznym, niskopoziomowym j\u0119zykiem C!","breadcrumb":{"@id":"https:\/\/botland.com.pl\/blog\/arduino-programowanie\/#breadcrumb"},"inLanguage":"pl-PL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/botland.com.pl\/blog\/arduino-programowanie\/"]}]},{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/botland.com.pl\/blog\/arduino-programowanie\/#primaryimage","url":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-arduino-programowanie.jpg","contentUrl":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-arduino-programowanie.jpg","width":1510,"height":755},{"@type":"BreadcrumbList","@id":"https:\/\/botland.com.pl\/blog\/arduino-programowanie\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Strona g\u0142\u00f3wna","item":"https:\/\/botland.com.pl\/blog\/"},{"@type":"ListItem","position":2,"name":"Arduino &#8211; programowanie"}]},{"@type":"WebSite","@id":"https:\/\/botland.de\/blog\/#website","url":"https:\/\/botland.de\/blog\/","name":"Botland","description":"Blog Raspberry Pi, Arduino, elektronika i robotyka - Botland","publisher":{"@id":"https:\/\/botland.de\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/botland.de\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pl-PL"},{"@type":"Organization","@id":"https:\/\/botland.de\/blog\/#organization","name":"Botland","url":"https:\/\/botland.de\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/botland.de\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/botland.store\/blog\/wp-content\/uploads\/2018\/04\/logo_kolor_WP_2-1.png","contentUrl":"https:\/\/botland.store\/blog\/wp-content\/uploads\/2018\/04\/logo_kolor_WP_2-1.png","width":250,"height":57,"caption":"Botland"},"image":{"@id":"https:\/\/botland.de\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/Botland\/"]},{"@type":"Person","@id":"https:\/\/botland.de\/blog\/#\/schema\/person\/774dbd37e308d5fb229ec7f3b8898559","name":"Mateusz Mr\u00f3z","image":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2025\/02\/12-300x300.png","url":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2025\/02\/12-300x300.png","contentUrl":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2025\/02\/12-300x300.png","caption":"Mateusz Mr\u00f3z"},"description":"Marzyciel, mi\u0142o\u015bnik podr\u00f3\u017cy i fan nowinek technologicznych. Swoje pomys\u0142y na Raspberry Pi i Arduino ch\u0119tnie przekuwa w konkrety. Uparty samouk \u2013 o pomoc prosi dopiero wtedy kiedy zabraknie pozycji w wyszukiwarce. Uwa\u017ca, \u017ce przy odpowiednim podej\u015bciu mo\u017cna osi\u0105gn\u0105\u0107 ka\u017cdy cel.","url":"https:\/\/botland.com.pl\/blog\/author\/mateusz-mroz\/"}]}},"_links":{"self":[{"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/posts\/34071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/comments?post=34071"}],"version-history":[{"count":0,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/posts\/34071\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/media\/63151"}],"wp:attachment":[{"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/media?parent=34071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/categories?post=34071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/tags?post=34071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}