PlanetX套件 此扩展程序旨在对传感器系列PlanetX(行星X)micro:bit扩展传感器进行编程和驱动,您可以 程式码范例 basic . forever ( function ( ) { PlanetX . showUserText ( 1 , "Temp:" + PlanetX . octopus_BME280 ( PlanetX . BME280_state . BME280_temperature_C ) ) PlanetX . showUserText ( 2 , "Distance:" + PlanetX . Ultrasoundsensor ( PlanetX . DigitalRJPin . J1 , PlanetX . Distance_Unit_List . Distance_Unit_cm ) ) if ( PlanetX . but