Raspberry Digital Signal in Circuit Playing with LED
A digital signal is a signal expressed in the binary form such as 0 and 1. The use of binary form to express the signal signifies the presence of only two states in the circuit, that is, on and off.
For Pico, many pins can be used for digital signal input and output. When using these pins to transmit digital signals, we only need to configure them as different types according to our needs. In fact, in the last lesson, we have configured and used digital pins many times. For example:
This program has set Pin 16 as the output mode and written a high level to the pin to light the LED.