microsoft / microsoft/pxt

pins.createBuffer() on rpi hw

Open
#8,657 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.3k
Forks
641
Avg merge
12h 4m
Merged PRs (30d)
57

Description

Error: Property 'createBuffer' does not exist on type 'typeof pins'.

Is there any solution of this error?

https://arcade.makecode.com/?nolocalhost=1&compile=rawELF&hw=rpi#pub:https://github.com/riknoll/arcade-shader

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the TypeScript error from the linked MakeCode Arcade project with Raspberry Pi hardware enabled. Read the pins API definitions and the linked arcade-shader example to determine whether createBuffer is expected to be available on this target. Done means the intended project compiles without this error, with a documented resolution or confirmed missing API.

Written by the indexing model from the issue text.

Assessment

Tech stack
raspberry-pi, typescript
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.