Hi, I programmed my LilyMini Protosnap using this tutorial https://learn.sparkfun.com/tutorials/pr … ading-code.
It worked. I was able to play around the example sketches for the LilyMini. However, I now want to want to return the LilyMini back to its original programming where it has the three modes.
How can I get this code?
Hello, and thanks for posting.
Unfortunately the code that came on the LilyMini ProtoSnap isn’t available as an Arduino sketch but we do have the hex file that contains the raw machine code for the board.
You would need an [Atmel ICE programmer to flash that code into a board though and since there isn’t a programming header on the board, you’d also need to build some sort of jig that allows you to connect the programmer to the board. Unfortunately I don’t have a guide or tutorial for how to use the firmware file or programmer but I’ve attached a copy of the firmware in case you have the tools to flash it.
It might be a lot easier for you to try and write your own sketch that emulates the original code.](https://www.sparkfun.com/products/14950)
LilyMini_Protosnap_Light_Sensor_combined_V10.zip (17.1 KB)