This project is prepared in two versions:
- ArduinoIDE sketch — the real Arduino sketch for Arduino IDE and for uploading to the board.
- VS Code view — a version for Visual Studio Code, made for easier viewing and editing in the editor.
See the full wiring guide and photos: Guide.md
Photos are stored in the photos/ folder (for example photos/Cathode.png, photos/BreadArduino.png).
- For Arduino IDE, open
ArduinoIDE/MiniPoliceLEDs.ino. - For VS Code, open
VisualStudioCode/MiniPoliceLEDsVSC. - Select the correct board and port in Arduino IDE (Tools → Board, Tools → Port) and click Upload.
If you need the actual working Arduino code, use ArduinoIDE/MiniPoliceLEDs.ino.
// If you compile with the Arduino IDE, you don't need to add #include <Arduino.h>.
// If you use another build system, add:
#include <Arduino.h>
// This code is intentionally simple for beginners — not optimized but easy to understand.