92Views4Replies

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

The forums are retiring in 2021 and are now closed for new topics and comments.
0
WWC
WWC

8 years ago

Found out,

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

0
mpilchfamily
mpilchfamily

Answer 8 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
Jayefuu
Jayefuu

8 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
WWC
WWC

Answer 8 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.