--- a/APIs/MicroPython/circuitpython-community.api Mon May 15 13:38:09 2023 +0200 +++ b/APIs/MicroPython/circuitpython-community.api Thu Jul 06 11:07:47 2023 +0200 @@ -661,6 +661,245 @@ bluepad32._SET_GAMEPAD_LIGHTBAR_COLOR?8 bluepad32._SET_GAMEPAD_PLAYER_LEDS?8 bluepad32._SET_GAMEPAD_RUMBLE?8 +bma220.bma220.ACCEL_1000HZ?7 +bma220.bma220.ACCEL_125HZ?7 +bma220.bma220.ACCEL_250HZ?7 +bma220.bma220.ACCEL_32HZ?7 +bma220.bma220.ACCEL_500HZ?7 +bma220.bma220.ACCEL_64HZ?7 +bma220.bma220.ACC_RANGE_16?7 +bma220.bma220.ACC_RANGE_2?7 +bma220.bma220.ACC_RANGE_4?7 +bma220.bma220.ACC_RANGE_8?7 +bma220.bma220.BMA220._acc_range?8 +bma220.bma220.BMA220._acceleration?8 +bma220.bma220.BMA220._device_id?8 +bma220.bma220.BMA220._filter_bandwidth?8 +bma220.bma220.BMA220._latched_mode?8 +bma220.bma220.BMA220._sleep_duration?8 +bma220.bma220.BMA220._sleep_enabled?8 +bma220.bma220.BMA220._twos_comp?5(bits: int) +bma220.bma220.BMA220._x_enabled?8 +bma220.bma220.BMA220._y_enabled?8 +bma220.bma220.BMA220._z_enabled?8 +bma220.bma220.BMA220.acc_range?4(value: int) +bma220.bma220.BMA220.acceleration?4() +bma220.bma220.BMA220.filter_bandwidth?4(value: int) +bma220.bma220.BMA220.latched_mode?4(value: int) +bma220.bma220.BMA220.sleep_duration?4(value: int) +bma220.bma220.BMA220.sleep_enabled?4(value: int) +bma220.bma220.BMA220.x_enabled?4(value: int) +bma220.bma220.BMA220.y_enabled?4(value: int) +bma220.bma220.BMA220.z_enabled?4(value: int) +bma220.bma220.BMA220?1(i2c_bus: I2C, address: int = 0x0A) +bma220.bma220.LATCHED?7 +bma220.bma220.LATCH_FOR_025S?7 +bma220.bma220.LATCH_FOR_050S?7 +bma220.bma220.LATCH_FOR_1S?7 +bma220.bma220.LATCH_FOR_2S?7 +bma220.bma220.LATCH_FOR_4S?7 +bma220.bma220.LATCH_FOR_8S?7 +bma220.bma220.SLEEP_100MS?7 +bma220.bma220.SLEEP_10MS?7 +bma220.bma220.SLEEP_1S?7 +bma220.bma220.SLEEP_25MS?7 +bma220.bma220.SLEEP_2MS?7 +bma220.bma220.SLEEP_2S?7 +bma220.bma220.SLEEP_500MS?7 +bma220.bma220.SLEEP_50MS?7 +bma220.bma220.SLEEP_DISABLED?7 +bma220.bma220.SLEEP_ENABLED?7 +bma220.bma220.UNLATCHED?7 +bma220.bma220.X_DISABLED?7 +bma220.bma220.X_ENABLED?7 +bma220.bma220.Y_DISABLED?7 +bma220.bma220.Y_ENABLED?7 +bma220.bma220.Z_DISABLED?7 +bma220.bma220.Z_ENABLED?7 +bma220.bma220._ACC_RANGE?8 +bma220.bma220._FILTER_CONF?8 +bma220.bma220._LATCH_CONF?8 +bma220.bma220._REG_WHOAMI?8 +bma220.bma220._SLEEP_CONF?8 +bma220.bma220.acc_range_factor?7 +bma220.bma220.acc_range_values?7 +bma220.bma220.axis_enabled_values?7 +bma220.bma220.filter_bandwidth_values?7 +bma220.bma220.latched_mode_values?7 +bma220.bma220.sleep_duration_values?7 +bma220.bma220.sleep_enabled_values?7 +bma220.bma220_const.ACCEL_1000HZ?7 +bma220.bma220_const.ACCEL_125HZ?7 +bma220.bma220_const.ACCEL_250HZ?7 +bma220.bma220_const.ACCEL_32HZ?7 +bma220.bma220_const.ACCEL_500HZ?7 +bma220.bma220_const.ACCEL_64HZ?7 +bma220.bma220_const.ACC_RANGE_16?7 +bma220.bma220_const.ACC_RANGE_2?7 +bma220.bma220_const.ACC_RANGE_4?7 +bma220.bma220_const.ACC_RANGE_8?7 +bma220.bma220_const.LATCHED?7 +bma220.bma220_const.LATCH_FOR_025S?7 +bma220.bma220_const.LATCH_FOR_050S?7 +bma220.bma220_const.LATCH_FOR_1S?7 +bma220.bma220_const.LATCH_FOR_2S?7 +bma220.bma220_const.LATCH_FOR_4S?7 +bma220.bma220_const.LATCH_FOR_8S?7 +bma220.bma220_const.SLEEP_100MS?7 +bma220.bma220_const.SLEEP_10MS?7 +bma220.bma220_const.SLEEP_1S?7 +bma220.bma220_const.SLEEP_25MS?7 +bma220.bma220_const.SLEEP_2MS?7 +bma220.bma220_const.SLEEP_2S?7 +bma220.bma220_const.SLEEP_500MS?7 +bma220.bma220_const.SLEEP_50MS?7 +bma220.bma220_const.SLEEP_DISABLED?7 +bma220.bma220_const.SLEEP_ENABLED?7 +bma220.bma220_const.UNLATCHED?7 +bma220.bma220_const.X_DISABLED?7 +bma220.bma220_const.X_ENABLED?7 +bma220.bma220_const.Y_DISABLED?7 +bma220.bma220_const.Y_ENABLED?7 +bma220.bma220_const.Z_DISABLED?7 +bma220.bma220_const.Z_ENABLED?7 +bma220.bma220_const.acc_range_factor?7 +bma220.bma220_const.acc_range_values?7 +bma220.bma220_const.axis_enabled_values?7 +bma220.bma220_const.filter_bandwidth_values?7 +bma220.bma220_const.latched_mode_values?7 +bma220.bma220_const.sleep_duration_values?7 +bma220.bma220_const.sleep_enabled_values?7 +bma220.bma220_lowg_detection.BMA220_LOWG_DETECTION._lowg_duration?8 +bma220.bma220_lowg_detection.BMA220_LOWG_DETECTION._lowg_enabled?8 +bma220.bma220_lowg_detection.BMA220_LOWG_DETECTION._lowg_hysteresis?8 +bma220.bma220_lowg_detection.BMA220_LOWG_DETECTION._lowg_int?8 +bma220.bma220_lowg_detection.BMA220_LOWG_DETECTION._lowg_threshold?8 +bma220.bma220_lowg_detection.BMA220_LOWG_DETECTION.lowg_duration?4(value: int) +bma220.bma220_lowg_detection.BMA220_LOWG_DETECTION.lowg_enabled?4(value: int) +bma220.bma220_lowg_detection.BMA220_LOWG_DETECTION.lowg_hysteresis?4(value: int) +bma220.bma220_lowg_detection.BMA220_LOWG_DETECTION.lowg_interrupt?4() +bma220.bma220_lowg_detection.BMA220_LOWG_DETECTION.lowg_threshold?4(value: int) +bma220.bma220_lowg_detection.BMA220_LOWG_DETECTION?1(i2c_bus) +bma220.bma220_lowg_detection.LOWG_DISABLED?7 +bma220.bma220_lowg_detection.LOWG_ENABLED?7 +bma220.bma220_lowg_detection._CONF?8 +bma220.bma220_lowg_detection._INTERRUPTS?8 +bma220.bma220_lowg_detection._LG_CONF2?8 +bma220.bma220_lowg_detection._LG_CONF3?8 +bma220.bma220_lowg_detection._LG_CONF?8 +bma220.bma220_lowg_detection.lowg_enabled_values?7 +bma220.bma220_orientation.BMA220_ORIENTATION._orientation_enabled?8 +bma220.bma220_orientation.BMA220_ORIENTATION._orientation_exchange?8 +bma220.bma220_orientation.BMA220_ORIENTATION._orientation_int?8 +bma220.bma220_orientation.BMA220_ORIENTATION.orientation_blocking?4(value: int) +bma220.bma220_orientation.BMA220_ORIENTATION.orientation_enabled?4(value: int) +bma220.bma220_orientation.BMA220_ORIENTATION.orientation_exchange?4(value: int) +bma220.bma220_orientation.BMA220_ORIENTATION.orientation_interrupt?4() +bma220.bma220_orientation.BMA220_ORIENTATION?1(i2c_bus) +bma220.bma220_orientation.MODE0?7 +bma220.bma220_orientation.MODE1?7 +bma220.bma220_orientation.MODE2?7 +bma220.bma220_orientation.MODE3?7 +bma220.bma220_orientation.ORIENTATIONX?7 +bma220.bma220_orientation.ORIENTATIONZ?7 +bma220.bma220_orientation.ORIENTATION_DISABLED?7 +bma220.bma220_orientation.ORIENTATION_ENABLED?7 +bma220.bma220_orientation._CONF?8 +bma220.bma220_orientation._INTERRUPTS?8 +bma220.bma220_orientation._ORIENT_EX?8 +bma220.bma220_orientation.orientation_blocking_values?7 +bma220.bma220_orientation.orientation_enabled_values?7 +bma220.bma220_orientation.orientation_exchange_values?7 +bma220.bma220_slope.BMA220_SLOPE._slope_duration?8 +bma220.bma220_slope.BMA220_SLOPE._slope_filter_enable?8 +bma220.bma220_slope.BMA220_SLOPE._slope_int?8 +bma220.bma220_slope.BMA220_SLOPE._slope_sign?8 +bma220.bma220_slope.BMA220_SLOPE._slope_threshold?8 +bma220.bma220_slope.BMA220_SLOPE._slope_x_enabled?8 +bma220.bma220_slope.BMA220_SLOPE._slope_x_first?8 +bma220.bma220_slope.BMA220_SLOPE._slope_y_enabled?8 +bma220.bma220_slope.BMA220_SLOPE._slope_y_first?8 +bma220.bma220_slope.BMA220_SLOPE._slope_z_enabled?8 +bma220.bma220_slope.BMA220_SLOPE._slope_z_first?8 +bma220.bma220_slope.BMA220_SLOPE.slope_duration?4(value: int) +bma220.bma220_slope.BMA220_SLOPE.slope_filter?4(value: int) +bma220.bma220_slope.BMA220_SLOPE.slope_interrupt?4() +bma220.bma220_slope.BMA220_SLOPE.slope_interrupt_info?4() +bma220.bma220_slope.BMA220_SLOPE.slope_sign?4(value: int) +bma220.bma220_slope.BMA220_SLOPE.slope_threshold?4(value: int) +bma220.bma220_slope.BMA220_SLOPE.slope_x_enabled?4(value: int) +bma220.bma220_slope.BMA220_SLOPE.slope_y_enabled?4(value: int) +bma220.bma220_slope.BMA220_SLOPE.slope_z_enabled?4(value: int) +bma220.bma220_slope.BMA220_SLOPE?1(i2c_bus) +bma220.bma220_slope.FILTER_DISABLED?7 +bma220.bma220_slope.FILTER_ENABLED?7 +bma220.bma220_slope.SLOPE_SIGN_NEGATIVE?7 +bma220.bma220_slope.SLOPE_SIGN_POSITIVE?7 +bma220.bma220_slope.SLOPE_X_DISABLED?7 +bma220.bma220_slope.SLOPE_X_ENABLED?7 +bma220.bma220_slope.SLOPE_Y_DISABLED?7 +bma220.bma220_slope.SLOPE_Y_ENABLED?7 +bma220.bma220_slope.SLOPE_Z_DISABLED?7 +bma220.bma220_slope.SLOPE_Z_ENABLED?7 +bma220.bma220_slope._CONF?8 +bma220.bma220_slope._INTERRUPTS?8 +bma220.bma220_slope._SLOPE_INFO2?8 +bma220.bma220_slope._SLOPE_INFO?8 +bma220.bma220_slope.filter_values?7 +bma220.bma220_slope.slope_axis_enabled_values?7 +bma220.bma220_slope.slope_sign_values?7 +bma220.bma220_tap_sensing.BMA220_TAP._double_tap_enabled?8 +bma220.bma220_tap_sensing.BMA220_TAP._tt_duration?8 +bma220.bma220_tap_sensing.BMA220_TAP._tt_filter_enable?8 +bma220.bma220_tap_sensing.BMA220_TAP._tt_int?8 +bma220.bma220_tap_sensing.BMA220_TAP._tt_sign?8 +bma220.bma220_tap_sensing.BMA220_TAP._tt_threshold?8 +bma220.bma220_tap_sensing.BMA220_TAP._tt_x_enabled?8 +bma220.bma220_tap_sensing.BMA220_TAP._tt_x_first?8 +bma220.bma220_tap_sensing.BMA220_TAP._tt_y_enabled?8 +bma220.bma220_tap_sensing.BMA220_TAP._tt_y_first?8 +bma220.bma220_tap_sensing.BMA220_TAP._tt_z_enabled?8 +bma220.bma220_tap_sensing.BMA220_TAP._tt_z_first?8 +bma220.bma220_tap_sensing.BMA220_TAP.double_tap_enabled?4(value: int) +bma220.bma220_tap_sensing.BMA220_TAP.tt_duration?4(value: int) +bma220.bma220_tap_sensing.BMA220_TAP.tt_filter?4(value: int) +bma220.bma220_tap_sensing.BMA220_TAP.tt_interrupt?4() +bma220.bma220_tap_sensing.BMA220_TAP.tt_interrupt_info?4() +bma220.bma220_tap_sensing.BMA220_TAP.tt_sign?4(value: int) +bma220.bma220_tap_sensing.BMA220_TAP.tt_threshold?4(value: int) +bma220.bma220_tap_sensing.BMA220_TAP.tt_x_enabled?4(value: int) +bma220.bma220_tap_sensing.BMA220_TAP.tt_y_enabled?4(value: int) +bma220.bma220_tap_sensing.BMA220_TAP.tt_z_enabled?4(value: int) +bma220.bma220_tap_sensing.BMA220_TAP?1(i2c_bus) +bma220.bma220_tap_sensing.FILTER_DISABLED?7 +bma220.bma220_tap_sensing.FILTER_ENABLED?7 +bma220.bma220_tap_sensing.ST_ENABLED?7 +bma220.bma220_tap_sensing.TIME_105MS?7 +bma220.bma220_tap_sensing.TIME_150MS?7 +bma220.bma220_tap_sensing.TIME_219MS?7 +bma220.bma220_tap_sensing.TIME_250MS?7 +bma220.bma220_tap_sensing.TIME_375MS?7 +bma220.bma220_tap_sensing.TIME_500MS?7 +bma220.bma220_tap_sensing.TIME_50MS?7 +bma220.bma220_tap_sensing.TIME_700MS?7 +bma220.bma220_tap_sensing.TT_ENABLED?7 +bma220.bma220_tap_sensing.TT_SIGN_NEGATIVE?7 +bma220.bma220_tap_sensing.TT_SIGN_POSITIVE?7 +bma220.bma220_tap_sensing.TT_X_DISABLED?7 +bma220.bma220_tap_sensing.TT_X_ENABLED?7 +bma220.bma220_tap_sensing.TT_Y_DISABLED?7 +bma220.bma220_tap_sensing.TT_Y_ENABLED?7 +bma220.bma220_tap_sensing.TT_Z_DISABLED?7 +bma220.bma220_tap_sensing.TT_Z_ENABLED?7 +bma220.bma220_tap_sensing._CONF?8 +bma220.bma220_tap_sensing._INTERRUPTS?8 +bma220.bma220_tap_sensing._TT_INFO2?8 +bma220.bma220_tap_sensing._TT_INFO?8 +bma220.bma220_tap_sensing.double_tap_values?7 +bma220.bma220_tap_sensing.filter_values?7 +bma220.bma220_tap_sensing.tt_axis_enabled_values?7 +bma220.bma220_tap_sensing.tt_duration_values?7 +bma220.bma220_tap_sensing.tt_sign_values?7 bma400.ACCEL_100HZ?7 bma400.ACCEL_12_5HZ?7 bma400.ACCEL_200HZ?7 @@ -874,10 +1113,12 @@ bmp581.BMP581._output_data_rate?8 bmp581.BMP581._power_mode?8 bmp581.BMP581._pressure?8 +bmp581.BMP581._pressure_enabled?8 bmp581.BMP581._pressure_oversample_rate?8 bmp581.BMP581._temperature?8 bmp581.BMP581._temperature_oversample_rate?8 bmp581.BMP581._twos_comp?5(bits: int) +bmp581.BMP581.altitude?4(value: float) bmp581.BMP581.output_data_rate?4(value: int) bmp581.BMP581.power_mode?4(value: int) bmp581.BMP581.pressure?4() @@ -2028,8 +2269,9 @@ circuitpython_uplot.icons.Humidity?7 circuitpython_uplot.icons.Temperature2?7 circuitpython_uplot.icons.Temperature?7 +circuitpython_uplot.ubar.color_fader?4(source_color=None, brightness=1.0, gamma=1.0) circuitpython_uplot.ubar.ubar._draw_rectangle?5(plot: Uplot, x: int, y: int, width: int, height: int, color: int) -circuitpython_uplot.ubar.ubar?1(plot: Uplot, x: list, y: list, color: int = 0xFFFFFF, fill: bool = False) +circuitpython_uplot.ubar.ubar?1(plot: Uplot, x: list, y: list, color: int = 0xFFFFFF, fill: bool = False, bar_space=16, xstart=50, projection=False, ) circuitpython_uplot.ucartesian.ucartesian?1(plot: Uplot, x: Union[list, np.linspace, np.ndarray], y: Union[list, np.linspace, np.ndarray], rangex: Optional[list] = None, rangey: Optional[list] = None, line_color: Optional[int] = None, fill: bool = False, nudge: bool = True, logging: bool = False, ) circuitpython_uplot.ufillbetween.ufillbetween?1(plot: Uplot, x: Union[list, np.linspace, np.ndarray], y1: Union[list, np.linspace, np.ndarray], y2: Union[list, np.linspace, np.ndarray], rangex: Optional[list] = None, rangey: Optional[list] = None, fill_color: int = 0xF6FF41, nudge: bool = True, ) circuitpython_uplot.ulogging.ulogging._draw_ticks?5(plot) @@ -2175,6 +2417,49 @@ 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, ) +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) +display_ht16k33.ht16k33.HT16K33.set?4(y: int, new_value: int) +display_ht16k33.ht16k33.HT16K33.shift?4(x: int, y: int, rotate: bool = True) +display_ht16k33.ht16k33.HT16K33.shift_down?4(rotate: bool = False) +display_ht16k33.ht16k33.HT16K33.shift_left?4(rotate: bool = False) +display_ht16k33.ht16k33.HT16K33.shift_right?4(rotate: bool = False) +display_ht16k33.ht16k33.HT16K33.shift_up?4(rotate: bool = False) +display_ht16k33.ht16k33.HT16K33.update?4(y: int) +display_ht16k33.ht16k33.HT16K33.update_all?4() +display_ht16k33.ht16k33.HT16K33.value?4() +display_ht16k33.ht16k33.HT16K33?1(x, y, radius=10, text=False, num_led_x: int = 16, num_led_y: int = 8, register_width: int = 2, ) +display_ht16k33.matrix.Matrix16x8?1(x, y, radius, text) +display_ht16k33.matrix.Matrix8x8?1(x, y, radius, text) +display_ht16k33.segments.CHARS?7 +display_ht16k33.segments.NUMBERS?7 +display_ht16k33.segments.SEG14x4._draw_digits?5(x, pos) +display_ht16k33.segments.SEG14x4._draw_two_points?5() +display_ht16k33.segments.SEG14x4._two_points?5(show=True) +display_ht16k33.segments.SEG14x4.clear?4() +display_ht16k33.segments.SEG14x4.cycle?4(delay) +display_ht16k33.segments.SEG14x4.marquee?4(text: str, delay: float = 0.25, loop: bool = True) +display_ht16k33.segments.SEG14x4.non_blocking_marquee?4(text: str, delay: float = 0.25, loop: bool = True) +display_ht16k33.segments.SEG14x4.non_blocking_marquee_update?4() +display_ht16k33.segments.SEG14x4.print?4(value) +display_ht16k33.segments.SEG14x4.print_digit?4(pos, char) +display_ht16k33.segments.SEG14x4.scroll?4(count: int = 1) +display_ht16k33.segments.SEG14x4?1(x: int, y: int, height: int = 40, length: int = 40, space: int = 70, stroke: int = 4, color_off: int = 0x123456, color_on: int = 0xFF5500, char_dict: Optional[Dict[str, int]] = None, ) +display_ht16k33.segments.SEG7x4._draw_digits?5(x: int, pos: int) +display_ht16k33.segments.SEG7x4._draw_two_points?5() +display_ht16k33.segments.SEG7x4._number?5(number: Union[float, str]) +display_ht16k33.segments.SEG7x4._two_points?5(show: bool = True) +display_ht16k33.segments.SEG7x4.clear?4() +display_ht16k33.segments.SEG7x4.colon?4(value: bool) +display_ht16k33.segments.SEG7x4.cycle?4(delay) +display_ht16k33.segments.SEG7x4.fill?4(value: int) +display_ht16k33.segments.SEG7x4.marquee?4(text: str, delay: float = 0.25, loop: bool = True) +display_ht16k33.segments.SEG7x4.points?4(show: bool) +display_ht16k33.segments.SEG7x4.print?4(value: Union[int, str]) +display_ht16k33.segments.SEG7x4.print_digit?4(pos: int, char: str) +display_ht16k33.segments.SEG7x4.set_digit_raw?4(pos, value) +display_ht16k33.segments.SEG7x4?1(x: int, y: int, height: int = 40, length: int = 40, space: int = 70, stroke: int = 4, color_off: Union[int, Tuple] = 0x123456, color_on: Union[int, Tuple] = 0xFF5500, char_dict: Optional[Dict[str, int]] = None, ) displayio_listselect.ListSelect._refresh_label?5() displayio_listselect.ListSelect.anchor_point?4(new_anchor_point) displayio_listselect.ListSelect.anchored_position?4(new_anchored_position) @@ -2195,15 +2480,18 @@ distox.DistoXService.STOP_SILENT?7 distox.DistoXService.WRITE_MEM?7 distox.DistoXService._get_sequence_bit?5() -distox.DistoXService._input_task?5(cb: Optional[Callable[[int], Awaitable]] = None) +distox.DistoXService._input_task?5(callback: Optional[Callable[[int], Awaitable]] = None) distox.DistoXService._poll_out?5() distox.DistoXService._process_ack?5(sequence) distox.DistoXService._process_message_in?5(packet: bytes) -distox.DistoXService.background_task?4(cb: Optional[Callable[[int], Awaitable]] = None) +distox.DistoXService.background_task?4(callback: Optional[Callable[[int], Awaitable]] = None) distox.DistoXService.poll?4() distox.DistoXService.poll_in?4() distox.DistoXService.send_data?4(azimuth, inclination, distance, roll=0) distox.DistoXService?1() +distox.SurveyProtocolService.protocol_characteristic?7 +distox.SurveyProtocolService.uuid?7 +distox.SurveyProtocolService?1() dotstar_featherwing.DotstarFeatherwing.blank_stripe?7 dotstar_featherwing.DotstarFeatherwing.character_to_numbers?4(font, char) dotstar_featherwing.DotstarFeatherwing.clear?4() @@ -2488,10 +2776,11 @@ gauge.gauge._draw_pointer?5() gauge.gauge._draw_ticks?5() gauge.gauge._drawbox?5() +gauge.gauge.set_threshold?4(value: int, color: int = 0xFF0000) gauge.gauge.show_text?4(text: str, x: int, y: int, anchorpoint: Tuple = (0.5, 0.0)) gauge.gauge.transform?4(int], oldrangemax: Union[float, int], newrangemin: Union[float, int], newrangemax: Union[float, int], value: Union[float, int], ) gauge.gauge.update?4(new_value) -gauge.gauge?1(x: int = 0, y: int = 0, width: int = 100, height: int = 100, padding: int = 1, scale_range: Optional[list] = [0, 150], background_color: int = 0x000000, box_color: int = 0xFF8500, tick_lenght: int = 28, tick_color: int = 0xFFFFFF, tick_pos: Optional[str] = None, pointer_lenght: int = 10, scale: int = 1, ) +gauge.gauge?1(x: int = 0, y: int = 0, width: int = 100, length: int = 100, padding: int = 0, scale_range: Optional[list] = [0, 150], background_color: int = 0x000000, box_color: int = 0xFF8500, ticks: Optional[Union[np.array, list]] = None, tick_lenght: int = 28, tick_color: int = 0xFFFFFF, tick_color_threshold: int = 0xFF0000, tick_pos: Optional[str] = None, pointer_lenght: int = 10, scale: int = 1, show_text: bool = False, text_format: Optional[str] = None, direction: str = "Vertical", ) gc9a01.GC9A01?1(bus, **kwargs) gc9a01._INIT_SEQUENCE?8 gpio_expander.PCA9534._NUM_GPIO?8 @@ -2509,6 +2798,85 @@ gpio_expander._get_registry_params?5(value, x) grayscale.index_to_rgb?4(index=0, gamma=0.8) grayscale.map_range?4(x, in_min, in_max, out_min, out_max) +h3lis200dl.AlertStatus?7 +h3lis200dl.FILTER_NORMAL_MODE?7 +h3lis200dl.FILTER_SIGNAL_FILTERING?7 +h3lis200dl.H3LIS200DL._acc_data_x?8 +h3lis200dl.H3LIS200DL._acc_data_y?8 +h3lis200dl.H3LIS200DL._acc_data_z?8 +h3lis200dl.H3LIS200DL._data_rate?8 +h3lis200dl.H3LIS200DL._device_id?8 +h3lis200dl.H3LIS200DL._full_scale_selection?8 +h3lis200dl.H3LIS200DL._high_pass_filter_cutoff?8 +h3lis200dl.H3LIS200DL._high_pass_filter_mode?8 +h3lis200dl.H3LIS200DL._int1_configuration?8 +h3lis200dl.H3LIS200DL._int1_duration?8 +h3lis200dl.H3LIS200DL._int1_latched?8 +h3lis200dl.H3LIS200DL._int1_source_register?8 +h3lis200dl.H3LIS200DL._int1_threshold?8 +h3lis200dl.H3LIS200DL._operation_mode?8 +h3lis200dl.H3LIS200DL._twos_comp?5(bits: int) +h3lis200dl.H3LIS200DL._x_enabled?8 +h3lis200dl.H3LIS200DL._y_enabled?8 +h3lis200dl.H3LIS200DL._z_enabled?8 +h3lis200dl.H3LIS200DL.acceleration?4() +h3lis200dl.H3LIS200DL.data_rate?4(value: int) +h3lis200dl.H3LIS200DL.full_scale_selection?4(value: int) +h3lis200dl.H3LIS200DL.high_pass_filter_cutoff?4(value: int) +h3lis200dl.H3LIS200DL.high_pass_filter_mode?4(value: int) +h3lis200dl.H3LIS200DL.interrupt1_configuration?4(value: int) +h3lis200dl.H3LIS200DL.interrupt1_duration?4(value: int) +h3lis200dl.H3LIS200DL.interrupt1_latched?4(value) +h3lis200dl.H3LIS200DL.interrupt1_source_register?4() +h3lis200dl.H3LIS200DL.interrupt1_threshold?4(value: int) +h3lis200dl.H3LIS200DL.operation_mode?4(value: int) +h3lis200dl.H3LIS200DL.x_enabled?4(value: int) +h3lis200dl.H3LIS200DL.y_enabled?4(value: int) +h3lis200dl.H3LIS200DL.z_enabled?4(value: int) +h3lis200dl.H3LIS200DL?1(i2c_bus: I2C, address: int = 0x19) +h3lis200dl.HPCF16?7 +h3lis200dl.HPCF32?7 +h3lis200dl.HPCF64?7 +h3lis200dl.HPCF8?7 +h3lis200dl.LOW_POWER_ODR0_5?7 +h3lis200dl.LOW_POWER_ODR10?7 +h3lis200dl.LOW_POWER_ODR1?7 +h3lis200dl.LOW_POWER_ODR2?7 +h3lis200dl.LOW_POWER_ODR5?7 +h3lis200dl.NORMAL_MODE?7 +h3lis200dl.POWER_DOWN?7 +h3lis200dl.RATE_1000HZ?7 +h3lis200dl.RATE_100HZ?7 +h3lis200dl.RATE_400HZ?7 +h3lis200dl.RATE_50HZ?7 +h3lis200dl.SCALE_100G?7 +h3lis200dl.SCALE_200G?7 +h3lis200dl.X_DISABLED?7 +h3lis200dl.X_ENABLED?7 +h3lis200dl.Y_DISABLED?7 +h3lis200dl.Y_ENABLED?7 +h3lis200dl.Z_DISABLED?7 +h3lis200dl.Z_ENABLED?7 +h3lis200dl._ACC_X?8 +h3lis200dl._ACC_Y?8 +h3lis200dl._ACC_Z?8 +h3lis200dl._CTRL_REG1?8 +h3lis200dl._CTRL_REG2?8 +h3lis200dl._CTRL_REG3?8 +h3lis200dl._CTRL_REG4?8 +h3lis200dl._G_TO_ACCEL?8 +h3lis200dl._INT1_CFG?8 +h3lis200dl._INT1_DURATION?8 +h3lis200dl._INT1_SRC?8 +h3lis200dl._INT1_THS?8 +h3lis200dl._REG_WHOAMI?8 +h3lis200dl.axis_enabled_values?7 +h3lis200dl.data_rate_values?7 +h3lis200dl.full_scale?7 +h3lis200dl.full_scale_selection_values?7 +h3lis200dl.high_pass_filter_cutoff_values?7 +h3lis200dl.high_pass_filter_mode_values?7 +h3lis200dl.operation_mode_values?7 hcsr04.HCSR04._dist_two_wire?5() hcsr04.HCSR04.deinit?4() hcsr04.HCSR04.dist_cm?4() @@ -3152,7 +3520,8 @@ laser_egismos.AsyncLaser.set_laser?4(value: bool) laser_egismos.AsyncLaser.set_slave_address?4(address) laser_egismos.AsyncLaser.stop_measuring?4() -laser_egismos.AsyncLaser?1(uart: busio.UART, address=0x01) +laser_egismos.AsyncLaser?1(uart: busio.UART, address=0x01, timeout=DEFAULT_TIMEOUT) +laser_egismos.DEFAULT_TIMEOUT?7 laser_egismos.Laser._read_frame?5() laser_egismos.Laser._send_and_receive?5(command: int, data: int = None, address: int = None) laser_egismos.Laser._send_command_and_raise_on_failure?5(command, data=None) @@ -3179,7 +3548,7 @@ laser_egismos._LaserBase._check_measurement_for_errors?5() 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) +laser_egismos._LaserBase?2(uart: busio.UART, address=0x01, timeout=DEFAULT_TIMEOUT) lps28.FULL_SCALE?7 lps28.LPS28._data_rate?8 lps28.LPS28._device_id?8 @@ -3250,8 +3619,13 @@ mag_cal.calibration.Calibration.BOTH?7 mag_cal.calibration.Calibration.ELLIPSOID?7 mag_cal.calibration.Calibration.FAST_NON_LINEAR?7 +mag_cal.calibration.Calibration.HARD?7 mag_cal.calibration.Calibration.MAGNETOMETER?7 mag_cal.calibration.Calibration.NON_LINEAR?7 +mag_cal.calibration.Calibration.OFF?7 +mag_cal.calibration.Calibration.SOFT?7 +mag_cal.calibration.Calibration._HARD_SETTINGS?8 +mag_cal.calibration.Calibration._SOFT_SETTINGS?8 mag_cal.calibration.Calibration._get_lstsq_non_linear_params?5(expected_mags, raw_mags) mag_cal.calibration.Calibration._get_raw_and_expected_mag_data?5(grav, mag) mag_cal.calibration.Calibration._is_a_run?5(inclinations: np.ndarray, precision: float) @@ -3266,10 +3640,15 @@ mag_cal.calibration.Calibration.fit_to_axis?4(data, axis="Y") mag_cal.calibration.Calibration.from_dict?4(dct: Dict) mag_cal.calibration.Calibration.get_angles?4(mag, grav) +mag_cal.calibration.Calibration.get_dips?4(mag, grav) +mag_cal.calibration.Calibration.get_field_strengths?4(mag, grav) mag_cal.calibration.Calibration.get_orientation_matrix?4(mag, grav) mag_cal.calibration.Calibration.get_orientation_vector?4(mag, grav) mag_cal.calibration.Calibration.matrix_to_angles?4() mag_cal.calibration.Calibration.min_func?4() +mag_cal.calibration.Calibration.raise_if_anomaly?4(mag, grav, strictness: int = SOFT) +mag_cal.calibration.Calibration.set_expected_mean_dip_and_std?4(mag, grav) +mag_cal.calibration.Calibration.set_field_characteristics?4(mag, grav) mag_cal.calibration.Calibration.uniformity?4(mag_data, grav_data) mag_cal.calibration.Calibration?1(mag_axes: str = "+X+Y+Z", grav_axes: str = None) mag_cal.calibration._vector_from_matrices?5(matrix: np.ndarray, i: int, j: int) @@ -3286,6 +3665,7 @@ mag_cal.rbf.RBF.as_list?4() mag_cal.rbf.RBF.get_gaussians?4(x) mag_cal.rbf.RBF?1(params) +mag_cal.sensor.DEFAULT_TOLERANCE?7 mag_cal.sensor.Sensor._align_to_vector?5(vector, axis) mag_cal.sensor.Sensor._apply_non_linear?5(vectors: np.ndarray) mag_cal.sensor.Sensor._find_plane?5(data) @@ -3294,10 +3674,14 @@ mag_cal.sensor.Sensor.as_dict?4() mag_cal.sensor.Sensor.fit_ellipsoid?4(data: np.ndarray) mag_cal.sensor.Sensor.from_dict?4(dct: dict) +mag_cal.sensor.Sensor.get_field_strength?4(data) +mag_cal.sensor.Sensor.raise_if_anomaly?4(data, tolerance=DEFAULT_TOLERANCE) +mag_cal.sensor.Sensor.set_expected_field_strengths?4(data) mag_cal.sensor.Sensor.set_linear?4() mag_cal.sensor.Sensor.set_non_linear_params?4(params: np.ndarray) mag_cal.sensor.Sensor.uniformity?4(data: np.ndarray) mag_cal.sensor.Sensor?1(axes="+X+Y+Z") +mag_cal.utils._cross?5(a: np.ndarray, b: np.ndarray) mag_cal.utils.cross?4(a: np.ndarray, b: np.ndarray) mag_cal.utils.normalise?4(vector: np.ndarray) mag_cal.utils.read_fixture?4(fixture: str) @@ -3851,6 +4235,64 @@ pm25_aqi.YELLOW?7 pm25_aqi.map_range?4(x, in_min, in_max, out_min, out_max) pm25_aqi.pm25_ppm_to_quality?4(pm25_ppm) +ps2controller.PS2Button.CIRCLE?7 +ps2controller.PS2Button.CROSS?7 +ps2controller.PS2Button.DOWN?7 +ps2controller.PS2Button.L1?7 +ps2controller.PS2Button.L2?7 +ps2controller.PS2Button.L3?7 +ps2controller.PS2Button.LEFT?7 +ps2controller.PS2Button.R1?7 +ps2controller.PS2Button.R2?7 +ps2controller.PS2Button.R3?7 +ps2controller.PS2Button.RIGHT?7 +ps2controller.PS2Button.SELECT?7 +ps2controller.PS2Button.SQUARE?7 +ps2controller.PS2Button.START?7 +ps2controller.PS2Button.TRIANGLE?7 +ps2controller.PS2Button.UP?7 +ps2controller.PS2Button.button_to_analog_id?7 +ps2controller.PS2Button.names?7 +ps2controller.PS2ButtonEvent?7 +ps2controller.PS2Controller._attention?5() +ps2controller.PS2Controller._autoshift?5(cmd_out) +ps2controller.PS2Controller._change_config_mode?5(outbuf) +ps2controller.PS2Controller._enable_config_analog_buttons?5(enable=True) +ps2controller.PS2Controller._enable_config_analog_sticks?5(enable=True, locked=True) +ps2controller.PS2Controller._enable_config_rumble?5(enable=True) +ps2controller.PS2Controller._enter_config_mode?5() +ps2controller.PS2Controller._exit_config_mode?5() +ps2controller.PS2Controller._no_attention?5() +ps2controller.PS2Controller._shift_inout_buf?5(bytes_out) +ps2controller.PS2Controller._shift_inout_byte?5(byte_out) +ps2controller.PS2Controller._try_enable_mode?5(outbuf) +ps2controller.PS2Controller.analog_button?4(button_id) +ps2controller.PS2Controller.analog_left?4() +ps2controller.PS2Controller.analog_right?4() +ps2controller.PS2Controller.button?4(button_id) +ps2controller.PS2Controller.buttons?4() +ps2controller.PS2Controller.connected?4() +ps2controller.PS2Controller.read?4() +ps2controller.PS2Controller.update?4() +ps2controller.PS2Controller?1(clk, cmd, att, dat, enable_sticks=True, enable_rumble=False, enable_pressure=False, ) +ps2controller._ATTN_DELAY_MICROS?8 +ps2controller._BYTE_DELAY_MICROS?8 +ps2controller._COMMAND_TIMEOUT_SECS?8 +ps2controller._HOLD_TIME_MICROS?8 +ps2controller._MODE_SWITCH_DELAY_SECS?8 +ps2controller._delay_micros?5(usec) +ps2controller._enable_rumble?8 +ps2controller._enter_config?8 +ps2controller._exit_config?8 +ps2controller._get_reply_length?5(status) +ps2controller._hexify?5(buf) +ps2controller._is_config_reply?5(status) +ps2controller._is_valid_reply?5(status) +ps2controller._poll?8 +ps2controller._poll_rumble?8 +ps2controller._set_mode?8 +ps2controller._set_pressures?8 +ps2controller._type_read?8 qmc5883l.FIELDRANGE_2G?7 qmc5883l.FIELDRANGE_8G?7 qmc5883l.MODE_CONTINUOUS?7 @@ -3916,6 +4358,16 @@ rm3100._STATUS?8 rm3100._TMRC?8 rm3100._UT_PER_CYCLE?8 +scales.Axes._draw_line?5() +scales.Axes._draw_text?5() +scales.Axes._draw_ticks?5(tick_length: int = 10, tick_stroke: int = 4) +scales.Axes?1(x: int = 0, y: int = 0, limits: Tuple[int, int] = (0, 100), ticks: Optional[Union[np.array, list]] = None, direction: str = "horizontal", stroke: int = 3, length: int = 100, color: int = 0x990099, ) +scales.Scale._draw_background?5() +scales.Scale._draw_pointer?5(color: int = 0xFF0000, ) +scales.Scale.animate_pointer?4(new_value) +scales.Scale?1(x: int = 0, y: int = 0, direction: str = "horizontal", stroke: int = 3, length: int = 100, color: int = 0x990099, width: int = 50, limits: Tuple[int, int] = (0, 100), back_color: int = 0x9FFFFF, ticks: Optional[Union[np.array, list]] = None, tick_length: int = 5, tick_stroke: int = 4, pointer_length: int = 20, pointer_stroke: int = 6, ) +scales.rectangle_draw?4(x0: int, y0: int, height: int, width: int, palette) +scales.transform?4(oldrangemin: Union[float, int], oldrangemax: Union[float, int], newrangemin: Union[float, int], newrangemax: Union[float, int], value: Union[float, int], ) seeed_xiao_nrf52840.Battery.charge_current?4(value: int) seeed_xiao_nrf52840.Battery.charge_status?4() seeed_xiao_nrf52840.Battery.deinit?4()