MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / startTemperature

Method startTemperature

modules/drivers/bmp180/bmp180.js:94–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

sampleMethod · 0.95

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected