This project is a DIY mbed version of your favorite childhood game

Dependencies:   mbed 4DGL-uLCD-SE LCD_fonts SDFileSystem MMA8452

SaveFile.h

Committer:
aklaussen
Date:
2019-04-14
Revision:
0:bce994168592

File content as of revision 0:bce994168592:

#include <vector>
#include <string>

// Some utilities for saving images off the screen 

int save_image(); // save the current pixel values from the screen
int read_image(const char * fn = "/sd/save"); // read from a file back into the screen pixel by pixel
int color_convert(int); // unpack from RGB 565 to regular HEX RGB

std::vector<std::string> read_file_names();
int get_highest_number (std::vector<std::string> filenames);