diff --git a/doc/main/blockimg/pybricks_blockBatteryMeasure_CityHub_battery.current.svg b/doc/main/blockimg/pybricks_blockBatteryMeasure_CityHub_battery.current.svg new file mode 100644 index 0000000..bc3b54e --- /dev/null +++ b/doc/main/blockimg/pybricks_blockBatteryMeasure_CityHub_battery.current.svg @@ -0,0 +1,974 @@ +city hubbatterycurrent \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_variables_set_move_hub_option3.svg b/doc/main/blockimg/pybricks_blockBatteryMeasure_CityHub_battery.voltage.svg similarity index 67% rename from doc/main/blockimg/pybricks_variables_set_move_hub_option3.svg rename to doc/main/blockimg/pybricks_blockBatteryMeasure_CityHub_battery.voltage.svg index b3c3f67..1ac8657 100644 --- a/doc/main/blockimg/pybricks_variables_set_move_hub_option3.svg +++ b/doc/main/blockimg/pybricks_blockBatteryMeasure_CityHub_battery.voltage.svg @@ -1,4 +1,4 @@ -city hubbatteryvoltage \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_blockBatteryMeasure_EssentialHub_battery.current.svg b/doc/main/blockimg/pybricks_blockBatteryMeasure_EssentialHub_battery.current.svg new file mode 100644 index 0000000..80a1a51 --- /dev/null +++ b/doc/main/blockimg/pybricks_blockBatteryMeasure_EssentialHub_battery.current.svg @@ -0,0 +1,974 @@ +essential hubbatterycurrent \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_blockBatteryMeasure_EssentialHub_battery.voltage.svg b/doc/main/blockimg/pybricks_blockBatteryMeasure_EssentialHub_battery.voltage.svg new file mode 100644 index 0000000..c7ea23f --- /dev/null +++ b/doc/main/blockimg/pybricks_blockBatteryMeasure_EssentialHub_battery.voltage.svg @@ -0,0 +1,974 @@ +essential hubbatteryvoltage \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_blockBatteryMeasure_InventorHub_battery.current.svg b/doc/main/blockimg/pybricks_blockBatteryMeasure_InventorHub_battery.current.svg new file mode 100644 index 0000000..013510a --- /dev/null +++ b/doc/main/blockimg/pybricks_blockBatteryMeasure_InventorHub_battery.current.svg @@ -0,0 +1,974 @@ +inventor hubbatterycurrent \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_blockBatteryMeasure_InventorHub_battery.voltage.svg b/doc/main/blockimg/pybricks_blockBatteryMeasure_InventorHub_battery.voltage.svg new file mode 100644 index 0000000..820bd91 --- /dev/null +++ b/doc/main/blockimg/pybricks_blockBatteryMeasure_InventorHub_battery.voltage.svg @@ -0,0 +1,974 @@ +inventor hubbatteryvoltage \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_blockBatteryMeasure_MoveHub_battery.current.svg b/doc/main/blockimg/pybricks_blockBatteryMeasure_MoveHub_battery.current.svg new file mode 100644 index 0000000..925413c --- /dev/null +++ b/doc/main/blockimg/pybricks_blockBatteryMeasure_MoveHub_battery.current.svg @@ -0,0 +1,974 @@ +move hubbatterycurrent \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_blockBatteryMeasure_MoveHub_battery.voltage.svg b/doc/main/blockimg/pybricks_blockBatteryMeasure_MoveHub_battery.voltage.svg new file mode 100644 index 0000000..afbb70a --- /dev/null +++ b/doc/main/blockimg/pybricks_blockBatteryMeasure_MoveHub_battery.voltage.svg @@ -0,0 +1,974 @@ +move hubbatteryvoltage \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_variables_set_essential_hub_option3.svg b/doc/main/blockimg/pybricks_blockBatteryMeasure_PrimeHub_battery.current.svg similarity index 69% rename from doc/main/blockimg/pybricks_variables_set_essential_hub_option3.svg rename to doc/main/blockimg/pybricks_blockBatteryMeasure_PrimeHub_battery.current.svg index bbde881..582c5fe 100644 --- a/doc/main/blockimg/pybricks_variables_set_essential_hub_option3.svg +++ b/doc/main/blockimg/pybricks_blockBatteryMeasure_PrimeHub_battery.current.svg @@ -1,4 +1,4 @@ -prime hubbatterycurrent \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_blockBatteryMeasure_PrimeHub_battery.voltage.svg b/doc/main/blockimg/pybricks_blockBatteryMeasure_PrimeHub_battery.voltage.svg new file mode 100644 index 0000000..75aaa80 --- /dev/null +++ b/doc/main/blockimg/pybricks_blockBatteryMeasure_PrimeHub_battery.voltage.svg @@ -0,0 +1,974 @@ +prime hubbatteryvoltage \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_blockBatteryMeasure_TechnicHub_battery.current.svg b/doc/main/blockimg/pybricks_blockBatteryMeasure_TechnicHub_battery.current.svg new file mode 100644 index 0000000..ab070c5 --- /dev/null +++ b/doc/main/blockimg/pybricks_blockBatteryMeasure_TechnicHub_battery.current.svg @@ -0,0 +1,974 @@ +technic hubbatterycurrent \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_blockBatteryMeasure_TechnicHub_battery.voltage.svg b/doc/main/blockimg/pybricks_blockBatteryMeasure_TechnicHub_battery.voltage.svg new file mode 100644 index 0000000..04ecda2 --- /dev/null +++ b/doc/main/blockimg/pybricks_blockBatteryMeasure_TechnicHub_battery.voltage.svg @@ -0,0 +1,974 @@ +technic hubbatteryvoltage \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_variables_set_city_hub_option0.svg b/doc/main/blockimg/pybricks_variables_set_city_hub_option0.svg index d4ebb00..46f9008 100644 --- a/doc/main/blockimg/pybricks_variables_set_city_hub_option0.svg +++ b/doc/main/blockimg/pybricks_variables_set_city_hub_option0.svg @@ -1,4 +1,4 @@ -city hub \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_variables_set_city_hub_option3.svg b/doc/main/blockimg/pybricks_variables_set_city_hub_option3.svg index 63c3406..491300b 100644 --- a/doc/main/blockimg/pybricks_variables_set_city_hub_option3.svg +++ b/doc/main/blockimg/pybricks_variables_set_city_hub_option3.svg @@ -1,4 +1,4 @@ -city hubchannel0channels12 \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_variables_set_technic_hub_option3.svg b/doc/main/blockimg/pybricks_variables_set_essential_hub_option4.svg similarity index 66% rename from doc/main/blockimg/pybricks_variables_set_technic_hub_option3.svg rename to doc/main/blockimg/pybricks_variables_set_essential_hub_option4.svg index 0eb2334..39b580b 100644 --- a/doc/main/blockimg/pybricks_variables_set_technic_hub_option3.svg +++ b/doc/main/blockimg/pybricks_variables_set_essential_hub_option4.svg @@ -1,4 +1,4 @@ -essential hubtop side axiszfront side axisxchannel0channels12 \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_variables_set_prime_hub_option3.svg b/doc/main/blockimg/pybricks_variables_set_inventor_hub_option4.svg similarity index 72% rename from doc/main/blockimg/pybricks_variables_set_prime_hub_option3.svg rename to doc/main/blockimg/pybricks_variables_set_inventor_hub_option4.svg index 012b0d5..af999ef 100644 --- a/doc/main/blockimg/pybricks_variables_set_prime_hub_option3.svg +++ b/doc/main/blockimg/pybricks_variables_set_inventor_hub_option4.svg @@ -1,4 +1,4 @@ -inventor hubtop side axiszfront side axisxchannel0channels12 \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_variables_set_move_hub_option4.svg b/doc/main/blockimg/pybricks_variables_set_move_hub_option4.svg new file mode 100644 index 0000000..00ee789 --- /dev/null +++ b/doc/main/blockimg/pybricks_variables_set_move_hub_option4.svg @@ -0,0 +1,974 @@ +move hubtop side axiszfront side axisxchannel0channels12 \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_variables_set_inventor_hub_option3.svg b/doc/main/blockimg/pybricks_variables_set_prime_hub_option4.svg similarity index 73% rename from doc/main/blockimg/pybricks_variables_set_inventor_hub_option3.svg rename to doc/main/blockimg/pybricks_variables_set_prime_hub_option4.svg index 53314ff..fb8381e 100644 --- a/doc/main/blockimg/pybricks_variables_set_inventor_hub_option3.svg +++ b/doc/main/blockimg/pybricks_variables_set_prime_hub_option4.svg @@ -1,4 +1,4 @@ -prime hubtop side axiszfront side axisxchannel0channels12 \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_variables_set_technic_hub_option4.svg b/doc/main/blockimg/pybricks_variables_set_technic_hub_option4.svg new file mode 100644 index 0000000..f0800ec --- /dev/null +++ b/doc/main/blockimg/pybricks_variables_set_technic_hub_option4.svg @@ -0,0 +1,974 @@ +technic hubtop side axiszfront side axisxchannel0channels12 \ No newline at end of file diff --git a/doc/main/hubs/cityhub.rst b/doc/main/hubs/cityhub.rst index cf617e5..1be1f17 100644 --- a/doc/main/hubs/cityhub.rst +++ b/doc/main/hubs/cityhub.rst @@ -43,8 +43,12 @@ City Hub .. rubric:: Using the battery + .. blockimg:: pybricks_blockBatteryMeasure_CityHub_battery.voltage + .. automethod:: pybricks.hubs::CityHub.battery.voltage + .. blockimg:: pybricks_blockBatteryMeasure_CityHub_battery.current + .. automethod:: pybricks.hubs::CityHub.battery.current .. rubric:: Button and system control diff --git a/doc/main/hubs/essentialhub.rst b/doc/main/hubs/essentialhub.rst index 27060bf..891c65a 100644 --- a/doc/main/hubs/essentialhub.rst +++ b/doc/main/hubs/essentialhub.rst @@ -8,7 +8,7 @@ Essential Hub .. blockimg:: pybricks_variables_set_essential_hub_option0 -.. blockimg:: pybricks_variables_set_essential_hub_option3 +.. blockimg:: pybricks_variables_set_essential_hub_option4 :stack: .. autoclass:: pybricks.hubs.EssentialHub @@ -91,8 +91,12 @@ Essential Hub .. rubric:: Using the battery + .. blockimg:: pybricks_blockBatteryMeasure_EssentialHub_battery.voltage + .. automethod:: pybricks.hubs::EssentialHub.battery.voltage + .. blockimg:: pybricks_blockBatteryMeasure_EssentialHub_battery.current + .. automethod:: pybricks.hubs::EssentialHub.battery.current .. rubric:: Getting the charger status diff --git a/doc/main/hubs/movehub.rst b/doc/main/hubs/movehub.rst index 8c7d393..ca88923 100644 --- a/doc/main/hubs/movehub.rst +++ b/doc/main/hubs/movehub.rst @@ -10,7 +10,7 @@ Move Hub .. blockimg:: pybricks_variables_set_move_hub_option0 -.. blockimg:: pybricks_variables_set_move_hub_option3 +.. blockimg:: pybricks_variables_set_move_hub_option4 :stack: .. autoclass:: pybricks.hubs.MoveHub @@ -65,8 +65,12 @@ Move Hub .. rubric:: Using the battery + .. blockimg:: pybricks_blockBatteryMeasure_MoveHub_battery.voltage + .. automethod:: pybricks.hubs::MoveHub.battery.voltage + .. blockimg:: pybricks_blockBatteryMeasure_MoveHub_battery.current + .. automethod:: pybricks.hubs::MoveHub.battery.current .. rubric:: Button and system control diff --git a/doc/main/hubs/primehub.rst b/doc/main/hubs/primehub.rst index 9c75c7d..8e7e9b2 100644 --- a/doc/main/hubs/primehub.rst +++ b/doc/main/hubs/primehub.rst @@ -8,7 +8,7 @@ Prime Hub / Inventor Hub .. blockimg:: pybricks_variables_set_inventor_hub_option0 -.. blockimg:: pybricks_variables_set_inventor_hub_option3 +.. blockimg:: pybricks_variables_set_inventor_hub_option4 :stack: .. class:: InventorHub @@ -20,7 +20,7 @@ Prime Hub / Inventor Hub .. blockimg:: pybricks_variables_set_prime_hub_option0 -.. blockimg:: pybricks_variables_set_prime_hub_option3 +.. blockimg:: pybricks_variables_set_prime_hub_option4 :stack: .. autoclass:: pybricks.hubs.PrimeHub @@ -146,8 +146,12 @@ Prime Hub / Inventor Hub .. rubric:: Using the battery + .. blockimg:: pybricks_blockBatteryMeasure_PrimeHub_battery.voltage + .. automethod:: pybricks.hubs::PrimeHub.battery.voltage + .. blockimg:: pybricks_blockBatteryMeasure_PrimeHub_battery.current + .. automethod:: pybricks.hubs::PrimeHub.battery.current .. rubric:: Getting the charger status diff --git a/doc/main/hubs/technichub.rst b/doc/main/hubs/technichub.rst index 5a2d8fd..b0d69e9 100644 --- a/doc/main/hubs/technichub.rst +++ b/doc/main/hubs/technichub.rst @@ -8,7 +8,7 @@ Technic Hub .. blockimg:: pybricks_variables_set_technic_hub_option0 -.. blockimg:: pybricks_variables_set_technic_hub_option3 +.. blockimg:: pybricks_variables_set_technic_hub_option4 :stack: .. autoclass:: pybricks.hubs.TechnicHub @@ -83,8 +83,12 @@ Technic Hub .. rubric:: Using the battery + .. blockimg:: pybricks_blockBatteryMeasure_TechnicHub_battery.voltage + .. automethod:: pybricks.hubs::TechnicHub.battery.voltage + .. blockimg:: pybricks_blockBatteryMeasure_TechnicHub_battery.current + .. automethod:: pybricks.hubs::TechnicHub.battery.current .. rubric:: Button and system control