# Photo Interrupter Versions
Displaying the version and its functions with examples.

## Version 01

In this function, you must specify the digital pin corresponding to the module you are using.

![](Images/1.png)

*Example*
This function reads values from the pin and can be used inside an if-statement or assigned as a value.
