Step 7: How it works
The first sketch that should be run, is create mission objective sketch, this sketch uploads a character array to the memory chip, THIS is the mission objective/message that is destructed.
In the second sketch, Self Destructing Msg, a few things happen. At startup there is a idle screen, with the logo that moves across the screen. The button pin is checked for its state. If the button state is high, it goes into the reading function in the program. This function reads, data from the memory chip, then stores it in an array on the arduino memory.
The next function reads the array, and sends it to the display. after a set amount of time, to allow the user to read the message, it waits 5 seconds, then the important part.
All arrays with the message, are overwritten, and no evidence is left behind. If the button is pressed again, a different message is displayed, and the original secret message cannot be recovered.
Remove these ads by
Signing Up

























Not Nice
















Visit Our Store »
Go Pro Today »



