| 전자부품 데이터시트 검색엔진 |
|
DFR0231 데이터시트(PDF) 6 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0231 데이터시트(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++) { |
|
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |