7-segment Display Using I2C

7-segment Display Using I2C

通信协议应用程序

7段指示器是一个常见的数值显示。GreenPak异步状态机和我2C可用于向段提供指示应显示哪个号码。提供的示例与4位数4位小数显示兼容。

Ingredients

GreenPak图

Design Steps

  1. Configure GPIO pins as output and connect them to the ASM output.
  2. Add shift register usingTechnique: Building a Shift Register.
  3. Create a logic generator using the PGEN block, corresponding the required number of digits.
  4. Add and configure Asynchronous State Machine (ASM) to match the initial digital sequence.
  5. Update one or more digits to an ASM state via I2C.

资源

GreenPAK Designer files