Loading...
Pages: [1]   Go Down
Author Topic: key pressing  (Read 125 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi ,
 
i want to know if i can make this thing
..
is there a code , when i press the key (from keyboard) it change the  INPUT PULLUP to high , when i release the key it change it to low ?

 smiley-sweat
Logged

Copenhagen / Denmark
Offline Offline
Edison Member
*
Karma: 5
Posts: 2338
Do it !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What keyboard?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

is there any way to control the arduino chip from the pc by using keyboard?
Logged

UK
Offline Offline
Tesla Member
***
Karma: 89
Posts: 6335
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

is there any way to control the arduino chip from the pc by using keyboard?


Yes, but it needs software on the PC as well as software on the Arduino, to do it.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 311
Posts: 35470
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
is there a code , when i press the key (from keyboard) it change the  INPUT PULLUP to high , when i release the key it change it to low ?
Why do you want to be turning the pullup resistor on or off? Toggling an output pin makes sense. Turning the pullup resistor on or off does not.
Logged

United Kingdom
Online Online
Faraday Member
**
Karma: 131
Posts: 4655
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Use the Serial Monitor in the Arduino IDE to send commands to the Arduino, and the Arduino serial port to receive them. Then you can write a sketch to do whatever you want on the Arduino in response to the commands received.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. http://www.eschertech.com

Pages: [1]   Go Up
Print
 
Jump to: