Releases: parallaxinc/cyberbot_makecode
Improve I2C Startup Reliability and Add Repeater Support
This release addresses two important I2C-related issues affecting cyber:bot and MakeCode compatibility.
Bug Fix: I2C Connection Reliability (#6)
Improved the state machine for I2C initialization to ensure consistent startup behavior under these conditions:
- Power on (USB connected or not)
- Reset button press (USB connected or not)
- Loading new scripts with any power switch setting (0, 1, or 2)
This resolves intermittent failures to establish communication between the micro:bit and the cyber:bot board.
Enhancement: I2C Repeater Support (#8)
Added logic equivalent to the i2crepeat
feature from the Python module, enabling the MakeCode extension to:
- Support downstream I2C devices connected via the cyber:bot board
- Mirror the behavior expected in Python-based cyber:bot applications
These changes enhance reliability and compatibility with external I2C devices in classroom and development environments.
- Safe for classroom use
- Backward compatible with previous scripts
Disable Unwanted Diagnostic Output to Device Console
This release disables unnecessary diagnostic output to the Device Console by commenting out a 'console.log()' statement in 'cbcore.ts', and updates the version in 'pxt.json'.
- Removes unintended serial data from graphs and logs
- Reduces clutter for students and end users
- Safe for classroom and user-facing deployment
Minor bug fixes
Some necessary changes were properly updated in this version
Added an RC time block
We added a block necessary for completing our tutorials that records the RC time of a circuit connected to the cyber:bot and saves it to a variable.
Minor Bug Fixes and design changes
We fixed bugs when declaring blocks in Javascript, resized the icon, and changed some of the block designs.
Initial Release
This is the initial release of the Cyberbot Extension for Makecode