HI, I'm a beginner in PIC, I want to do a simple counter project using DIP switch to select Delay, the small project is actually working already with 2 x 7 segment display.. but I need a selectable startup delay.But I dunno how to do it.. keeps failing!
here is what I wanted..
dip1=on, dip2=on, dip3=on, dip4=on == 8secs delay
dip1=on, dip2=off, dip3=off, dip4=off == 7secs delay
dip1=on, dip2=on, dip3=off, dip4=off == 6secs delay
dip1=off, dip2=off, dip3=off, dip4=off == 5secs delay
and so on...
I've attach a example sch.
maybe you guys might know some reference code or similar(PICBASIC)I can view?
Thanks!
Bookmarks