c51单片机共阴阳数码管段码

  • Post author:
  • Post category:其他


proteus仿真c51单片机共阴阳数码管段码

proteus

//共阳数码管段码

uchar code SEG_CODE[] = {0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90};

//共阴段码

uchar code SEG_CODE[] = {0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};

CC表示共阴

CA表示共阳

proteus仿真里引脚介绍

proteus仿真里引脚介绍



版权声明:本文为weixin_43120264原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。