Skip to content

Commit

Permalink
Pixel strip object removed from advanced
Browse files Browse the repository at this point in the history
  • Loading branch information
mac-aron committed Jul 11, 2024
1 parent 687985e commit 7d03314
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,12 @@ namespace gamepad {
strip.clear();
strip.show();

//% block="the solder:bit NeoPixel array"
//% group="NeoPixels" advanced="true"
//% block="the Gamepad pixel array"
//% group="NeoPixels"
export function solderbitPixels(): neopixel.Strip {
return strip;
}

/**
* Clears all color data for the pixels, and turns them off
*/
//% block="turn off all Gamepad NeoPixels"
//% group="NeoPixels
export function clearAllGamepadPixels() {
led.enable(false);
strip.clear();
strip.show();
led.enable(true);
}

//% block="is Gamepad button $button pressed"
//% group="Buttons"
export function isButtonPressed(button: Button): boolean {
Expand Down

0 comments on commit 7d03314

Please sign in to comment.