Arduino port manipulation – part II

4 Просмотры
Размещено
In the first part I covered output of 8 LEDS using one port.
https://www.youtube.com/watch?v=mJBBX46QwBU

In this tutorial will use the port for input. Reading with one line of command the sate of 8 buttons.
Showing the difference in time it takes to perform this test.
Will also cover cool options of key combination, using the port output value.

I used WOKWI great web Arduino simulator the code from the video is available at
https://wokwi.com/arduino/projects/284193979507933709


For WOKWI great article on time counting in Arduino
https://blog.wokwi.com/how-to-measure-the-speed-of-arduino-code/

For more read about binary arithmetic and its practical uses in arduino
https://playground.arduino.cc/Code/BitMath
Some more info on ports in arduino
https://www.arduino.cc/en/Reference/PortManipulation
Категория
Ардуино
Комментариев нет.