| Electronic Components Datasheet Search |
|
DFR0505 Datasheet(PDF) 15 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0505 Datasheet(HTML) 15 Page - DFROBOT |
|
15 / 20 page ![]() } void loop(){ Serial.println("Enter anything to get positioning "); char loge[10]; readSerial(loge); Serial.println("Getting position......"); if(sim7000.getPosition()){ //Get t he current position Serial.print("Longtude :"); Serial.println(sim7000.getLongitude()); //Get l ongitude Serial.print("Latitude :"); Serial.println(sim7000.getLatitude()); //Get l atitude }else{ Serial.println("Wrong data try again"); } } int readSerial(char result[]){ int i = 0; while(1){ while(Serial.available() > 0){ char inChar = Serial.read(); if(inChar == '\n'){ result[i] = '\0'; Serial.flush(); return 0; } if(inChar != '\r'){ result[i] = inChar; 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 |