This is the current problem I have with my microcontroller.I have connected a buzzer to RC1 and a push button to RC2,LCD module is connected to PORTD.However when I run the program and test it out,the LCD module displays what I want it to when the push button is pressed but the buzzer doesn't produce any sound.I've attached the file to this post,maybe you guys could take a look at my code and tell me whats wrong.Thanks
ps:I'm using a PIC184550 microcontroller.I also want to include a 3sec interrupt such that the buzzer will only remain on for 4s when the push button is pressed,but I wanna sort this problem out first,would be helpful if you could show me how to do it though.
ps:I'm using a PIC184550 microcontroller.I also want to include a 3sec interrupt such that the buzzer will only remain on for 4s when the push button is pressed,but I wanna sort this problem out first,would be helpful if you could show me how to do it though.