Digital Input Interrupts and 7-Segment Display

 

This example project demonstrates how to use digital input interrupts and a 7-segment display using CASP.

 

Target

Arduino Uno is used in this project. However, any supported micro-controller board can be used.

 

Description

A push button switch is connected to pin-2 of the target board. A 7-segment LED display is also connected from pin-3 to pin-9 as shown in the circuit diagram. A model is developed to count number of times the push button is pressed and display on the 7-segment display. After 15 counts, the count will restart from zero. Please go through the individual block parameters used in the model along with respective documentation for better understanding.

 

Circuit Diagram

 

Model

 

References

Please go through our video tutorials, tutorial projects and CASP main documentation for getting started with CASP.