diff --git a/CHANGELOG.md b/CHANGELOG.md index a8b064d..96afcef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ - Added `pybricks.pupdevices.Remote.disconnect` method. - Added blocks for `up`, `ready` and `stationary` for IMUs. - Added `last` and `chr` parameters to `read_input_byte` and add blocks. +- Added block for the `in` operation. +- Add double ternary block. ## 3.5.0b1 - 2024-03-11 diff --git a/doc/main/blockimg/pybricks_blockIsIn.svg b/doc/main/blockimg/pybricks_blockIsIn.svg new file mode 100644 index 0000000..60cc1b5 --- /dev/null +++ b/doc/main/blockimg/pybricks_blockIsIn.svg @@ -0,0 +1,989 @@ + +aabcin \ No newline at end of file diff --git a/doc/main/blockimg/pybricks_blockLogicTernaryDouble.svg b/doc/main/blockimg/pybricks_blockLogicTernaryDouble.svg new file mode 100644 index 0000000..8997100 --- /dev/null +++ b/doc/main/blockimg/pybricks_blockLogicTernaryDouble.svg @@ -0,0 +1,989 @@ + +100-1000truetrueifelseifelse \ No newline at end of file diff --git a/doc/main/blocks/index.rst b/doc/main/blocks/index.rst index 336f1fa..53cd483 100644 --- a/doc/main/blocks/index.rst +++ b/doc/main/blocks/index.rst @@ -56,6 +56,10 @@ Logic .. blockimg:: pybricks_blockLogicTernary +.. blockimg:: pybricks_blockLogicTernaryDouble + +.. blockimg:: pybricks_blockIsIn + Flow --------------------------