Programovanie Arduino graficky - ako to funguje
Arduino môžete ľahko programovať graficky. V tomto praktickom tipe sa dozviete, ako to urobiť.
Programujte graficky pomocou Arduino
Ak chcete program Arduino naprogramovať nielen v čisto textovom okne, potrebujete bezplatný softvér Visuino. Tento softvér je primárne zameraný na vývojárov hardvéru, ktorí majú málo času na programovanie, a nováčikov, ktorí ešte s Arduino príliš neprogramovali.
- Pri programovaní s programom Visuino používate bloky drag-and-drop, a tak si môžete vytvoriť svoj program v priebehu niekoľkých sekúnd.
- Ako prvý test je najlepšie vytvoriť malý program, ktorý ovláda LED. Ak to chcete urobiť, pripojte „digitálny“ prvok ku kolíku na virtuálnom Arduino a jeho nastavenia definujte v bočnom paneli vľavo.
- Nakoniec kliknutím na logo Arduino v hornom strede skonvertujte programovanie na kód Arduino.
- Tip: Ak nastavená doska nezodpovedá vášmu Arduino, môžete to zmeniť v časti „Vybrať dosku“.
V nasledujúcom praktickom tipe vám vysvetlíme, ako môžete Arduino používať ako časovač.