Skip to content

Commit

Permalink
Added bock names to enum
Browse files Browse the repository at this point in the history
  • Loading branch information
bsiever committed Sep 2, 2022
1 parent ee60d61 commit ccd3442
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion display.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@
namespace display {

export enum Direction {
//% block="normal"
Normal = 0,
//% block="logo to right"
LogoToRight = 1,
//% block="upside down"
UpsideDown = 2,
LogoToLeft = 3,
//% block="logo to left"
LogoToLeft = 3,
}

//% shim=display::_rotateTo
Expand Down

0 comments on commit ccd3442

Please sign in to comment.