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

X  

DFR0331 Datenblatt(PDF) 21 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) 21 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
 21 / 24 page
background image
Analog Application
A.Analog Read
Part List and Hardware Connection:
Micro USB cable x1
Romeo for Edison Controller x1
Intel® Edison x1
NOTE: As Romeo for Edison is using ATmega 8 as Analog pins driver. Please downloa
d the DFRobot4Edison library first.
The library is keeping update, so some sample code and picture will be different
to the old one.
Sample code: Open Arduino IDE, Select Boards -->Intel Edison and COM port
In this section, please down load the DFRobot4Edison library (https://github.com/ouki-wang/remeo4edison)
first.
/*
*Copyright (c) 2014, Chengdu Geeker Technology Co., Ltd.
*All rights reserved
*
*File Name : analogRead.ino
*File Tag
:
*Summary
: A0-A5 port Analog reading example
*
*Version
: V1.0
*Author
: weibing.deng(15196617738@163.com)
*Time
: 2014.12.22
*/
#include <DFRobot.h>
#include <IIC1.h>
unsigned int value = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
value = analogRead(A0);
Serial.print("A0=");Serial.println((int)value);
value = analogRead(A1);
Serial.print("A1=");Serial.println((int)value);
value = analogRead(A2);
Serial.print("A2=");Serial.println((int)value);
value = analogRead(A3);
Serial.print("A3=");Serial.println((int)value);
value = analogRead(A4);
Serial.print("A4=");Serial.println((int)value);
value = analogRead(A5);
Serial.print("A5=");Serial.println((int)value);
delay(2000);
}
Page 21 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