Кнопка | Світлодіоди | Затримка | Алгоритм |
---|---|---|---|
PA0 | port-K | 1,05 сек | 6 |
Лінійка з 8-ми одноколірних світлодіодів. При натисканні кнопки світлодіоди починають почергово блимати через один від 7-виводу порту до 1, а потім далі від 6 до 0.
P0← P2←P4←P6←P1←P3←P5←P7
- Install VS Code
- Install PlatformIO
- Install Proteus
- Clone repository into your system
git clone https://github.com/Ravenen/microcontroller_lab_1.git
- Build a project in
code
folder via PlatformIO builder - Open Proteus project and run the simulation