I believe in open source and giving back to the community so here are my programs. Just right-click and click "save as" to save the files to your computer. (Some are more useful than others!)
Note: I will soon be linking to the project pages for which this code was generated. This will allow you to see the exact specs we had to match and give you a better idea of what the code does.
Our first program was to use the Atmel to create a reaction time timer, accurate to within 1 millisecond. We used the Atmel and a 2x16 LCD screen. You can access it here
For Project 2 we had to simulate cricket calls with the Atmel. Output was through a spliced RCA cable to a black and white tv. We had to taken in different parameters as entered through a keypad of frequency, chirp length, chirp silence, and others. For use in further labs, Rich developed a keypad library.
Project Code
Keypad Function File
Keypad Library File
For Project 3 we created a security system which consisted of an end user typing username and code into the keypad and a security guard accessing the system over RS232 serial cable using Window's Hyperterm. For this project, use the the updated keyboard files from here. In the project code removing the #define EXTRA_CREDIT will make it the base 4-digit code system, otherwise it is a username/password system. The keypad page for this lab explains how to use it for typing letters.
Project Code
Here is our final project for the class - a web server on an Atmel Mega32!! Below I have linked to the main C file as well as a zip containing all of the files necessary. Enjoy it!
Main C file (atmelwebserver.c) containing many comments about the code
The rest of the source files
The report we submitted for class. Much of this is covered in comments in the main C file
flac2ogg - have flac files you want turned into ogg files? All you need is oggenc and this script. It is currently bare bones and barely interactive, but I hope to update it in the near future
ripDVDaudio - I learned the hard way that ripping audio from vob files is a pain in the arse - especially because they use the a52 codec. Well, no biggie. With my script, mplayer, lame, and a52 decoding software you can have that soundtrack in no time. Great for movies like Snatch where you can just listen to the lines and crack up without having to see the accompanying visuals.
Pydvdauthor
I was looking for a way to create a DVD with chapters on Linux after my windows program went kaput! So I wrote a program to create the XML file dvdauthor nees to create the DVD file structure. (now on Github!)
Pydvdauthor
Python Games with Pygame
These games were created by modifying the code from Linux Format Magazine. (now on Github! (for some of them anyway))
PyInvaders - Space Invaders clone
PyRacer - 80s-style arcade racing game
PyShifter - a tile-shifting puzzle
PyHanoi - Tower of Hanoi game
Python Amortization Calculator
Python Amortization Calculator
If you want the GUI version, check out the Git Hub Page>. Read about it on my blog
Python Last.fm top 3 artists to Twitter
Lastfm-twitter
Need Python?
For Windows get it at
http://www.python.org/ftp/python/(select the highest version number ending in .exe)
For Mac OSX
It may already be installed or get it at
http://homepages.cwi.nl/~jack/macpython/download.html
For Linux
Unlike Windows, Linux actually comes with useful programs! It's already installed! Install the latest version via your distro's procedures.