This is the documentation for the latest development branch of MicroPython and may refer to features that are not available in released versions.

If you are looking for the documentation for a specific release, use the drop-down menu on the left and select the desired version.

thingz

Thingz module

Used to access Galaxia’s internal component

thingz.button_a: Button

Galaxia’s button A This object is an instance of Button

thingz.button_b: Button

Galaxia’s button B This object is an instance of Button

thingz.touch_n: ButtonTouch

Galaxia’s touch button North This object is an instance of ButtonTouch

thingz.touch_s: ButtonTouch

Galaxia’s touch button South This object is an instance of ButtonTouch

thingz.touch_e: ButtonTouch

Galaxia’s touch button Est This object is an instance of ButtonTouch

thingz.touch_w: ButtonTouch

Galaxia’s touch button West This object is an instance of ButtonTouch

thingz.led: Led

Galaxia’s RGB LED This object is an instance of Led

thingz.accelerometer: Accel

Galaxia’s accelerometer This object is an instance of Accel

thingz.compass: Compass

Galaxia’s magnetometer This object is an instance of Compass

thingz.sound: Sound

Galaxia’s jack connector This object is an instance of Sound

thingz.radio: Radio

Galaxia’s wireless communication This object is an instance of Radio

thingz.display: Display

Galaxia’s LCD display This object is an instance of Display

thingz.log: Log

Save data to Galaxia memory This object is an instance of Log

thingz.temperature() int
Returns:

the current temperature by reading internal sensor.

Return type:

int

thingz.set_temperature_offset(offset: int) None

Calibrate internal temperature sensor by applying an offset