Sound Pressure Sensor
// Get the sound pressure level sensor via its device identifer
sound = devices.getDeviceByIdentifier(290);// We want to be informed when a new sensor value arrives
sound.registerListener(soundChanged);function soundChanged(val) {
// Do something with the value object
}Reading the sound pressure level
Last updated