Added code+files

All current code and some pictures of the pin waveform