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

Replacing pins.createBuffer() with control.createBuffer(), for RPi has not #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AqeeAqee
Copy link

@AqeeAqee AqeeAqee commented Mar 8, 2022

Phenomenon:
When using this ext on hardware target RPi, would get following error
image

Cause:
RPi target has no createBuffer() in pins namespace.

Solution:
Relace it with control.createBuffer(). Functionality of both are the same, they all result in mkbuffer()

@AqeeAqee
Copy link
Author

AqeeAqee commented Mar 8, 2022

Target Version changed automatically in my commit, it's that OK? Or shall I re-submit a new one without pxt.json changed?

[pxt.json] "targetVersions": { ("target": "1.2.10",) "target": "1.8.22", "targetId": "arcade" },

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

Successfully merging this pull request may close these issues.

1 participant