Step 5It's Programing Time
I wrote a basic program for it so it can calculate all the needed things, I have the description of what every button does in the picture.
People who know C can easily adapt my code to make it run on the arduino or other platforms it's just a matter of changing the output and input commands. The code is fully documented so you can understand what each line does.
If you're going to use an ATtinty2313 I have added an HEX file as well to save some time. And if your going to use the HEX file remember to set the fuses to use the internal oscillator on 8Mhz.
I used the USBasp to program my micro but you can use any program you like or have at home.
| « Previous Step | Download PDFView All Steps | Next Step » |

















































This HEX file will only work for the micro I used so you will need to compile the code for the micro you use.