công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

DFR0221 bảng dữ liệu(PDF) 3 Page - DFROBOT

tên linh kiện DFR0221
Giải thích chi tiết về linh kiện  DFRobot Leonardo with Xbee R3(SKU:DFR0221)
PDF  5 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  DFROBOT [DFROBOT]
Trang chủ  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0221 bảng dữ liệu(HTML) 3 Page - DFROBOT

  DFR0221 Datasheet HTML 1Page - DFROBOT DFR0221 Datasheet HTML 2Page - DFROBOT DFR0221 Datasheet HTML 3Page - DFROBOT DFR0221 Datasheet HTML 4Page - DFROBOT DFR0221 Datasheet HTML 5Page - DFROBOT  
Zoom Inzoom in Zoom Outzoom out
 3 / 5 page
background image
Xbee Tutorial
DFRobot Leonardo with Xbee R3 has a Xbee socket.It uses Serial1 to communicate with Leonardo.
Sample Code
// # Description:
// It is just used to test Leonardo module
// Write by Grey
// Input
"p" once time the led will be turn on;twice to turn off.
// It is controled by Serial1 Xbee side only. but you can check the status fr
om serial port.
int ledPin=13;
int val;
int count=0;
void setup()
{
pinMode(ledPin,OUTPUT);
Serial.begin(9600);
Serial1.begin(115200);
// Xbee Serial1 port baud rate should be set the sa
me to the xbee baud rate
}
void loop()
{
val=Serial1.read();
// read xbee Serial1 data
if(-1!=val)
// "-1" means no data
{
if('p'==val){
if(count==0)count=1;
else if(count==1)count=0;
}
if(count==0){



Html Pages

1 2 3 4 5


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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