Answer the question
In order to leave comments, you need to log in
How to read signal on Arduino?
There is a Digispark board with an ATiny85 controller.
There are 2 power supplies connected to the board.
1. The board itself is powered by the USB connector of the PC.
2. At the 5th input, + 5V is supplied from another source, and the minus is also connected to a common ground.
pinMode(5, INPUT);
INT signal = digitalRead(5);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question