| Moteur de recherche de fiches techniques de composants électroniques |
|
DFR0209 Fiches technique(PDF) 4 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0209 Fiches technique(HTML) 4 Page - DFROBOT |
|
4 / 6 page ![]() switch (i) { case 0: Serial.print("Acc.x :"); break; case 1: Serial.print("Acc.y :"); break; case 2: Serial.print("Acc.z :"); break; case 3: Serial.print("gyro.x :"); break; case 4: Serial.print("gyro.y :"); break; case 5: Serial.print("gyro.z :"); break; default: Serial.print("Err"); } Serial.println(rawSixDof[i]); } Serial.println(""); angle[0] = _atan2(rawSixDof[0],rawSixDof[2]); angle[1] = _atan2(rawSixDof[1],rawSixDof[2]); Serial.print("X:"); //pitch & roll Serial.println(angle[0]/10.0); Serial.print("Y:"); Serial.println(angle[1]/10.0); Serial.println(""); |
|
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants 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 |