Loading...
Pages: [1]   Go Down
Author Topic: How to use 'Mouse.begin()' for ArduinoUNO?  (Read 752 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have an ARDUINO-UNO and I would like to use it for controlling the mouse.

Writing my code there is the errore about the "Mouse.begin()":
'Mouse' only supported on the Arduino Leonardo.

Do you know if there is a way to use with Arduino Uno this set of mouse controlling functionalities?

thanks,
Logged

Offline Offline
Edison Member
*
Karma: 15
Posts: 1003
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No.

It's possible to get the uno to act as a mouse if you reprogram the usb chip, but then you have to find another way of uploading.

http://lmgtfy.com/?q=arduino+uno+mouse
Logged

Austin, TX
Offline Offline
Faraday Member
**
Karma: 41
Posts: 5166
CMiYC
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Mouse() and Keyboard() only work on the Leonardo.
Logged

www.cmiyc.com - A guide to being an Enginerd

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

Suggestions?? without re-programming the ATmega8U2/16U2???
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 19
Posts: 3118
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Suggestions?? without re-programming the ATmega8U2/16U2???

If you don't want to do that, then another option is a program on your PC that takes serial input from the Arduino and moves the mouse pointer.
Logged

Pages: [1]   Go Up
Print
 
Jump to: