Approved content
The content below is provided by a partner.
This extension contains functions to help students perform the projects and activities proposed in the Inventura books (eg: a function to calculate heat index, given air temperature and humidity).
To import this extension, go to Advanced -> +Extension and enter “Inventura” in the search box, or copy/paste https://github.com/assirati/pxt-inventura/ into the search box. Press enter and click the extension.
Inventura is an educational solution designed to turn children into inventors, making programming learning an easy, immersive and stimulating experience. It has different volumes for elementary students.
This extension contains functions to help students perform the projects and activities proposed in the Inventura.
The Heat Index blocks calculates the heat index based on temperature and air humidity.
The first block receives air humidity (given in %) and temperature in celsius (°C), returning the heat index also in celsius (°C). The second block uses the temperature in fareinheigh (°F) and calculates the index also in fareinheigh (°F).
For both blocks, the air humidity must be between 0% and 100%.
basic.forever(function () {
basic.showNumber(inventura.heatIndexC(32, 70))
basic.showNumber(inventura.heatIndexF(90, 70))
})
MIT
inventura=github:assirati/pxt-inventura#v0.0.7