These are the basic codes for arduino boards which I have written during my freshmen and sophomore years.