Page 1 of 1

Tutorial 4 help with Interfacing buttons

Posted: Sun May 15, 2011 2:27 pm
by Fluroblue
im adding the buttons to the knightrider tutorial and it seems to just be doing the back and forth thing instead of moving with the buttons, anyone know what this could mean?








(Edited - I have moved this post here to give it it's own topic. bitfogav)

Re: Tutorial 4 help with Interfacing buttons to the LED proj

Posted: Sun May 15, 2011 8:57 pm
by bitfogav
Hi Fluroblue,

Have you made sure that you are using the code from tutorial 4 and have the buttons connected to PORTA.0 and POARTA.1?

Re: Tutorial 4 help with Interfacing buttons

Posted: Sun May 15, 2011 9:51 pm
by Fluroblue
thanks for your help. i found the mistake, its pretty sad :P i just forgot to click 'program' after picking pickit 2 so it was just powering my last project :S sorry for the waste of time.

Re: Tutorial 4 help with Interfacing buttons

Posted: Sun May 15, 2011 10:11 pm
by bitfogav
ahhh not to worry, its how we all learn :)

Re: Tutorial 4 help with Interfacing buttons

Posted: Mon May 16, 2011 9:56 am
by brad
I have learned from many, many mistakes!