Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 1.01 KB

README.md

File metadata and controls

17 lines (11 loc) · 1.01 KB

Bad Apple on Arduino 8x8 matrix

How to use this repo

Use code in Arduino folder for your Arduino UNO. I am using PlatformIO as my IDE, you can use it too, or just use lib and main.cpp.

Use code in Scripts folder to generate frames and pass them to your Arduino.

How to use scripts

  1. Use ffmpeg.sh to create squred and scaled video and get .pbm frames from it. .pbm uses 0 and 1 to display black and white, that is what we need.
  2. Use conv-to-bin-data-header.cpp to convert frames into C++ data header, it will create data.h.
  3. Use conv-to-decimal.cpp to convert this data into decimal and store it in frames.csv.
  4. Use output-to-Serial.py to output frames.csv into the serial port of your Arduino and start VLC with BadApple video

Video

YouTube