Minor SevenSegHW library error


mpcour

Recommended Posts

SevenSegHW.cpp  (in Designlab version 1.0.1 at least  ) has to be corrected as :

 

static unsigned char table7seg[16] =

{

    0x3F, //0011 1111, 0

    0x06, //0000 0110, 1

    0x5B, //0101 1011  2

    0x4F, //0100 1111  3

    0x66, //0110 0110  4

    0x6D, //0110 1101  5

    0x7D, //0111 1101  6

    0x07, //0000 0111  7

    0x7F, //0111 1111  8

    0x6F, //0110 1111  9

    0x77, //0111 0111  A

    0x7C, //0110 1110  B

    0x39, //0011 1001  C

    0x5E, //0101 1110  D  <============== !!!

    0x79, //0111 1001  E

    0x71  //0111 0001  F

};

 

Regards
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.