Revision 0e2e2723 examples/rawdata/rawdata.ino
examples/rawdata/rawdata.ino | ||
---|---|---|
45 | 45 |
/* Display chip revision details (optional) */ |
46 | 46 |
bno.displayRevInfo(); |
47 | 47 |
Serial.println(""); |
48 |
|
|
49 |
/* Display the current temperature */ |
|
50 |
int8_t temp = bno.getTemp(); |
|
51 |
Serial.print("Current Temperature: "); |
|
52 |
Serial.print(temp); |
|
53 |
Serial.println(" C"); |
|
54 |
Serial.println(""); |
|
48 | 55 |
} |
49 | 56 |
|
50 | 57 |
/**************************************************************************/ |
Also available in: Unified diff