help needed with a special problem

General discussion on mikroPascal.
Post Reply
Author
Message
brkovich
Posts: 32
Joined: 29 Jul 2009 00:44

help needed with a special problem

#1 Post by brkovich » 29 Jul 2009 00:52

With my knowledge I am just unable to write a program where each press on a key will periodically turn the LED on and off.

So when you will press the key LED will go on and stays on until the next
press of a key which will turn the LED off and so on...

User avatar
mileta.miletic
mikroElektronika team
Posts: 493
Joined: 05 Jun 2009 14:46
Location: Belgrade, Serbia
Contact:

#2 Post by mileta.miletic » 29 Jul 2009 09:02

Hi,

Check the Button example in examples folder in your mikroPascal installation folder ("c:\Program Files\Mikroelektronika\mikroPascal\Examples\EasyPIC5\P18F4520\Button\").
Regards,
Mileta

Post Reply

Return to “mikroPascal General”