Today we will go through the process of displaying images and gifs on your TinyScreen. We will first need to download a few programs and files.
*We are no longer going to use the convert.sh shell scripts*
When checking to see if your computer has python installed correctly, go to the command window and type in 'python' without the quotes. If it is installed you should get a response saying what version you have.
If you do not get any response when you type python in the command window, you will have to manually set a path (mainly for Windows). To set the path, follow the directions here.
Converting the image or .gif to a .tsv file
Here is the gif, and .tsv file used in the opening gif as well as an image displaying our beloved cat. You can use this .tsv to make sure everything is working properly.
The TSVconverter file needs to be placed in the file with all of your other gifs. Running the script and it will convert ALL gif files to tsv files. The TSVconverter file will only work for a .gif file so if you have a .png or .jpg you wish to convert, you will need to re-save it as a .gif. To run the script and start the conversions, simply double click on the python file in the folder.
Programming your TinyDuino
The codes below both will display the images converted. In the TinyScreen Video Player you will need to tell the TinyDuino the filename to look for on the microSD card. After you program it, the screen will play only that file. The TinyScreen Video Menu code looks through all the files on your microSD card and you can choose which file you want to be displayed. With that said, have fun!
No preview (download only).
Did you replicate this project? Share it!I made one
Love this project? Think it could be improved? Tell us what you think!