external mouse isse

Forum for discussion about the Langstone Microwave Transceiver that shares some features with the Portsdown. Wiki: https://wiki.microwavers.org.uk/Langstone_Project
Post Reply
ZL3TCM
Posts: 31
Joined: Thu Mar 16, 2017 5:28 am

external mouse isse

Post by ZL3TCM » Sun Oct 05, 2025 12:30 am

Hi Guys Rob ZL3TCM here

Im having an issue getting the external mouse compiled on a mini pro I keep getting this error , any ideas? Im no arduino expert so a bit lost at the moment

regards Rob


F:\langstone\Langstone-Mouse-main\Langstone-Mouse\Langstone-Mouse.ino: In function 'void setup()':
F:\langstone\Langstone-Mouse-main\Langstone-Mouse\Langstone-Mouse.ino:66:2: error: 'Mouse' was not declared in this scope
Mouse.begin();
^~~~~
F:\langstone\Langstone-Mouse-main\Langstone-Mouse\Langstone-Mouse.ino: In function 'void loop()':
F:\langstone\Langstone-Mouse-main\Langstone-Mouse\Langstone-Mouse.ino:79:3: error: 'Mouse' was not declared in this scope
Mouse.move(0,0,counts);
^~~~~
F:\langstone\Langstone-Mouse-main\Langstone-Mouse\Langstone-Mouse.ino:91:8: error: 'Mouse' was not declared in this scope
Mouse.click(MOUSE_LEFT);
^~~~~
F:\langstone\Langstone-Mouse-main\Langstone-Mouse\Langstone-Mouse.ino:91:20: error: 'MOUSE_LEFT' was not declared in this scope
Mouse.click(MOUSE_LEFT);
^~~~~~~~~~
F:\langstone\Langstone-Mouse-main\Langstone-Mouse\Langstone-Mouse.ino:91:20: note: suggested alternative: 'MOUSE_h'
Mouse.click(MOUSE_LEFT);
^~~~~~~~~~
MOUSE_h
F:\langstone\Langstone-Mouse-main\Langstone-Mouse\Langstone-Mouse.ino:105:8: error: 'Mouse' was not declared in this scope
Mouse.click(MOUSE_RIGHT);
^~~~~
F:\langstone\Langstone-Mouse-main\Langstone-Mouse\Langstone-Mouse.ino:105:20: error: 'MOUSE_RIGHT' was not declared in this scope
Mouse.click(MOUSE_RIGHT);
^~~~~~~~~~~
F:\langstone\Langstone-Mouse-main\Langstone-Mouse\Langstone-Mouse.ino:105:20: note: suggested alternative: 'MOUSE_h'
Mouse.click(MOUSE_RIGHT);
^~~~~~~~~~~
MOUSE_h
F:\langstone\Langstone-Mouse-main\Langstone-Mouse\Langstone-Mouse.ino:119:8: error: 'Mouse' was not declared in this scope
Mouse.click(MOUSE_MIDDLE);
^~~~~
F:\langstone\Langstone-Mouse-main\Langstone-Mouse\Langstone-Mouse.ino:119:20: error: 'MOUSE_MIDDLE' was not declared in this scope
Mouse.click(MOUSE_MIDDLE);
^~~~~~~~~~~~
F:\langstone\Langstone-Mouse-main\Langstone-Mouse\Langstone-Mouse.ino:119:20: note: suggested alternative: 'MOUSE_h'
Mouse.click(MOUSE_MIDDLE);
^~~~~~~~~~~~
MOUSE_h
exit status 1

Compilation error: 'Mouse' not found. Does your sketch include the line '#include <Mouse.h>'?

g4eml
Posts: 766
Joined: Thu Apr 26, 2018 9:36 am

Re: external mouse isse

Post by g4eml » Sun Oct 05, 2025 1:32 pm

As stated on GitHub the mouse emulation will only work on a ATMega32u4 processor as used in the Arduino Pro Micro. The Mini Pro is a completely different device using the ATMega328P. The Mouse.h library wont be available for that device.

Nowadays I recommend using the RP2040 Zero module which is cheaper and easier to program.

Colin G4EML

ZL3TCM
Posts: 31
Joined: Thu Mar 16, 2017 5:28 am

Re: external mouse isse

Post by ZL3TCM » Sun Oct 05, 2025 10:39 pm

Thanks Colin you put me on the correct track , why a pro micro? well its what I had around here already. BTW Pi stuff over here is not cheap. Anyhow I found I had selected the wrong board in the IDE all sorted and working now

Cheers Rob ZL3TCM

Main issue now is reliable start up as more often than not the pi starts but the Pluto seems to go into a start restart mode, some times even looks like its working with a waterfall display but not actually receiving anything. Using a Pi 27W power supply to run everything on, does not get warm so Im guessing its ok, I see comments about USB cables causing issues has anyone found a reliable source of good quality USB cables?

ZL3TCM
Posts: 31
Joined: Thu Mar 16, 2017 5:28 am

Re: external mouse isse

Post by ZL3TCM » Mon Oct 06, 2025 6:07 am

looks like I have solved my problem mysel , it appears the pluto likes 5v and the raspberry pi 5 likes 5.1v ish so sorted that out and now have reliable power up and operation.

Rob

Post Reply

Return to “The Langstone Microwave Transceiver”