Pages: [1]   Go Down
Author Topic: key pressing  (Read 370 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: 6
Posts: 2360
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
Shannon Member
****
Karma: 223
Posts: 12630
-
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

I only provide help via the forum - please do not contact me for private consultancy.

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 614
Posts: 49365
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
Tesla Member
***
Karma: 224
Posts: 6616
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
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. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Pages: [1]   Go Up
Jump to: