Pages: [1]   Go Down
Author Topic: ps\2 keybord and mouse and arduino  (Read 2316 times)
0 Members and 1 Guest are viewing this topic.
Hyderabad
Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

how to interface ps/2 keyboard and mouse using arduino?
i'm a newbie just need in a little brief smiley
Logged

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

actually my project is LCD display of keyboard characters but i wanted to add a social cause into it so i wanted to use some libraries  to make a small electronics PDA
Logged

California
Offline Offline
Faraday Member
**
Karma: 88
Posts: 3384
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://lmgtfy.com/?q=ps%2F2+keyboard+arduino
Logged

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

sketch_jun15a:3: error: 'PS2Keyboard' does not name a type
sketch_jun15a.cpp: In function 'void setup()':
sketch_jun15a:6: error: 'keyboard' was not declared in this scope
sketch_jun15a.cpp: In function 'void loop()':
sketch_jun15a:14: error: 'keyboard' was not declared in this scope
sketch_jun15a:20: error: 'PS2_KC_ENTER' was not declared in this scope
sketch_jun15a:22: error: 'PS2_KC_ESC' was not declared in this scope



errors appear wat must i do when i copy the code from arduino link


Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you downloaded, and correctly installed, the required library?
Logged

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

sorry but i don't know how to install a library ,since i'm a newbie just few motths back i started arduino

could you help me out?
 smiley
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://arduino.cc/en/Guide/Environment#libraries
Logged

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

Basically libraries are code that someones already created allowing you to use functions for specific events. To obtain these libraries you most likeley have to google what are you looking for and find a good library and it would also help to read guides or other examples that have used the libraries to further understand what each piece of code means.  Once you find this library download it and make sure either to extract all files or save into MyComputer>Wherever you have arduino saved>libraries
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Actually MyComputer>Wherever you save your sketches>libraries.
Logged

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

thank you got it  smiley
Logged

Pages: [1]   Go Up
Jump to: