Skip to content
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

CPX MakeCode block "i2c write register" is missing a parameter #1210

Open
ricknun opened this issue Apr 7, 2022 · 0 comments
Open

CPX MakeCode block "i2c write register" is missing a parameter #1210

ricknun opened this issue Apr 7, 2022 · 0 comments

Comments

@ricknun
Copy link

ricknun commented Apr 7, 2022

https://makecode.adafruit.com/reference/pins/i2c-write-register
shows that the MakeCode block has 3 parameters but its JavaScript has 4. The "valueFormat?: NumberFormat" Javascript parameter is missing from the MakeCode block. A workaround is to manually add it to the JavaScript and then go back to Blocks (where 6 lines of JavaScript are shown in a block) but it should be part of the MakeCode block like it is for the "i2c write number" block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant