Potentionmeter
Hi, my name is HRishi. My favourite color is blue, my hobby is sports, and I like pizza. My project is called the Potentiometer. It uses a potentiometer connected to pin P1 to control different expressions, sounds, and LED colors. The micro reads the potentiometer value and stores it in a variable. When the value is low, it shows a sad face, plays a low E tone, and turns the LED red. In the middle, it shows a sleeping face, plays a middle E tone, and turns the LED green. When the value is high, it shows a happy face, plays a high E tone, and turns the LED blue.