Skip to content
This repository was archived by the owner on May 20, 2021. It is now read-only.

Conversation

@jamesadevine
Copy link
Member

@mmoskal @pelikhan Could you help me integrate this into pxt-jacdac-services? I'd also love for you to point out anything I've done wrong in my implementation!

Copy link
Contributor

@mmoskal mmoskal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The service should be in pxt-jacdac-services not here

rgbledclient.ts Outdated
//% weight=2 blockGap=8
//% group="RGBLED"
setColor(colorCode: number): void {
let buf = Buffer.create(4);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe send 3 bytes, so it won't get confused if it's extended to 2 pixels?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okie dokie. Does the jacdac layer add the correct padding as required by the spec?

jamesadevine and others added 4 commits July 8, 2020 11:24
Co-authored-by: Michał Moskal <michal@moskal.me>
I expect pxt-jacdac-services will need bumping
@jamesadevine
Copy link
Member Author

jamesadevine commented Jul 16, 2020

Gonna need to bump pxt-jacdac-services for these changes to work

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants