Hall Effect Sensor Simulator

Hi,

count = count - 1
if (count < 1)
{
count = 6
}

Then to output;

PORTB = count;

if count is the counter value 6 to 1
Will give you pins 10,9 and 8 as the digital outputs

Use "blink without delay" example to give delay function.

Tom..... :slight_smile: