Sign In

Assembly Code For Blinking RbO, Rb1 LEDS Using Different Frequencies

Thabani Bizamare South Africa

Hardware: Pic 18 F4520 20 MHertz Xtal Software: Mplab, C Compiler, Mpasm

I'm new to the pic microcontroller platform and would like help with a situation where, Rb1 and Rb0 both are LEDS that need to blink when button S2 is pressed. And with each subsequent press your frequency should change, such that 1 Hz then 10 Hz and on the final key press it should sound the buzzer at 20 Hz?


Post a reply to Thabani Bizamare

Think you can help Thabani Bizamare ? Then post your thoughts that might help Thabani Bizamare. You will earn a lot of reputation in the technical community.

If your program is in multiple files, then ZIP the entire folder and attach below

Images and Screenshots

These helps other better understand your suggestion.