diff -r 0c23b9bf83d4 -r 2c9d5ef4e3aa APIs/MicroPython/circuitpython-community.api --- a/APIs/MicroPython/circuitpython-community.api Mon Oct 28 12:06:52 2024 +0100 +++ b/APIs/MicroPython/circuitpython-community.api Tue Oct 29 15:01:25 2024 +0100 @@ -132,6 +132,39 @@ absolute_mouse.descriptor.report_ids?7 absolute_mouse.descriptor.usage?7 absolute_mouse.descriptor.usage_page?7 +activemotor.ActiveMotor._get_speed_in_dgs?5(speed_value: float) +activemotor.ActiveMotor._get_speed_in_rpm?5(speed_value: float) +activemotor.ActiveMotor._normalize_speed?5(speed_value: float) +activemotor.ActiveMotor._run_positional_ramp?5(pos: float, newpos: float, speed: float, blocking: bool) +activemotor.ActiveMotor.actual_absolute_position?4() +activemotor.ActiveMotor.actual_position?4(new_position) +activemotor.ActiveMotor.actual_speed?4() +activemotor.ActiveMotor.coast?4() +activemotor.ActiveMotor.deinit?4() +activemotor.ActiveMotor.float?4() +activemotor.ActiveMotor.has_absolute_position?4() +activemotor.ActiveMotor.off?4() +activemotor.ActiveMotor.on_combi_value_update?4(combi_num: int, values: List[str]) +activemotor.ActiveMotor.position_pid?4() +activemotor.ActiveMotor.power_limit?4(limit: float) +activemotor.ActiveMotor.pwm?4(speed: int | float) +activemotor.ActiveMotor.pwmparams?4(pwmthresh, minpwm) +activemotor.ActiveMotor.release_after_run?4(value: bool) +activemotor.ActiveMotor.reverse_direction?4(reverse: bool) +activemotor.ActiveMotor.run_command_default_speed?4(value: float) +activemotor.ActiveMotor.run_command_position_tolerance?4(value: int) +activemotor.ActiveMotor.run_command_speed_unit?4(unit: SpeedUnit) +activemotor.ActiveMotor.run_for_degrees?4(degrees: int | float, speed: float | None = None, blocking: bool = True) +activemotor.ActiveMotor.run_for_rotations?4(rotations: int | float, speed: float | None = None, blocking: bool = True) +activemotor.ActiveMotor.run_for_seconds?4(seconds: float, speed: float | None = None, blocking: bool = True) +activemotor.ActiveMotor.run_to_absolute_angle?4(angle: int, speed: float | None = None, blocking: bool = True, direction: Direction = Direction.SHORTEST, ) +activemotor.ActiveMotor.run_to_position?4(target_position: int | float, speed: float | None = None, blocking: bool = True, ) +activemotor.ActiveMotor.set_position_pid?4(p: float = 0, i: float = 0, d: float = 0) +activemotor.ActiveMotor.set_speed_pid?4(p: float = 0, i: float = 0, d: float = 0) +activemotor.ActiveMotor.speed_pid?4() +activemotor.ActiveMotor.start?4(speed: float | None = None) +activemotor.ActiveMotor.stop?4() +activemotor.ActiveMotor?1(hat: HatSerialCommunication, port: int, type: int) adafruit_discordbot.DiscordBot.get_msg?4(channel, msg, get_author=False) adafruit_discordbot.DiscordBot.send_embed?4(title, content, color=0) adafruit_discordbot.DiscordBot.send_msg?4(msg, tts=False) @@ -1685,6 +1718,70 @@ bteve.registers.XYLOPHONE?7 bteve.registers.ZERO?7 bteve.registers.const?4(x) +buildhat.activedevice.ActiveDevice._decode_combi_update?5(combi_num: int, values: List[str]) +buildhat.activedevice.ActiveDevice._populate_model_details?5() +buildhat.activedevice.ActiveDevice.baudrate?4() +buildhat.activedevice.ActiveDevice.data_update_interval?4(interval: int) +buildhat.activedevice.ActiveDevice.hardware_version?4() +buildhat.activedevice.ActiveDevice.on_combi_value_update?4(combi_num: int, values: List[str]) +buildhat.activedevice.ActiveDevice.on_single_value_update?4(mode: int, value: str) +buildhat.activedevice.ActiveDevice.select_read_mode?4(mode: CombiModes | int) +buildhat.activedevice.ActiveDevice.software_version?4() +buildhat.activedevice.ActiveDevice?1(hat: HatSerialCommunication, port: int, type: int) +buildhat.activedevice._DETAILS_BAUD?8 +buildhat.activedevice._DETAILS_FORMAT_COUNT?8 +buildhat.activedevice._DETAILS_HARDWARE_VERSION?8 +buildhat.activedevice._DETAILS_N_MODES?8 +buildhat.activedevice._DETAILS_SOFTWARE_VERSION?8 +buildhat.activedevice._DETAILS_TYPE_ACTIVE?8 +buildhat.activedevice._DETAILS_UNIT?8 +buildhat.device.Device._write1?5(data: bytearray) +buildhat.device.Device.deinit?4() +buildhat.device.Device.ensure_connected?4() +buildhat.device.Device.hat?4() +buildhat.device.Device.is_connected?4() +buildhat.device.Device.name?4() +buildhat.device.Device.off?4() +buildhat.device.Device.on?4() +buildhat.device.Device.on_disconnect?4() +buildhat.device.Device.port?4() +buildhat.device.Device.type?4() +buildhat.device.Device?1(hat: HatSerialCommunication, port: int, type: int) +buildhat.hat.Hat._process_message?5(line: str) +buildhat.hat.Hat.clear_faults?4() +buildhat.hat.Hat.deinit?4() +buildhat.hat.Hat.get_device?4(port: int) +buildhat.hat.Hat.led_mode?4(color) +buildhat.hat.Hat.stop_all_devices?4() +buildhat.hat.Hat.update?4() +buildhat.hat.Hat.vin?4() +buildhat.hat.Hat?1(tx: microcontroller.Pin, rx: microcontroller.Pin, reset: microcontroller.Pin, receiver_buffer_size: int = 2048, debug: bool = False, ) +buildhat.hat._CONNECTED?8 +buildhat.hat._CONNECTEDPASSIVE?8 +buildhat.hat._DEVTIMEOUT?8 +buildhat.hat._DISCONNECTED?8 +buildhat.hat._NOTCONNECTED?8 +buildhat.hatserialcomm.HatSerialCommunication._checksum?5(file: io.FileIO) +buildhat.hatserialcomm.HatSerialCommunication._firmware_folder?5() +buildhat.hatserialcomm.HatSerialCommunication._get_firmware_file_version?5() +buildhat.hatserialcomm.HatSerialCommunication._get_prompt?5(timeout_ms: int = 2000) +buildhat.hatserialcomm.HatSerialCommunication._init_hat?5() +buildhat.hatserialcomm.HatSerialCommunication._load_firmware?5() +buildhat.hatserialcomm.HatSerialCommunication._process_all_incoming_messages?5() +buildhat.hatserialcomm.HatSerialCommunication._process_message?5(line: str) +buildhat.hatserialcomm.HatSerialCommunication._reset_hat?5() +buildhat.hatserialcomm.HatSerialCommunication._wait_for_message?5(message: str, timeout_ms: int = 2000) +buildhat.hatserialcomm.HatSerialCommunication.debug?4(value: bool) +buildhat.hatserialcomm.HatSerialCommunication.deinit?4() +buildhat.hatserialcomm.HatSerialCommunication.pop_device_message_handle?4(device: object) +buildhat.hatserialcomm.HatSerialCommunication.push_device_message_handle?4(device: object, handler: Callable[[str], bool]) +buildhat.hatserialcomm.HatSerialCommunication.readline?4(skip: str = None) +buildhat.hatserialcomm.HatSerialCommunication.serial?4() +buildhat.hatserialcomm.HatSerialCommunication?1(tx: microcontroller.Pin, rx: microcontroller.Pin, reset: microcontroller.Pin, receiver_buffer_size=2048, debug: bool = False, ) +buildhat.hatserialcomm._BOOTLOADER?8 +buildhat.hatserialcomm._DONE?8 +buildhat.hatserialcomm._FIRMWARE?8 +buildhat.hatserialcomm._PROMPT?8 built_in.Colors.BLUE_DK?7 built_in.Colors.RED?7 built_in.Colors.WHITE?7 @@ -1714,6 +1811,30 @@ built_in.REPL_ONLY?7 built_in.display?7 built_in.x_min?7 +button_handler.Button._check_multi_press_timeout?5(current_time: int) +button_handler.Button._is_held?5(current_time: int) +button_handler.Button.button_number?4() +button_handler.Button.is_holding?4() +button_handler.Button.is_pressed?4() +button_handler.Button?1(button_number: int = 0, config: ButtonInitConfig = ButtonInitConfig()) +button_handler.ButtonHandler._call_callbacks?5(inputs: set[ButtonInput]) +button_handler.ButtonHandler._handle_buttons?5() +button_handler.ButtonHandler._handle_event?5(event: Event) +button_handler.ButtonHandler.buttons?4() +button_handler.ButtonHandler.update?4() +button_handler.ButtonHandler?1(event_queue: EventQueue, callable_inputs: set[ButtonInput], button_amount: int = 1, config: dict[int, ButtonInitConfig] = None, ) +button_handler.ButtonInitConfig?1(enable_multi_press: bool = True, multi_press_interval: float = 175, long_press_threshold: float = 1000, max_multi_press: int = 2, ) +button_handler.ButtonInput.DOUBLE_PRESS?7 +button_handler.ButtonInput.HOLD?7 +button_handler.ButtonInput.LONG_PRESS?7 +button_handler.ButtonInput.SHORT_PRESS?7 +button_handler.ButtonInput.action?4(action: Union[int, str]) +button_handler.ButtonInput?1(action: Union[int, str], button_number: int = 0, callback: Callable[[], None] = lambda: None, timestamp: int = 0, ) +button_handler._TICKS_MAX?8 +button_handler._TICKS_PERIOD?8 +button_handler.start_time?7 +button_handler.ticks_ms?4() +button_handler.timestamp_diff?4(time1: int, time2: int) candlesticks.Candlestick._draw_lines?5() candlesticks.Candlestick?1(dist_x: int, openp: int, close: int, high: int, low: int, color_green: int = 0x00FF00, color_red: int = 0xFF0000, screen_ref: int = 180, ) caveble.SurveyProtocolService.ACK0?7 @@ -2656,6 +2777,17 @@ co2_iaq.RED?7 co2_iaq.YELLOW?7 co2_iaq.co2_ppm_to_quality?4(co2_ppm) +color.Color.BLACK?7 +color.Color.BLUE?7 +color.Color.CYAN?7 +color.Color.GREEN?7 +color.Color.RED?7 +color.Color.VIOLET?7 +color.Color.WHITE?7 +color.Color.YELLOW?7 +color.Color.get_color_from_rgb?4(g: int, b: int) +color.Color.rgb?4() +color.Color?1(desciption: str, r: int, g: int, b: int) color_picker.color_picker.ColorPicker._color_from_position?5(x, y, image_size) color_picker.color_picker.ColorPicker._make_color?5(adj, ratio, shade) color_picker.color_picker.ColorPicker.contains?4(touch_point) @@ -2668,6 +2800,37 @@ color_picker.wheel_maker.color_wheel?7 color_picker.wheel_maker.make_color?4(base, adj, ratio, shade) color_picker.wheel_maker.make_wheel?4(image_name, img_size, bg_color=0x000000) +colordistancesensor.ColorDistanceSensor._avgrgb?5(reads: List[Tuple[int, int, int]]) +colordistancesensor.ColorDistanceSensor._clamp?5(val, small, large) +colordistancesensor.ColorDistanceSensor._wait_for_one_update?5() +colordistancesensor.ColorDistanceSensor.get_ambient_light?4() +colordistancesensor.ColorDistanceSensor.get_color?4() +colordistancesensor.ColorDistanceSensor.get_color_rgb?4() +colordistancesensor.ColorDistanceSensor.get_counter?4() +colordistancesensor.ColorDistanceSensor.get_distance?4() +colordistancesensor.ColorDistanceSensor.get_reflected_light?4() +colordistancesensor.ColorDistanceSensor.num_read_average?4(num: int) +colordistancesensor.ColorDistanceSensor.off?4() +colordistancesensor.ColorDistanceSensor.on_single_value_update?4(mode: int, value: str) +colordistancesensor.ColorDistanceSensor.set_color?4(color: Color) +colordistancesensor.ColorDistanceSensor?1(hat: HatSerialCommunication, port: int, type: int) +colorsensor.ColorSensor._avgrgbi?5(reads: List[Tuple[int, int, int, int]]) +colorsensor.ColorSensor._turn_off?5() +colorsensor.ColorSensor._turn_on?5() +colorsensor.ColorSensor._wait_for_one_update?5() +colorsensor.ColorSensor.get_ambient_light?4() +colorsensor.ColorSensor.get_color?4() +colorsensor.ColorSensor.get_color_hsv?4() +colorsensor.ColorSensor.get_color_rgbi?4() +colorsensor.ColorSensor.get_reflected_light?4() +colorsensor.ColorSensor.num_read_average?4(num: int) +colorsensor.ColorSensor.off?4() +colorsensor.ColorSensor.on?4() +colorsensor.ColorSensor.on_single_value_update?4(mode: int, value: str) +colorsensor.ColorSensor?1(hat: HatSerialCommunication, port: int, type: int) +combimodes.CombiModes.modes?4() +combimodes.CombiModes.number?4() +combimodes.CombiModes?1(number: int, modes: List[int]) community_tca9555.ADDRESS_MAXIMUM?7 community_tca9555.ADDRESS_MINIMUM?7 community_tca9555.CONFIGURATION_PORT_0?7 @@ -2778,12 +2941,43 @@ creativecontrol_circuitpython_ltc166x.LTC166X.write_dac_values?4(values: list) creativecontrol_circuitpython_ltc166x.LTC166X.write_value_to_spi?4(spi: SPIDevice, value: int, address: int) creativecontrol_circuitpython_ltc166x.LTC166X?1(sck: microcontroller.Pin, mosi: microcontroller.Pin, csel: microcontroller.Pin, debug: bool = False, ) +devicetype.DeviceType.BUTTON_OR_TOUCH_SENSOR?7 +devicetype.DeviceType.COLOR_AND_DISTANCE_SENSOR?7 +devicetype.DeviceType.FUTURE_LIGHTS_1?7 +devicetype.DeviceType.FUTURE_LIGHTS_2?7 +devicetype.DeviceType.GENERAL_PWM?7 +devicetype.DeviceType.MEDIUM_LINEAR_MOTOR?7 +devicetype.DeviceType.NONE?7 +devicetype.DeviceType.SIMPLE_LIGHTS?7 +devicetype.DeviceType.SPIKE_3X3_COLOR_LIGHT_MATRIX?7 +devicetype.DeviceType.SPIKE_COLOR_SENSOR?7 +devicetype.DeviceType.SPIKE_FORCE_SENSOR?7 +devicetype.DeviceType.SPIKE_LARGE_ANGULAR_MOTOR?7 +devicetype.DeviceType.SPIKE_MEDIUM_ANGULAR_MOTOR?7 +devicetype.DeviceType.SPIKE_SMALL_ANGULAR_MOTOR?7 +devicetype.DeviceType.SPIKE_ULTRASONIC_DISTANCE_SENSOR?7 +devicetype.DeviceType.SYSTEM_FUTURE_ACTUATOR?7 +devicetype.DeviceType.SYSTEM_MEDIUM_MOTOR?7 +devicetype.DeviceType.SYSTEM_TRAIN_MOTOR?7 +devicetype.DeviceType.SYSTEM_TURNABLE_MOTOR?7 +devicetype.DeviceType.TECHNIC_LARGE_ANGULAR_MOTOR?7 +devicetype.DeviceType.TECHNIC_LARGE_MOTOR?7 +devicetype.DeviceType.TECHNIC_MEDIUM_ANGULAR_MOTOR?7 +devicetype.DeviceType.TECHNIC_XL_MOTOR?7 +devicetype.DeviceType.WEDO_MOTION_SENSOR?7 +devicetype.DeviceType.WEDO_TILT_SENSOR?7 +devicetype.DeviceType.get_name?4() +devicetype.DeviceType.is_motor?4() +devicetype._ALL_MOTORS?8 dew_point.BREAKPOINTS?7 dew_point.dew_point?4(deg_c, humidity, verbose=False) dial_needle.needle._draw_position?5(position) dial_needle.needle._update_needle?5(value) dial_needle.needle.value?4(new_value) dial_needle.needle?1(dial_object, needle_width=3, needle_pad=10, needle_full=False, needle_color=0x880000, limit_rotation=True, value=None, min_value=0.0, max_value=100.0, ) +direction.Direction.CCW?7 +direction.Direction.CW?7 +direction.Direction.SHORTEST?7 display_ht16k33.ht16k33.HT16K33.convert_to_leds?4(y) display_ht16k33.ht16k33.HT16K33.fill?4(color: bool) display_ht16k33.ht16k33.HT16K33.pixel?4(x: int, y: int, color=True) @@ -3080,6 +3274,8 @@ english_to_francais.interpret?4(enable=True, english_phrase="") english_to_pirate.ENG_PIRATE?7 english_to_pirate.interpret?4(enable=True, english_phrase="") +enumstr.EnumStr.parse?4(value: str) +enumstr.EnumStr?1(desciption: str) equalizer.equalizer.Equalizer._hor_bar_setup?5() equalizer.equalizer.Equalizer.show_bars?4(values) equalizer.equalizer.Equalizer?1(background_color: int = 0x000000, number_bars: int = 1, bar_best_fit: bool = True, bar_width: int = 10, pad_x: int = 0, number_segments: int = 2, segments_height: int = 10, seg_best_fit: bool = True, **kwargs, ) @@ -4103,6 +4299,17 @@ laser_egismos._LaserBase._parse_frame?5(frame: bytes) laser_egismos._LaserBase._process_frame?5(address, command, frame) laser_egismos._LaserBase?2(uart: busio.UART, address=0x01, timeout=DEFAULT_TIMEOUT) +lightmatrix.LightMatrix._validate_brightness?5() +lightmatrix.LightMatrix._validate_color?5() +lightmatrix.LightMatrix.display_level_bar?4(level: int) +lightmatrix.LightMatrix.display_pixels?4() +lightmatrix.LightMatrix.display_single_color?4(color: MatrixColor) +lightmatrix.LightMatrix.fill_pixels?4(color: MatrixColor, brightness: int) +lightmatrix.LightMatrix.off?4() +lightmatrix.LightMatrix.on?4() +lightmatrix.LightMatrix.set_display_image_transition?4(transition: MatrixTransition) +lightmatrix.LightMatrix.set_pixel?4(x: int, y: int, color: MatrixColor, brightness: int) +lightmatrix.LightMatrix?1(hat: HatSerialCommunication, port: int, type: int) lilygo_tdeck.Keyboard.get_keypress?4() lilygo_tdeck.Keyboard?1(i2c: I2C, device_address: int = None) lilygo_tdeck.TDeck._debug?5(msg) @@ -4165,6 +4372,36 @@ lps28.data_rate_values?7 lps28.full_scale_values?7 lps28.resolution_values?7 +m5stack_pbhub.NeoPixels._set_reg?5() +m5stack_pbhub.NeoPixels.brightness?4(value: float) +m5stack_pbhub.NeoPixels.channel?4() +m5stack_pbhub.NeoPixels.fill?4(color: int | Annotated[list[int], 3]) +m5stack_pbhub.NeoPixels.number_of_leds?4(number: int) +m5stack_pbhub.NeoPixels?1(pbHub: PbHub, channel: int, number_of_leds: int, brightness: float = 0.5) +m5stack_pbhub.PbHub.firmware_version?4() +m5stack_pbhub.PbHub?1(i2c: busio.I2C, addr: int = 0x61) +m5stack_pbhub.PbHubAnalogInput._set_reg?5() +m5stack_pbhub.PbHubAnalogInput.value?4() +m5stack_pbhub.PbHubAnalogInput?1(pbHub: PbHub, channel: int) +m5stack_pbhub.PbHubDigitalInput._set_reg?5() +m5stack_pbhub.PbHubDigitalInput.value?4() +m5stack_pbhub.PbHubDigitalInput?1(pbHub: PbHub, channel: int, io: int) +m5stack_pbhub.PbHubDigitalOutput._set_reg?5() +m5stack_pbhub.PbHubDigitalOutput.value?4(value: bool) +m5stack_pbhub.PbHubDigitalOutput?1(pbHub: PbHub, channel: int, io: int) +m5stack_pbhub.PbHubPwmOutput._set_reg?5() +m5stack_pbhub.PbHubPwmOutput.value?4(value: int) +m5stack_pbhub.PbHubPwmOutput?1(pbHub: PbHub, channel: int, io: int) +m5stack_pbhub.PbHubServo._set_reg?5() +m5stack_pbhub.PbHubServo.angle?4(angle: int) +m5stack_pbhub.PbHubServo.pulse?4(pulse_width: int) +m5stack_pbhub.PbHubServo?1(pbHub: PbHub, channel: int, io: int) +m5stack_pbhub._CHANNEL_BASE_REG?8 +m5stack_pbhub._MAX_NUM_OF_LED?8 +m5stack_pbhub._PbHubChannel._set_reg?5() +m5stack_pbhub._PbHubChannel.channel?4(value: int) +m5stack_pbhub._PbHubChannel.io?4(value) +m5stack_pbhub._PbHubChannel?2(pbHub: PbHub, channel: int, io: int) madgwick.Madgwick._inv_sqrt?5(x) madgwick.Madgwick.beta?4(value) madgwick.Madgwick.compute_angles?4() @@ -4271,6 +4508,24 @@ managed_spi_test.TestManagedSpi.read_sensor?4() managed_spi_test.TestManagedSpi.test_acquire?4() managed_spi_test.TestManagedSpi.update_screen?4() +matrixcolor.MatrixColor.BLACK?7 +matrixcolor.MatrixColor.BLUE?7 +matrixcolor.MatrixColor.BROWN?7 +matrixcolor.MatrixColor.CYAN?7 +matrixcolor.MatrixColor.GREEN?7 +matrixcolor.MatrixColor.MAGENTA?7 +matrixcolor.MatrixColor.ORANGE?7 +matrixcolor.MatrixColor.PALE_GREEN?7 +matrixcolor.MatrixColor.RED?7 +matrixcolor.MatrixColor.WHITE?7 +matrixcolor.MatrixColor.YELLOW?7 +matrixcolor.MatrixColor.color_num?4() +matrixcolor.MatrixColor?1(desciption: str, color_num: int) +matrixtransition.MatrixTransition.FADE_IN_OUT?7 +matrixtransition.MatrixTransition.NONE?7 +matrixtransition.MatrixTransition.SWIPE_RTL?7 +matrixtransition.MatrixTransition.transition_num?4() +matrixtransition.MatrixTransition?1(desciption: str, transition_num: int) mc3479.ACCEL_RANGE_12G?7 mc3479.ACCEL_RANGE_16G?7 mc3479.ACCEL_RANGE_2G?7 @@ -4425,12 +4680,28 @@ mindwidgets_df1201s._OK_RESPONSE?8 mindwidgets_df1201s._map_volume?5(volume: float) mindwidgets_df1201s._unwrap_int?5(value: str) +minmaxvalue.MinMaxValue.max?4() +minmaxvalue.MinMaxValue.min?4() +minmaxvalue.MinMaxValue.value_type?4() +minmaxvalue.MinMaxValue?1(type: ModeTypeValue, min: int, max: int) mitutoyo.Digimatic.UNITS?7 mitutoyo.Digimatic._req?5(val) mitutoyo.Digimatic.read?4() mitutoyo.Digimatic.read_cm?4() mitutoyo.Digimatic?1(**args) mitutoyo.Reading?1(value, unit) +modedetails.ModeDetails.data_type?4() +modedetails.ModeDetails.decimal_precision?4() +modedetails.ModeDetails.min_max_values?4() +modedetails.ModeDetails.name?4() +modedetails.ModeDetails.num_of_chars_to_display?4() +modedetails.ModeDetails.num_of_data?4() +modedetails.ModeDetails.number?4() +modedetails.ModeDetails.unit?4() +modedetails.ModeDetails?1(number: int, name: str, unit: str, data_type: str, num_of_chars_to_display: int, num_of_data: int, decimal_precision: int, min_max_values: Dict[ModeTypeValue, MinMaxValue], ) +modetypevalue.ModeTypeValue.PERCENT?7 +modetypevalue.ModeTypeValue.RAW?7 +modetypevalue.ModeTypeValue.SIGNAL?7 morsecode.Emitter.blinking?4(blinktime: int) morsecode.Emitter.convertbpm?4(bpm) morsecode.Emitter.convertphrase?4(phrase: str) @@ -4443,6 +4714,11 @@ morsecode.Emitter.turnoff?4(pausa: float = 0.1) morsecode.Emitter.turnon?4(pausa: float = 0.1) morsecode.Emitter?1(pin) +motor.Motor._parse_pulse_done_message?5(line: str) +motor.Motor._parse_ramp_done_message?5(line: str) +motor.Motor?1(hat: HatSerialCommunication, port: int, type: int) +motor._PULSE_DONE?8 +motor._RAMP_DONE?8 mpu6886.ClockSource.CLKSEL_EXTERNAL_19?7 mpu6886.ClockSource.CLKSEL_EXTERNAL_32?7 mpu6886.ClockSource.CLKSEL_INTERNAL_8MHz?7 @@ -4711,6 +4987,37 @@ paletteslice_acme.PaletteSlice.pop?4(key) paletteslice_acme.PaletteSlice.reference_list?4() paletteslice_acme.PaletteSlice?1(source_palette) +passivemotor.PassiveMotor.actual_speed?4() +passivemotor.PassiveMotor.default_speed?4(speed: float) +passivemotor.PassiveMotor.off?4() +passivemotor.PassiveMotor.on?4() +passivemotor.PassiveMotor.power_limit?4(limit: float) +passivemotor.PassiveMotor.pwmparams?4(pwmthresh, minpwm) +passivemotor.PassiveMotor.run_for_seconds?4(seconds: float, speed: float | None = None, blocking: bool = True) +passivemotor.PassiveMotor.start?4(speed: float | None = None) +passivemotor.PassiveMotor.stop?4() +passivemotor.PassiveMotor?1(hat: HatSerialCommunication, port: int, type: int) +pca9674.digital_inout.DigitalInOut.direction?4(val: Direction) +pca9674.digital_inout.DigitalInOut.invert_polarity?4(val: bool) +pca9674.digital_inout.DigitalInOut.switch_to_input?4(invert_polarity: bool = False, **kwargs) +pca9674.digital_inout.DigitalInOut.switch_to_output?4(value: bool = False, **kwargs) +pca9674.digital_inout.DigitalInOut.value?4(val: bool) +pca9674.digital_inout.DigitalInOut?1(pin_number: int, pca9674: PCA9674) +pca9674.digital_inout._clear_bit?5(val, bit: int) +pca9674.digital_inout._enable_bit?5(val, bit: int) +pca9674.digital_inout._get_bit?5(val, bit: int) +pca9674.pca9674.PCA9674._read_u8?5() +pca9674.pca9674.PCA9674._write_u8?5(val: int) +pca9674.pca9674.PCA9674.get_pin?4(pin: int) +pca9674.pca9674.PCA9674.gpio?4(val: int) +pca9674.pca9674.PCA9674.iodir?4(val: int) +pca9674.pca9674.PCA9674.ipol?4(val: int) +pca9674.pca9674.PCA9674.pin_mode?4(pin: int, mode: int) +pca9674.pca9674.PCA9674.readPin?4(pin: int) +pca9674.pca9674.PCA9674.readPins?4() +pca9674.pca9674.PCA9674?1(i2c: I2C, address: int = _PCA9674_ADDRESS, pin_config=0x00) +pca9674.pca9674._BUFFER?8 +pca9674.pca9674._PCA9674_ADDRESS?8 pcf85063a.PCF85063A.CLOCKOUT_FREQ_16KHZ?7 pcf85063a.PCF85063A.CLOCKOUT_FREQ_1HZ?7 pcf85063a.PCF85063A.CLOCKOUT_FREQ_1KHZ?7 @@ -4870,11 +5177,14 @@ pimoroni_mics6814.Pimoroni_MICS6814.reducing?4() pimoroni_mics6814.Pimoroni_MICS6814?1(ox_pin, red_pin, nh3_pin, enable_pin=None) piper_blockly.ANY_BUTTON?7 +piper_blockly.ANY_BUTTON_16?7 piper_blockly.BUTTON_10?7 piper_blockly.BUTTON_11?7 piper_blockly.BUTTON_12?7 piper_blockly.BUTTON_13?7 piper_blockly.BUTTON_14?7 +piper_blockly.BUTTON_15?7 +piper_blockly.BUTTON_16?7 piper_blockly.BUTTON_1?7 piper_blockly.BUTTON_2?7 piper_blockly.BUTTON_3?7 @@ -4889,6 +5199,8 @@ piper_blockly.consolePosition?4(x, y) piper_blockly.digital_view?7 piper_blockly.emojiCharacter?4(c) +piper_blockly.find_closest_in_list?4(target, lst, conf_thd, comp_func, find_value) +piper_blockly.find_in_list_compare?4(target, value, comp_func) piper_blockly.isNumber?4(n) piper_blockly.mapValue?4(value, a, b, c, d) piper_blockly.numberCompare?4(a, b) @@ -4899,8 +5211,10 @@ piper_blockly.piperColorSensor.sensorGain?4(val) piper_blockly.piperColorSensor?1(i2c_bus) piper_blockly.piperColorWheel?4(hue_value, bright_value=100) +piper_blockly.piperControllerPins.isPressed?4(b) piper_blockly.piperControllerPins.readButtons?4() piper_blockly.piperControllerPins.wasPressed?4(b) +piper_blockly.piperControllerPins.wasReleased?4(b) piper_blockly.piperControllerPins?1(clock_pin, clock_name, data_pin, data_name, latch_pin, latch_name) piper_blockly.piperDistanceSensorPin.readDistanceSensor?4() piper_blockly.piperDistanceSensorPin?1(pin, name) @@ -4913,19 +5227,32 @@ piper_blockly.piperJoystickAxis._cubicScaledDeadband?5(x) piper_blockly.piperJoystickAxis.readJoystickAxis?4() piper_blockly.piperJoystickAxis?1(pin, name, outputScale=20.0, deadbandCutoff=0.1, weight=0.2) +piper_blockly.piperLightshow.box?4(color, x=0, y=0, width=None, height=None) +piper_blockly.piperLightshow.clear?4() +piper_blockly.piperLightshow.draw?4(source, dx=0, dy=0, x=0, y=0, width=None, height=None, key=None) +piper_blockly.piperLightshow.format_color?4(color) +piper_blockly.piperLightshow.from_grid?4(lines) +piper_blockly.piperLightshow.from_text?4(string, color=63, bgcolor=0, colors=None) +piper_blockly.piperLightshow.pixel?4(x, y, color=None) +piper_blockly.piperLightshow.send_dv_lightshow?4(pixel_array) +piper_blockly.piperLightshow.show?4() +piper_blockly.piperLightshow?1() piper_blockly.piperMotionSensor.read?4() piper_blockly.piperMotionSensor.readMotionSensor?4() piper_blockly.piperMotionSensor?1(i2c_bus, address=0x69) +piper_blockly.piperMotorModule.brake?4(motor=0) +piper_blockly.piperMotorModule.coast?4(motor=0) +piper_blockly.piperMotorModule.servo_angle?4(servo=0, angle=0) +piper_blockly.piperMotorModule.servo_stop?4(servo=0) +piper_blockly.piperMotorModule.set_speed?4(motor=0, speed=0) +piper_blockly.piperMotorModule.stop?4() +piper_blockly.piperMotorModule?1(i2c_bus) piper_blockly.piperNeoPixels.fill?4(color) piper_blockly.piperNeoPixels.show?4() piper_blockly.piperNeoPixels?1(pin, name, pixel_count) -piper_blockly.piperPin.checkPin?4(pinPull) -piper_blockly.piperPin.checkPinDebounced?4(pinPull) -piper_blockly.piperPin.checkPinFell?4(pinPull) -piper_blockly.piperPin.checkPinRose?4(pinPull) +piper_blockly.piperPin.checkPin?4(pin_pull) piper_blockly.piperPin.readVoltage?4() -piper_blockly.piperPin.reportPin?4(pinStr) -piper_blockly.piperPin.setPin?4(pinState) +piper_blockly.piperPin.setPin?4(pin_state) piper_blockly.piperPin?1(pin, name, type='Digital') piper_blockly.piperServoPin.setServoAngle?4(a) piper_blockly.piperServoPin.setServoFraction?4(f) @@ -4935,7 +5262,9 @@ piper_blockly.piper_pin_names?7 piper_blockly.piper_pin_states?7 piper_blockly.playSound?4(soundName) -piper_blockly.send_piper_pin_state?4(_pin_name, _pin_state) +piper_blockly.randomColor?4(bright_value=None) +piper_blockly.send_dv_i2c?4() +piper_blockly.send_dv_state?4(_pin_name, _pin_state) piper_blockly.set_digital_view?4(state) piper_blockly.shout?4(color, text) piper_blockly.stringCompare?4(a, b) @@ -5146,6 +5475,19 @@ rm3100._STATUS?8 rm3100._TMRC?8 rm3100._UT_PER_CYCLE?8 +rotaryselect.RotarySelect.CONFIG_CIRCLE_COLOR?7 +rotaryselect.RotarySelect.CONFIG_CIRCLE_LABEL?7 +rotaryselect.RotarySelect.CONFIG_CIRCLE_RADIUS?7 +rotaryselect.RotarySelect.CONFIG_ICONFILE?7 +rotaryselect.RotarySelect.CONFIG_ICON_LABEL?7 +rotaryselect.RotarySelect.INDICATOR_TYPE_DOT?7 +rotaryselect.RotarySelect.INDICATOR_TYPE_OUTLINE?7 +rotaryselect.RotarySelect._update_indicator?5() +rotaryselect.RotarySelect.move_selection_down?4() +rotaryselect.RotarySelect.move_selection_up?4() +rotaryselect.RotarySelect.points_around_circle?4(circle_y, r, point_count) +rotaryselect.RotarySelect.selected_index?4(new_index) +rotaryselect.RotarySelect?1(x, y, radius, items, indicator_color=0x0000FF, indicator_r=40 // 2, indicator_stroke=4, indicator_type=INDICATOR_TYPE_OUTLINE, indicator_offset=0, icon_transparency_index=None, label=None, **kwargs, ) rs485_wrapper.RS485._init_pin?5(pin) rs485_wrapper.RS485.baudrate?4() rs485_wrapper.RS485.idle?4() @@ -5553,6 +5895,8 @@ sparkfun_serlcd._SHOW_VERSION_COMMAND?8 sparkfun_serlcd._SPECIAL_COMMAND?8 sparkfun_serlcd._map_range?5(value, in_min, in_max, out_min, out_max) +speedunit.SpeedUnit.DGS?7 +speedunit.SpeedUnit.RPM?7 stoplight.index_to_rgb?4(index=0, gamma=0.5) stoplight.map_range?4(x, in_min, in_max, out_min, out_max) stts22h.ODR_100_HZ?7 @@ -5850,6 +6194,42 @@ tm1637_display.digit_to_segment?7 tm1637_display.letter?7 tm1637_display.letter_to_segment?7 +tmidi.ACTIVE_SENSING?7 +tmidi.AFTERTOUCH?7 +tmidi.BUS_SELECT?7 +tmidi.CC?7 +tmidi.CHANNEL_PRESSURE?7 +tmidi.CLOCK?7 +tmidi.CONTINUE?7 +tmidi.CONTROLLER_CHANGE?7 +tmidi.MIDI.error_count?4() +tmidi.MIDI.receive?4() +tmidi.MIDI.send?4(msg, channel=None) +tmidi.MIDI?1(midi_in=None, midi_out=None, enable_running_status=False) +tmidi.Message.note?4(notenum) +tmidi.Message.pitch_bend?4(pbval) +tmidi.Message.velocity?4(vel) +tmidi.Message?1(mtype=SYSTEM_RESET, channel=None, data0=0, data1=0) +tmidi.NOTE_OFF?7 +tmidi.NOTE_ON?7 +tmidi.PITCH_BEND?7 +tmidi.PROGRAM_CHANGE?7 +tmidi.SONG_POSITION?7 +tmidi.SONG_SELECT?7 +tmidi.START?7 +tmidi.STOP?7 +tmidi.SYSEX?7 +tmidi.SYSEX_END?7 +tmidi.SYSTEM_EXCLUSIVE?7 +tmidi.SYSTEM_RESET?7 +tmidi.TICK?7 +tmidi.TUNE_REQUEST?7 +tmidi._LEN_0_MESSAGES?8 +tmidi._LEN_1_MESSAGES?8 +tmidi._LEN_2_MESSAGES?8 +tmidi._MSG_TYPE_NAMES?8 +tmidi._is_channel_message?5(status_byte) +tmidi._read_byte?5(port) toml._dotty.Dotty._BASE?8 toml._dotty.Dotty.get_or_create_dict?4(parts: list[str]) toml._dotty.Dotty.split?4() @@ -6409,10 +6789,16 @@ uboxplot.Boxplot.normalize?4(oldrangemax, newrangemin, newrangemax, value) uboxplot.Boxplot.print_data?4() uboxplot.Boxplot?1(data: Union[list, Tuple], x: int, y: int, height: int, width: int = 20, background_color: int = 0x000000, fill_color: int = 0xFFFFFF, line_color: int = 0xFFFFFF, ) +ultrasonicdistancesensor.UltrasonicDistanceSensor.distance?4() +ultrasonicdistancesensor.UltrasonicDistanceSensor.eyes?4(*args: int) +ultrasonicdistancesensor.UltrasonicDistanceSensor.on?4() +ultrasonicdistancesensor.UltrasonicDistanceSensor.on_single_value_update?4(mode: int, value: str) +ultrasonicdistancesensor.UltrasonicDistanceSensor?1(hat: HatSerialCommunication, port: int, type: int) unit_converters.celsius_to_fahrenheit?4(deg_c) unit_converters.celsius_to_kelvin?4(deg_c) unit_converters.fahrenheit_to_celsius?4(deg_f) unit_converters.kelvin_to_celsius?4(kelvins) +utils.validate_port?4(port: int) visible.index_to_rgb?4(index=0, gamma=0.5) waveshare_lcd1602.LCD1602.begin?4(columns: int, rows: int) waveshare_lcd1602.LCD1602.clear?4()