/pxt-SL19

MakeCode package for the ☒SL19

Primary LanguageTypeScriptMIT LicenseMIT

GitHub Issues GitHub Commit Maintained Build status badge Build status badge

pxt-SL19

This is the MakeCode Package for the SL19 xChip.

Getting Started

  1. Open Microsoft MakeCode for micro:bit.
  2. Select Advanced > Add Package in the toolbox.
  3. Copy and paste https://github.com/xinabox/pxt-SL19 in the search bar and click search
  4. Select the package by clicking on it. The package will appear along with the existing packages in the toolbox.

Blocks

init

init()

Configures SL19 for temperature measurement.

Ambient Temp (C)

getAmbientTemp()

Returns the ambient temperature in degree celsius

Object Temp (C)

getObjectTemp()

Returns the ambient temperature in degree celsius

Example Usage

License

MIT

Supported targets

  • PXT/microbit
  • PXT/CC03
  • PXT/CS11