-
Notifications
You must be signed in to change notification settings - Fork 48
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
Ultrasonic Ranger and 4-digit display counters not working #34
Comments
Reported in Micro:bit Foundation support ticket https://support.microbit.org/helpdesk/tickets/84361 (private) @MKleinSB @MatthewJeffson This extension seems to have been changed (d0ead22) to target calliopemini. Line 23 in 39b14d5
Is it possible to restore micro:bit compatibility? |
Please change C16 to P0 and try again |
@Lesords please check the template I shared. I do not choose C16 there, I choose P0. |
I just looked at this template. Click JavaScript button, then you will see C16 in line 8, just change it |
Or you can reselect P0 |
@Lesords thank you, I regret that I didn't check Javascript tab to see that. It seems like by default the settings in blocks view are different from what is really encoded in them. I will close that issue then. |
Thanks @MKleinSB for proposing a fix: #35 Thanks @Lesords for suggesting the workaround. When the block is added on https://makecode.microbit.org/ it says P0 so it's not obvious to a micro:bit user what the C17 message is about. C16 and C17 are default pin selections in the extension code that are not appropriate for micro:bit Line 524 in 39b14d5
Line 588 in 39b14d5
|
When I try to use
I receive an error in make code:Property 'C16' does not exist on type 'typeof DigitalPin'". Here is an example:
https://makecode.microbit.org/_Hqtgx99XbKde
The text was updated successfully, but these errors were encountered: