Electronic Components Datasheet Search
  English  ▼

X  

DFR0627 Datasheet(PDF) 10 Page - DFROBOT

Part # DFR0627
Description  Gravity: IIC to dual UART module
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  DFROBOT [DFROBOT]
Direct Link  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0627 Datasheet(HTML) 10 Page - DFROBOT

Back Button DFR0627 Datasheet HTML 6Page - DFROBOT DFR0627 Datasheet HTML 7Page - DFROBOT DFR0627 Datasheet HTML 8Page - DFROBOT DFR0627 Datasheet HTML 9Page - DFROBOT DFR0627 Datasheet HTML 10Page - DFROBOT DFR0627 Datasheet HTML 11Page - DFROBOT DFR0627 Datasheet HTML 12Page - DFROBOT DFR0627 Datasheet HTML 13Page - DFROBOT DFR0627 Datasheet HTML 14Page - DFROBOT Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 16 page
background image
2023/10/12 10:51
Gravity: IIC to dual UART module Wiki - DFRobot
https://wiki.dfrobot.com/Gravity: IIC to Dual UART Module SKU: DFR0627
10/16
Serial.println("Serial to print UART1 and UART2's receive data.");//print the data received by UART1 and UART2
}
void loop() {
char c;
if(iicSerial1.available()){/*available return the number of byte in UART1 receive buffer, none- return 0*/
flag = 0;
while(iicSerial1.available()){
if(flag == 0){
Serial.print("\nUART1 receive data: ");
flag = 1;
}
c = iicSerial1.read();/*Read data of UART1 receive buffer */
Serial.print(c);
}
}
if(iicSerial2.available()){
flag = 0;
while(iicSerial2.available()){
if(flag == 0){
Serial.print("\nUART2 receive data: ");
flag = 1;
}
Serial.print(iicSerial2.read());/*Read and print the data of Sub UART2 receive buffer*/
}
}
delay(1000);
}
Expected Result
Serial print the following information.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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