This is the MakeCode Package for the SL19 xChip.
- Open Microsoft MakeCode for micro:bit.
- Select Advanced > Add Package in the toolbox.
- Copy and paste https://github.com/xinabox/pxt-SL19 in the search bar and click search
- Select the package by clicking on it. The package will appear along with the existing packages in the toolbox.
init()
Configures SL19 for temperature measurement.
getAmbientTemp()
Returns the ambient temperature in degree celsius
getObjectTemp()
Returns the ambient temperature in degree celsius
MIT
- PXT/microbit
- PXT/CC03
- PXT/CS11