شِفر (کود) جستجو

RoboJax Crash Course on Arduino: Learn Arduino in 30 Minutes: For Loop

RoboJax Crash Course on Arduino: Learn Arduino in 30 Minutes: For Loop

Learn Arduino from scratch. Step by step, from a proven instructor with years of experience. The course will start by getting and installing Arduino software; then, Arduino boards are introduced, and practical projects are shown with wiring diagrams and how to wire them. All the code is provided for download.

300-Basic code to control the direction of rotation of a motor with two relays
زبان: C++
/*
 * For loop code: RoboJax Crash Course on Arduino: Learn Arduino in 30 Minutes 
 * 
 * Watch video instruction: https://youtu.be/Mbb2xa1WcRM
 * 
 * Written March 8, 2020 at 12:13 in Ajax, Ontario, Canada
 * 
* This code has been downloaded from RoboJax.com
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.


*/


void setup() {

  // initialize serial communications at 9600 bps:
  Serial.begin(9600);
  Serial.println("RoboJax: for loop");
  
  for(int i=15; i>=8; i--)
  {
    Serial.println(i* 3);
  }
}

void loop() {
    

   //RoboJax Crash Course on Arduino: Learn Arduino in 30 Minutes 
}

منابع و مراجع

هنوز هیچ منبعی موجود نیست.

فایل‌ها📁

هیچ فایلی موجود نیست.