Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

DFR0331 Datenblatt(PDF) 20 Page - DFROBOT

Teilenummer DFR0331
Bauteilbeschribung  Romeo for Edison Controller SKU: DFR0331
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  DFROBOT [DFROBOT]
Direct Link  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0331 Datenblatt(HTML) 20 Page - DFROBOT

Back Button DFR0331 Datasheet HTML 16Page - DFROBOT DFR0331 Datasheet HTML 17Page - DFROBOT DFR0331 Datasheet HTML 18Page - DFROBOT DFR0331 Datasheet HTML 19Page - DFROBOT DFR0331 Datasheet HTML 20Page - DFROBOT DFR0331 Datasheet HTML 21Page - DFROBOT DFR0331 Datasheet HTML 22Page - DFROBOT DFR0331 Datasheet HTML 23Page - DFROBOT DFR0331 Datasheet HTML 24Page - DFROBOT  
Zoom Inzoom in Zoom Outzoom out
 20 / 24 page
background image
/*
*Copyright (c) 2014, Chengdu Geeker Technology Co., Ltd.
*All rights reserved
*
*FileName : Motor.ino
*File Tag :
*Summary
: moter control example
*
*Version
: V1.2
*Author
: ouki.wang(ouki.wang@dfrobot.com)
*Time
: 2015.10.10
*Version
: V1.1
*Author
: weibing.deng(15196617738@163.com)
*Time
: 2015.1.7
*
*Version
: V1.0
*Author
: weibing.deng(15196617738@163.com)
*Time
: 2014.12.22
*/
#include <DFRobot.h>
#include <IIC1.h>
DFrobotEdison Motor1;
DFrobotEdison Motor2;
void setup() {
Motor1.begin(M1); /*Initialize motor1*/
Motor2.begin(M2); /*Initialize motor2*/
}
void loop() {
Motor2.move(); /*motor rotate with the fastest speed*/
Motor1.move();
delay(3000);
Motor2.setDirection(CLOCKWISE); /*Motor M2 clockwise rotation*/
Motor1.setDirection(CLOCKWISE); /*Motor M1 clockwise rotation*/
Motor2.setSpeed(100); /*set speed 100(0-255)*/
Motor1.setSpeed(100); /*set speed 100(0-255)*/
delay(3000);
Motor2.setDirection(ANTICLOCKWISE); /*Motor M2 anticlockwise rotation*/
Motor2.setSpeed(200); /*set speed 200(0-255)*/
Motor1.setDirection(ANTICLOCKWISE); /*Motor M1 anticlockwise rotation*/
Motor1.setSpeed(200); /*set speed 300(0-255)*/
delay(3000);
Motor2.stop(); /*stop moter*/
Motor1.stop(); /*stop moter*/
delay(3000);
}
Page 20 of 24



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com