| Electronic Components Datasheet Search |
|
DFR0231 Datasheet(PDF) 6 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0231 Datasheet(HTML) 6 Page - DFROBOT |
|
6 / 7 page ![]() int test_ACK (void) {// return true if receive_ACK accord with std_ACK int i; for (i=0; i<19; i++) { if (receive_ACK[i] != std_ACK[i]) return 0; } return 1; } void send_id (void) {//send id to PC int i; Serial.print ("ID: "); for (i=19; i<= 23; i++) { Serial.print (receive_ACK[i], HEX); Serial.print (" "); } Serial.println (); } void UART1_Send_Byte(unsigned char command_data){//send byte to device print1Byte(command_data); #if defined(ARDUINO) && ARDUINO >= 100 Serial1.flush();// complete the transmission of outgoing serial data #endif } void UART_Send_Byte(unsigned char command_data){//send byte to PC Serial.print(command_data,HEX); Serial.print(" "); } void read_ACK(unsigned char temp){//read ACK into reveive_ACK[] unsigned char i; for(i=0;i<temp;i++) { |
|
|
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 |
| 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 |