Thread: While pressed

  1. #1
    Registered User yann's Avatar
    Join Date
    Sep 2009
    Location
    Zagreb, Croatia
    Posts
    186

    While pressed

    Hi wan't to make a program that is in a loop while any key on the keyboard is NOT pressed, i would be thankful for a code example, yann.
    Arduino rocks!

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    There is no standard way to read key presses. You need compiler and OS specific implementation.


    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User yann's Avatar
    Join Date
    Sep 2009
    Location
    Zagreb, Croatia
    Posts
    186
    Quote Originally Posted by quzah View Post
    There is no standard way to read key presses. You need compiler and OS specific implementation.


    Quzah.
    too bad...
    Arduino rocks!

  4. #4
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    bit∙hub [bit-huhb] n. A source and destination for information.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C - until pressed
    By yann in forum C Programming
    Replies: 7
    Last Post: 09-08-2009, 11:51 AM
  2. Check if a key has been pressed and released
    By xkrja in forum Windows Programming
    Replies: 3
    Last Post: 09-19-2006, 09:06 AM
  3. Key Pressed Event / Ending thread
    By sean in forum C# Programming
    Replies: 6
    Last Post: 07-08-2004, 08:00 PM
  4. Replies: 2
    Last Post: 07-25-2003, 03:01 AM
  5. how do you know when enter is pressed?
    By pinkcheese in forum Windows Programming
    Replies: 6
    Last Post: 07-26-2002, 12:45 PM