unkwntech

7-Seg Enums

Jul 8th, 2012
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.22 KB | None | 0 0
  1. /*
  2.     /*
  3.  *     A
  4.  *    ---
  5.  * F |   | B
  6.  * G  ---
  7.  * E |   | C
  8.  * D  ---   .DP
  9.  *
  10.  */
  11. [Flags]
  12. public enum Segment
  13. {
  14.     A = 0x01,
  15.     B = 0x02,
  16.     C = 0x04,
  17.     D = 0x08,
  18.     E = 0x10,
  19.     F = 0x20,
  20.     G = 0x40,
  21.     Dp = 0x80
  22. }
Advertisement
Add Comment
Please, Sign In to add comment