Skip to content

Instantly share code, notes, and snippets.

Created Sep 16, 2017
What would you like to do?
git diff
diff --git a/src/led.jl b/src/led.jl
index 549a546..0380f6e 100644
--- a/src/led.jl
+++ b/src/led.jl
@@ -30,10 +30,10 @@ end
-typealias U5 UFixed{UInt8,5}
-typealias U6 UFixed{UInt8,6}
+const U5 = Normed{UInt8, 5}
+const U6 = Normed{UInt8, 6}
-immutable RGB565 <: AbstractRGB{U8}
+immutable RGB565 <: AbstractRGB{Normed{UInt8, 8}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment