Skip to content

Commit

Permalink
Deutsche Übersetzung vollendet
Browse files Browse the repository at this point in the history
  • Loading branch information
MKleinSB committed May 1, 2024
1 parent ef63e93 commit e96bad7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion callicolor-jacdac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ namespace modules {
/**
* CalliColor Calliope mini LED Ring
*/
//% fixedInstance whenUsed block="CalliColor LED ring"
//% fixedInstance whenUsed block="CalliColor RGB-LED ring"
//% block.loc.de="CalliColor RGB-LED-Ring"
export const CallicolorLedRing = new LedClient("CalliColor LED ring?dev=self&num_pixels=12&variant=ring")

/**
Expand Down Expand Up @@ -37,6 +38,7 @@ namespace modules {
*/
//% weight=3
//% blockId="rgb" block="red %red|green %green|blue %blue"
//% block.loc.de="rot %red|grün %green|blau %blue"
//% group="LED" weight=82
export function rgb(red: number, green: number, blue: number): number {
return ((red & 0xFF) << 16) | ((green & 0xFF) << 8) | (blue & 0xFF);
Expand Down

0 comments on commit e96bad7

Please sign in to comment.