Go Down

Topic: ps\2 keybord and mouse and arduino (Read 2 times) previous topic - next topic

karthikreddy

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

karthikreddy

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


karthikreddy

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



dxw00d

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

karthikreddy

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?
:)

dxw00d

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

flore1nr

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

dxw00d

Actually MyComputer>Wherever you save your sketches>libraries.


Go Up