-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump pxt 10 and some other changes #1052
base: master
Are you sure you want to change the base?
Conversation
Fixed all fields field_motors, field_ports, field_brickbuttons, field_music except field_color. When choosing a color, the color does not change. There is no error in the console. |
Replacing ports with images. field ports has been removed. Almost completely repeats the functionality.
Replacing field ports to images. field ports has been removed. Almost completely repeats the functionality. All sensor blocks that used field_ports had to register this. I don’t know how it could have been done differently without repeating these lines.
Accidentally added field_colors changes to this commit. He's not ready. There are no errors, but the color selection does not work. |
Where did turnRatio come from?
The last change to field_colour removed the addition of className. It’s not clear for what reason, but I’m adding it myself now.
The new version of FieldColorNumber does not apply applyColour() inside the doValueUpdate_() method. Secondly, the applyColour() method was redesigned in the new version so that it no longer worked with this enum code.
The colorenum field has been fixed. |
It turned out that the buttons were wrong for some reason. The sorting of the data in options.data has changed for some reason.
It turned out that the buttons were wrong for some reason. The sorting of the data in options.data has changed for some reason. You can watch the problem and the solution in the video. 2024-05-03_22-56-04.mp4 |
Additional changes that build on this. microsoft#1035 I also wanted to filter by vendorID and productID, but then the selection window did not display anything. I don't know what's wrong. As before, downloading via bluetooth works on my surface pro 6 with windows 11. Loading did not work on another computer in the robotics class with Windows 10. Perhaps this change will have a positive effect. I will check it.
timeOut is quite an interesting property and if it is used in js, then switching in the block will not be converted.
For blocks pause until ready and pause until stalled property timeOut is quite an interesting property and if it is used in js, then switching in the block will not be converted. |
The changes that were added to download via bluetooth did not give a good result. I checked on a computer where the download did not work on the previous version. There are also problems with this change. I tried a bunch of different options, and one case worked. The download worked in one of the cases. After that, I wanted to check again, rebooted the computer and started trying bluetooth booting again, but nothing worked. On the computer in the classroom the following error pops up, which is not present on my home surface pro 6. I will try to solve this separately later. |
If the light sensor is not active (it is not connected), then do not transfer the value to a new range. Otherwise, the value will be 100.
I made a commit in which I implemented changes for the analog sensor class aimed at supporting older sensors for NXT, which cannot be detected automatically. For example, some Hitechnic sensors. |
After switching to pxt-core v10, fieldmotors break.
Related to this.
microsoft/pxt-microbit#5496
microsoft/pxt#9865