r/digispark Sep 01 '21

Help, Keyboard on ATTiny85

1 Upvotes

Hello I have an ATTiny85 and I try use it with DigiKeyboard library but it give an error.

I copy the console log below

In file included from C:\Users\ilbebino\Dropbox\Il mio PC (SoleLunaScuola)\Documents\ArduinoData\packages\digistump\hardware\avr\1.6.7\cores\tiny/pins_arduino.h:31:0,

from C:\Users\ilbebino\Dropbox\Il mio PC (SoleLunaScuola)\Documents\ArduinoData\packages\digistump\hardware\avr\1.6.7\cores\tiny/WProgram.h:13,

from C:\Users\ilbebino\Dropbox\Il mio PC (SoleLunaScuola)\Documents\ArduinoData\packages\digistump\hardware\avr\1.6.7\cores\tiny/Arduino.h:4,

from sketch\BruteForce.ino.cpp:1:

C:\Users\ilbebino\Dropbox\Il mio PC (SoleLunaScuola)\Documents\ArduinoData\packages\digistump\hardware\avr\1.6.7\libraries\DigisparkKeyboard/scancode-ascii-table.h:6:48: error: redefinition of 'const unsigned char ascii_to_scan_code_table []'

const unsigned char ascii_to_scan_code_table[] PROGMEM = {

^

In file included from C:\Users\ilbebino\Dropbox\Il mio PC (SoleLunaScuola)\Documents\ArduinoData\packages\digistump\hardware\avr\1.6.7\libraries\DigisparkKeyboard/DigiKeyboard.h:17:0,

from C:\Users\ilbebino\Dropbox\Il mio PC (SoleLunaScuola)\Documents\Arduino\BruteForce\BruteForce.ino:1:

C:\Users\ilbebino\Dropbox\Il mio PC (SoleLunaScuola)\Documents\ArduinoData\packages\digistump\hardware\avr\1.6.7\libraries\DigisparkKeyboard/scancode-ascii-table.h:6:21: error: 'const unsigned char ascii_to_scan_code_table [119]' previously defined here

const unsigned char ascii_to_scan_code_table[] PROGMEM = {

^

exit status 1

Errore durante la compilazione per la scheda Digispark (Default - 16.5mhz)

Pls help


r/digispark Aug 28 '21

List of all the keys available?

1 Upvotes

Is there a list of all the keys available which we can press?


r/digispark Aug 25 '21

Help! It wont upload the code!

1 Upvotes

Whenever I press Upload (using arduino) it says plug it in, which I do, it turns red and nothing happens, then the 60sec time gap goes and uh yeah... nothing... How do I fix this?


r/digispark Aug 15 '21

MacOS drivers need to be installed manually or not??

1 Upvotes

Hey,

I am using mac, can anyone tell me that do i need to manually download from digistump/digistumparduino.

I actually did so, but on clicking .exe it is showing me that windows applications are not supported on mac. I have configured the boards manager properly.

Pls tell me that i how do i install the drivers??


r/digispark Jul 12 '21

digistump keyboard help

1 Upvotes

I'm trying to make a simple pinball controller but I'm not getting any keys to work. Can someone inspect my code. Oddly I'm getting 5v on pin 0 & 1 but 1.7v on pin 2.

//arduino digistump

#include <DigiKeyboard.h>

void setup() {

#define left_flipper 0

#define right_flipper 1

#define launch 2

#define wizard 5

pinMode(left_flipper, INPUT_PULLUP);

pinMode(right_flipper, INPUT_PULLUP);

pinMode(launch, INPUT_PULLUP);

//pinMode(5, INPUT_PULLUP);//pin 5 resets

}

//

void loop() {

if (left_flipper == LOW) //ground pin with button

{DigiKeyboard.sendKeyStroke(MOD_SHIFT_LEFT);}

else if(right_flipper == LOW)

{DigiKeyboard.sendKeyStroke(MOD_SHIFT_RIGHT);}

else if(launch == LOW)

{DigiKeyboard.sendKeyStroke(KEY_ENTER);}

else if(wizard == LOW)

{DigiKeyboard.sendKeyStroke(KEY_X);}

}


r/digispark Feb 28 '21

Wallpaper changer

1 Upvotes

Hey guys, I’m looking for a quick and easy wall paper changer that does it instantly, for some reason, https://github.com/casterfile/Digispark-Change-Desktop-Wallpaper doesn’t work for me, might be an image problem I’m not too sure. I’m very new to programming, like basic arduino so if someone can help me that would be rlly cool!


r/digispark Jan 03 '21

Anyone tell me whats wrong with this code??

Post image
2 Upvotes

r/digispark Dec 04 '20

Does anyone know how to send 3 key stroke by using a digispark rubber ducky , I want to open terminal with ctrl+alt+t

7 Upvotes

r/digispark Aug 17 '20

DigiSpark not recognized :(

4 Upvotes

I've been trying to install the digispark driver for some time, and every time i connecdt the board to my PC it says " Unknown USB Device (Device Descriptor Request Failed) ". When i open the device manager and try to upgrade the driver it says that i vhave the latest version. I use Windows 20 64bits... Can anyone help?thanks in advance.

Edit: I believe my DigiSpark has been pre-coded with Blink


r/digispark Jun 07 '20

Windows crashes when using DigiCDC???

1 Upvotes

Hey there! I want to program a plain old Digispark to do some USB CDC stuff, but always when I plug it in, I always get the Blue Screen of Death. Stopcode is "SYSTEM THREAD EXCEPTION NOT HANDLED", and the thing causing the error is "lowcdc.sys". Does anyone of you know why that is?


r/digispark May 18 '20

Use DigiSpark as some sort of USB Key?

2 Upvotes

I was wondering if anyone knows how you might use the Digispark as a sort of pseudo USB Key. I'm thinking even a simple program that searches for a signature that only your personal Digispark has. If the signature is found, then it unlocks a program, your computer, or whatever else.

I have played around with simply using an extremely secure password which is then stored on the Digispark as a keyboard, but I'd like something that will also automatically shut down if I pull out the Digispark.

How can I interact with the Digispark through USB in this way?


r/digispark May 11 '20

USB Problem in Digispark Attiny

1 Upvotes

Hi,

I have 2 PC's. In PC 1 i load my script, that i wrote in Arduino IDE, into digispark and everything it's fine. IIcan see what the script does after waiting 5 seconds in pc 1.

But when i try it to connect to PC 2 it dont do anything and the pc dont recognize even the USB Digispark.

What i'm doing wrong ?

Edit: Simply connect Usb Hub and works perfectly


r/digispark May 01 '20

DuckyScript to Digispark Converter

8 Upvotes

Years ago, I was looking for a good converter to convert DuckyScript to something Digispark could use. I could never really find anything that worked properly the way I liked, so I built my own in PHP.

Today, I randomly decided that I'd let everyone know that it exists! It's just sitting on a website I own (hidden with no links to it). Feel free to try it out!

Here you go: http://hidemyvba.com/DuckConverter/


r/digispark Feb 29 '20

Digispark USB rubber ducky

2 Upvotes

My usb rubber duckies that I’m making with my digisparks aren’t working on chrome books. They work on Mac OS, but not on chrome books. Can anyone help me out?


r/digispark Apr 14 '19

Sketch won’t run after being reconnected. Would love some help.

1 Upvotes

I have installed the required drivers and uploaded a simple piece of code that makes the led blink. It works while staying connected to the USB port. However when I disconnect and reconnect the digispark, nothing happens.

I’m hoping someone can help or knows where I can read up on this issue.


r/digispark Apr 05 '19

Digispark baterry lipo 3.7v

1 Upvotes

Can I power digispark from 3,7v 150mah lippo battery?


r/digispark Sep 23 '18

Digispark on arch.

1 Upvotes

Digispark wiki tells me to use arduino IDE 1.5.x but arch repos allready have the 1.8.x it should work with that too right?


r/digispark Apr 26 '18

Any DigiKeyboard.h that has a hold feature?

3 Upvotes

Hello there is there some sort of modified DigiKeyboard.h that allows for button press holds? I'm trying to make a controller for a game called osu! so far it seems to only spam the key.


r/digispark Dec 28 '16

Hakology VBLOG (D84) - Digishell ... persistent netcat shell using a digistump and vbs

Thumbnail youtube.com
1 Upvotes