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.
- 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. - Use conv-to-bin-data-header.cpp to convert frames into C++ data header, it will create data.h.
- Use conv-to-decimal.cpp to convert this data into decimal and store it in frames.csv.
- Use output-to-Serial.py to output frames.csv into the serial port of your Arduino and start VLC with BadApple video