I'm completely new to Assembly programming, but unfortunately I must solve a task in a short time using Assembly and PIC16F887.
My task is to move a flashing light on a row of 4 LEDs with a potentiometer. The frequency of the flashing light should be changeable with a rotary encoder between 1Hz to 10Hz with 0,5Hz steps.
I have done a lot of research but I'm still stuck, so every kind of support is welcome.
I was trying to blink an LED, read the rotary encoder and set the blinking frequency based on the reading, then choose the LED output with the potentiometer. I'm not sure if this is right, and the only thing I managed to turn into code was blinking an LED.