WOLFRAM SYSTEM MODELER
ThermometerI2CReading a temperature sensor I2C device |
SystemModel["ModelPlug.Examples.ThermometerI2C"]
This example uses an I2C temperature sensor. It will turn on a LED when the temperature is over 28 degrees celsius.
arduino1 |
Type: Arduino Description: Component with default configuration for Arduino boards |
|
---|---|---|
sensor |
Type: BMP180 Description: I2C driver for the BMP180 temperature sensor |
|
overheating |
Type: Greater Description: Output y is true, if input u1 is greater than input u2 |
|
const |
Type: Constant Description: Generate constant signal of type Real |
|
digitalOutput1 |
Type: DigitalOutput Description: Writes a digital signal to the specified pin |