85Views4Replies

Author Options:

What is the fix? Answered

I see this kind of error fairly often.  NOT DECLARED. 

This example is from the Arduino web   sitehttp://arduino.cc/en/Tutorial/MouseContinuousDrawing

I
s there some rule to follow to fix these errors?

Tags:Arduion

Discussions

0
None
WWC

7 years ago

Found out,

This a Leonardo sketch only. I guess not compatible with other Arduino's.

0
None
mpilchfamilyWWC

Answer 7 years ago

Thats correct. The older Arduinos don't have built in Mouse and Keyboard functionality. The new Arduinos use a different USB interface chip which give it native mouse and keyboard functionality.

0
None
Jayefuu

7 years ago

This one is simpler and calls the same function. Do you get the same problem when running this?

http://arduino.cc/en/Reference/MouseMove

What hardware are you using? What version of the Arduino IDE?

0
None
WWCJayefuu

Answer 7 years ago

Yes same problem in 23 and 1.0.
Do you get an error if you run it?

I will down load the latest IDE and give it a try.

I have not built this yet, only check if it will compile first. If that's what you mean by hardware.