i came back to programming on Arduino… i have installed the new IDE 2.3.3 and i was trying to upload to a digispark attiny85 a simple mouse jiggler script to do some test… when i try to compile the script i get this error:
C:UsersFABIODocumentsArduinoMouse_jiggler_Digispark85Mouse_jiggler_Digispark85.ino:1:10: fatal error: DigiMouse.h: No such file or directory
#include <DigiMouse.h>
^~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: DigiMouse.h: No such file or directory
I was trying to find a library zip file to install but i can’t find anything that work…
here is the script:
#include <DigiMouse.h>
void setup(){
DigiMouse.begin();
pinMode(1, OUTPUT);
}
void loop() {
while(true) {
digitalWrite(1, HIGH);
DigiMouse.move(2,0,0); // 2px right
DigiMouse.delay(50);
DigiMouse.move(-2,0,0); // 2px left
digitalWrite(1, LOW);
DigiMouse.delay(3000);
}
}
thanks
I have tried to install this library DigiCombo by ES factory and searched on web for some zip library files
Fabio Mignone is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.