Skip to content

Commit

Permalink
change transpose operator
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbyrne committed May 8, 2017
1 parent 82dbeaf commit b09020f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/led_extra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ const JULIA_LOGO = begin
p = RGB565(0.667,0.475,0.757)
z = RGB565(0.0,0.0,0.0)

[z z z z z z z z;
z z z G G z z z;
z z G g g G z z;
z z G g g G z z;
z R R G G P P z;
R r r R P p p P;
R r r R P p p P;
z R R z z P P z] |> transpose # transpose to correct orientation
permutedims([z z z z z z z z;
z z z G G z z z;
z z G g g G z z;
z z G g g G z z;
z R R G G P P z;
R r r R P p p P;
R r r R P p p P;
z R R z z P P z], (2,1)) # transpose to correct orientation
end

0 comments on commit b09020f

Please sign in to comment.