Skip to content

feat : Add Blocks for RGB LED Control on STeaMi Board#3

Merged
nedseb merged 5 commits into
mainfrom
charly-ledRGB
Oct 25, 2024
Merged

feat : Add Blocks for RGB LED Control on STeaMi Board#3
nedseb merged 5 commits into
mainfrom
charly-ledRGB

Conversation

@Charly-sketch
Copy link
Copy Markdown
Contributor

@Charly-sketch Charly-sketch commented Oct 7, 2024

Description

This PR adds two new blocks to control the RGB LED on the STeaMi board in MakeCode:

  • SET led RGB to %color: Sets the RGB LED to a specified color.
  • SET led RGB off: Turns off the RGB LED.

Changes:

  1. TypeScript (Simulation):

    • Added simulation support for setting and turning off the RGB LED.
  2. C++ (Embedded):

    • Implemented functions to set the RGB LED color and turn it off on the actual STeaMi board.

@nedseb nedseb added the enhancement New feature or request label Oct 8, 2024
@Charly-sketch Charly-sketch changed the title Charly led rgb feat : Add Blocks for RGB LED Control on STeaMi Board Oct 10, 2024
@nedseb nedseb force-pushed the charly-ledRGB branch 2 times, most recently from d688ca4 to 6b66834 Compare October 10, 2024 07:59
@nedseb nedseb assigned Charly-sketch and unassigned nedseb and jnthbdn Oct 10, 2024
@nedseb nedseb added this to the v1.0.0 milestone Oct 10, 2024
Comment thread pxt-steami/libs/core/enums.d.ts Outdated
Comment thread pxt-steami/libs/core/leds.cpp Outdated
Copy link
Copy Markdown
Contributor

@nedseb nedseb left a comment

Choose a reason for hiding this comment

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

mis à part une correction mineure, ça devrait être bon

Comment thread pxt-steami/libs/core/leds.cpp Outdated
@nedseb nedseb merged commit 0b03f84 into main Oct 25, 2024
@nedseb nedseb deleted the charly-ledRGB branch October 25, 2024 10:51
@semantic-release-updater
Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

enhancement New feature or request released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants