()
| 92 | return {temperature: Math.round(temperature), pressure: Math.round(pressure)}; |
| 93 | } |
| 94 | startTemperature() { |
| 95 | return this.write(BMP180_REG_CONTROL, BMP180_COMMAND_TEMPERATURE); |
| 96 | } |
| 97 | getTemperature() { |
| 98 | let data = this.readBytes(BMP180_REG_RESULT, 2); |
| 99 |