Added /build to gitignore
This commit is contained in:
parent
a321779593
commit
19de389bbe
|
@ -1 +1,2 @@
|
|||
.vscode
|
||||
.vscode
|
||||
/build
|
||||
|
|
|
@ -17,8 +17,6 @@ void setup(){
|
|||
|
||||
initSteppers();
|
||||
initXStepper();
|
||||
|
||||
moveStepper(StepperAxis::Y, 10000, 1000);
|
||||
}
|
||||
|
||||
float position = 0;
|
||||
|
@ -43,6 +41,7 @@ void loop(){
|
|||
// Serial.println(right);
|
||||
|
||||
if (Serial.available() > 0){
|
||||
beginGrabSequence();
|
||||
Serial.flush();
|
||||
}
|
||||
|
||||
|
@ -51,6 +50,8 @@ void loop(){
|
|||
}
|
||||
|
||||
void beginGrabSequence(){
|
||||
moveStepper(StepperAxis::Y, 10000, -1000);
|
||||
moveStepper(StepperAxis::Y, 10000, -1000);
|
||||
moveStepper(StepperAxis::Head, 100000, 75);
|
||||
moveStepper(StepperAxis::Y, 10000, 0);
|
||||
moveStepper(StepperAxis::Head, 1000, 0, 100);
|
||||
moveStepper(StepperAxis::Y, 10000, 1000);
|
||||
}
|
||||
|
|
|
@ -32,6 +32,9 @@ void initSteppers(){
|
|||
steppers[i].connectToPins(stepPins[i], dirPins[i]);
|
||||
steppers[i].setStepsPerRevolution(200);
|
||||
}
|
||||
|
||||
moveStepper(StepperAxis::Y, 10000, 1000);
|
||||
steppers[StepperAxis::Y]
|
||||
}
|
||||
|
||||
// void stepperLoop(){
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
:00000001FF
|
Binary file not shown.
|
@ -1,577 +0,0 @@
|
|||
:100000000C943C010C946D010C946D010C946D01E9
|
||||
:100010000C946D010C946D010C946D010C946D01A8
|
||||
:100020000C946D010C946D010C946D010C946D0198
|
||||
:100030000C946D010C94B3080C946D010C946D013B
|
||||
:100040000C946D010C946D010C946D010C946D0178
|
||||
:100050000C946D010C946D010C946D010C94690865
|
||||
:100060000C946D010C943D090C9413090C946D01D2
|
||||
:100070000C946D010C946D010C946D010C946D0148
|
||||
:100080000C946D010C946D010C946D010C946D0138
|
||||
:100090000C946D010C946D010C946D010C946D0128
|
||||
:1000A0000C946D010C946D010C946D010C946D0118
|
||||
:1000B0000C946D010C946D010C946D010C946D0108
|
||||
:1000C0000C946D010C946D010C946D010C946D01F8
|
||||
:1000D0000C946D010C946D010C946D010C946D01E8
|
||||
:1000E0000C946D010C945E030C94CE010C94C80129
|
||||
:1000F0000C94AB030C9473090C949F010C94C802EC
|
||||
:100100000C94C4010C94D2010C94A2010C94180319
|
||||
:100110000C94AC010C9426030C949B010C948D015F
|
||||
:100120000C94FC030C94BA010C9404030C94F50297
|
||||
:100130000C9493010C94CD010C94A8010C943B08F1
|
||||
:100140000C94C0010C94B2010C94B6010C9497016C
|
||||
:100150000C9402040200002100240027002A002D34
|
||||
:10016000003000330001010000040107010A010012
|
||||
:10017000002200250028002B002E00310034000250
|
||||
:10018000010000050108010B0100002000230026EA
|
||||
:100190000029002C002F003200000100000301069E
|
||||
:1001A00001090105050505070508080808020202FE
|
||||
:1001B000020A0A0808040404040101010101010102
|
||||
:1001C000010303030303030303040707070C0C0CD9
|
||||
:1001D0000C0C0C0C0C0202020206060606060606B1
|
||||
:1001E000060B0B0B0B0B0B0B0B010210202008084E
|
||||
:1001F0001020401020408002010201080402010189
|
||||
:100200000204081020408080402010080402018071
|
||||
:1002100004020180402010080402010804020101C8
|
||||
:1002200002040810204080010204081020408000D1
|
||||
:10023000000A0B02090C0D0E080703040100000060
|
||||
:1002400000000000000000000000000000000000AE
|
||||
:10025000000000000000000000000012111000006B
|
||||
:10026000000000000000000000000000000000008E
|
||||
:10027000000000000000730911241FBECFEFD1E27F
|
||||
:10028000DEBFCDBF00E00CBF12E0A0E0B2E0E4EBC7
|
||||
:10029000F3E200E00BBF02C007900D92A433B10758
|
||||
:1002A000D9F723E0A4E3B2E001C01D92AC3DB20750
|
||||
:1002B000E1F711E0CCE3D1E000E006C021970109AD
|
||||
:1002C000802FFE010E94A911CB33D10780E00807DF
|
||||
:1002D000A9F70E946B0A0C94D8110C94000081506D
|
||||
:1002E000823108F05AC0E82FF0E08827E558FE4F29
|
||||
:1002F0008F4F0C94A9119B019F018D0193019701D0
|
||||
:10030000CD01A201A801AC01B201B601BA01C00140
|
||||
:10031000C401CD01C801CE01D201809180008F7748
|
||||
:10032000809380000895809180008F7DF9CF809127
|
||||
:100330008000877FF5CF84B58F7784BD089584B51D
|
||||
:100340008F7DFBCF8091B0008F778093B0000895B0
|
||||
:100350008091B0008F7DF9CF809190008F7780934E
|
||||
:1003600090000895809190008F7DF9CF809190004A
|
||||
:10037000877FF5CF8091A0008F778093A0000895AC
|
||||
:100380008091A0008F7DF9CF8091A000877FF5CF6D
|
||||
:10039000809120018F778093200108958091200122
|
||||
:1003A0008F7DF9CF80912001877FF5CFCF93DF93A9
|
||||
:1003B000282F30E0F901E15DFD4F8491F901E7510B
|
||||
:1003C000FE4FD491F901ED55FE4FC491CC23A1F01D
|
||||
:1003D00081110E946F01EC2FF0E0EE0FFF1FE75735
|
||||
:1003E000FE4FA591B491EC91ED2381E090E009F4EA
|
||||
:1003F00080E0DF91CF91089580E090E0FACF1F93E5
|
||||
:10040000CF93DF93282F30E0F901E15DFD4F849118
|
||||
:10041000F901E751FE4FD491F901ED55FE4FC4911A
|
||||
:10042000CC23A9F0162F81110E946F01EC2FF0E070
|
||||
:10043000EE0FFF1FE159FE4FA591B4918FB7F894CD
|
||||
:10044000EC91111108C0D095DE23DC938FBFDF91B2
|
||||
:10045000CF911F910895DE2BF8CFCF93DF9390E0DB
|
||||
:10046000FC01E751FE4F24918D559E4FFC01849174
|
||||
:100470008823D1F090E0880F991FFC01EB5AFE4FC2
|
||||
:10048000A591B491FC01E159FE4FC591D491623020
|
||||
:1004900071F49FB7F8943C91822F809583238C93BD
|
||||
:1004A000E8812E2B28839FBFDF91CF9108958FB7CE
|
||||
:1004B000F894EC912E2B2C938FBFF6CF3FB7F89486
|
||||
:1004C0008091550290915602A0915702B091580226
|
||||
:1004D00026B5A89B05C02F3F19F00196A11DB11D9F
|
||||
:1004E0003FBFBA2FA92F982F8827BC01CD01620FDB
|
||||
:1004F000711D811D911D42E0660F771F881F991F96
|
||||
:100500004A95D1F708959091000289130DC0E4E552
|
||||
:10051000F1E0E4919FEF90930002E230E1F038F4D3
|
||||
:10052000EE2381F0E13089F060E00C94FF01E430CB
|
||||
:1005300049F110F1E530C1F7909173009D7F9093E0
|
||||
:100540007300F2CF10926E00EFCF90916F009D7FFD
|
||||
:1005500090936F00E9CF909170009D7F9093700011
|
||||
:1005600091E09093B0009091B100987F9460909347
|
||||
:10057000B1001092B300D8CF909171009D7F9093FD
|
||||
:100580007100D2CF909172009D7F90937200CCCF7A
|
||||
:10059000AF92BF92CF92DF92EF92FF920F931F9391
|
||||
:1005A000CF93DF936C017B018B01040F151FEB01CF
|
||||
:1005B0005E01AE18BF08C017D10759F06991D60186
|
||||
:1005C000ED91FC910190F081E02DC6011995892BE8
|
||||
:1005D00079F7C501DF91CF911F910F91FF90EF90B7
|
||||
:1005E000DF90CF90BF90AF900895FC01538D448D64
|
||||
:1005F000252F30E0842F90E0821B930B541710F0CE
|
||||
:10060000CF96089501970895FC01918D828D9817DA
|
||||
:1006100061F0A28DAE0FBF2FB11D5D968C91928DB2
|
||||
:100620009F5F9F73928F90E008958FEF9FEF0895E3
|
||||
:10063000FC01918D828D981731F0828DE80FF11DAC
|
||||
:10064000858D90E008958FEF9FEF0895FC01918DC7
|
||||
:10065000228D892F90E0805C9F4F821B91098F73C0
|
||||
:100660009927089589E592E00E94260321E0892BCD
|
||||
:1006700009F420E0822F0895FC01A48DA80FB92F62
|
||||
:10068000B11DA35ABF4F2C91848D90E001968F73BA
|
||||
:100690009927848FA689B7892C93A089B1898C91D9
|
||||
:1006A000837080648C93938D848D981306C0028828
|
||||
:1006B000F389E02D80818F7D80830895EF92FF92F2
|
||||
:1006C0000F931F93CF93DF93EC0181E0888F9B8D75
|
||||
:1006D0008C8D98131AC0E889F989808185FF15C02F
|
||||
:1006E0009FB7F894EE89FF896083E889F989808152
|
||||
:1006F0008370806480839FBF81E090E0DF91CF9121
|
||||
:100700001F910F91FF90EF900895F62E0B8D10E042
|
||||
:100710000F5F1F4F0F731127E02E8C8D8E110CC0B1
|
||||
:100720000FB607FCFACFE889F989808185FFF5CFFC
|
||||
:10073000CE010E943C03F1CFEB8DEC0FFD2FF11D9C
|
||||
:10074000E35AFF4FF0829FB7F8940B8FEA89FB8939
|
||||
:1007500080818062CFCFCF93DF93EC01888D882397
|
||||
:10076000B9F0AA89BB89E889F9898C9185FD03C014
|
||||
:10077000808186FD0DC00FB607FCF7CF8C9185FFF9
|
||||
:10078000F2CF808185FFEDCFCE010E943C03E9CFFF
|
||||
:10079000DF91CF91089580E090E0892B29F00E94AD
|
||||
:1007A000320381110E94000080E090E0892B49F023
|
||||
:1007B00080E090E0892B29F00E94000081110E94C6
|
||||
:1007C000000080E090E0892B49F080E090E0892BE8
|
||||
:1007D00029F00E94000081110E94000080E090E05A
|
||||
:1007E000892B49F080E090E0892B29F00E940000DD
|
||||
:1007F00081110C940000089521E030E0FC01378B5A
|
||||
:10080000268B089521E030E0FC0136A725A7089546
|
||||
:100810002F923F924F925F926F927F928F929F9210
|
||||
:10082000AF92BF92CF92DF92EF92FF920F931F93FE
|
||||
:10083000CF93DF93EC01698D7A8D8B8D9C8DA9A46C
|
||||
:10084000BAA40BA51CA5611571058105910509F4D4
|
||||
:1008500080C00E940B102DA13EA14FA158A50E945F
|
||||
:10086000C21020E034E244E759E40E94630F962E60
|
||||
:10087000872E382E292ECD8CDE8CEF8CF8A049A047
|
||||
:100880005AA06BA07CA0A3019201C701B6010E94EF
|
||||
:10089000BD101816D4F4292D382D432D522DC30127
|
||||
:1008A000B2010E94F20E2B013C019B01AC01C70179
|
||||
:1008B000B6010E94BD10181614F026013701C201BE
|
||||
:1008C000D30189A39AA3ABA3BCA349A05AA06BA050
|
||||
:1008D0007CA0A3019201C701B6010E945E0F87FFB1
|
||||
:1008E0001AC0292D382D432D522DC301B2010E946B
|
||||
:1008F000F10E3B014C019B01AC01C701B6010E9406
|
||||
:100900005E0F87FD02C036014701C301D40189A3F0
|
||||
:100910009AA3ABA3BCA349A05AA06BA07CA020E0E3
|
||||
:1009200030E0A901C301B2010E94BD1018160CF4F9
|
||||
:10093000FCC277FA709477F87094A3019201B50124
|
||||
:10094000C8010E945E0F18160CF4F7C2A3019201B1
|
||||
:10095000DDC29A2C8B2C302E212E8DCF20E030E062
|
||||
:10096000A901C701B6010E945E0F8111EFCF81E09E
|
||||
:1009700090E09EA78DA719A21AA21BA21CA2198EF5
|
||||
:100980001A8E1B8E1C8E03C3E4E5F1E0149117FD53
|
||||
:100990005BC361E0802F0E942D02112319F01230F9
|
||||
:1009A00009F0F1C1F12CE12C60E072E18AE790E0FE
|
||||
:1009B000A70196010E948A1129013A01BA01A901F1
|
||||
:1009C00041505109610971094F3F51056105710598
|
||||
:1009D00009F00CF4BDC160E472E48FE090E0A7017F
|
||||
:1009E00096010E948A11BA01A90141505109610979
|
||||
:1009F0007109123009F069C182E04F3F510561056C
|
||||
:100A0000710509F00CF463C060E970ED83E090E0DB
|
||||
:100A1000A70196010E948A11BA01A901415051090A
|
||||
:100A20006109710983E04F3F51056105710509F0C6
|
||||
:100A30000CF44DC068E478EE81E090E0A7019601E7
|
||||
:100A40000E948A11BA01A901415051096109710935
|
||||
:100A500084E04F3F510561057105C9F1C4F164E2BD
|
||||
:100A600074EF80E090E0A70196010E948A11BA011C
|
||||
:100A7000A901415051096109710985E04F3F5105B4
|
||||
:100A80006105710521F118F162E17AE780E090E0FB
|
||||
:100A9000A70196010E948A11BA01A901415051098A
|
||||
:100AA0006109710986E04F3F51056105710579F0D3
|
||||
:100AB00070F0B301A2019AE0759567955795479537
|
||||
:100AC0009A95D1F7415051096109710987E09091D8
|
||||
:100AD000B100987F892B8093B100123009F4F5C1E1
|
||||
:100AE0000CF0ECC1112309F43AC1113009F0ACC289
|
||||
:100AF00078C100930002E4E5F1E01491812F1F3FDB
|
||||
:100B000009F4A2C2123009F475C060F41123A1F1F6
|
||||
:100B1000113009F44DC087FD97C261E0802F0E941B
|
||||
:100B20002D023DCF143009F4AEC008F489C0153051
|
||||
:100B300091F710922001109221018091210188608B
|
||||
:100B40008093210180912101816080932101802F78
|
||||
:100B500090E0FC01ED55FE4FE491F0E0EE0FFF1F39
|
||||
:100B6000E159FE4F25913491FC01E751FE4FE4918C
|
||||
:100B7000E093340215E00DCF14BC15BC84B582603F
|
||||
:100B800084BD85B5816085BD802F90E0FC01ED5569
|
||||
:100B9000FE4FE491F0E0EE0FFF1FE159FE4F25916B
|
||||
:100BA0003491FC01E751FE4FE491E0933802F1CE1D
|
||||
:100BB0001092800010928100809181008860809363
|
||||
:100BC000810080918100816080938100802F90E07E
|
||||
:100BD000FC01ED55FE4FE491F0E0EE0FFF1FE159EF
|
||||
:100BE000FE4F25913491FC01E751FE4FE491E093D3
|
||||
:100BF0003702CFCE1092B0001092B1008091B000B9
|
||||
:100C000082608093B0008091B10081608093B100D8
|
||||
:100C1000802F90E0FC01ED55FE4FE491F0E0EE0FE7
|
||||
:100C2000FF1FE159FE4F2591349130934E022093DE
|
||||
:100C30004D02FC01E751FE4FE491E0934F02A9CE33
|
||||
:100C400010929000109291008091910088608093A2
|
||||
:100C5000910080919100816080939100802F90E0BD
|
||||
:100C6000FC01ED55FE4FE491F0E0EE0FFF1FE1595E
|
||||
:100C7000FE4F25913491FC01E751FE4FE491E09342
|
||||
:100C8000360213E086CE1092A0001092A10080914F
|
||||
:100C9000A10088608093A1008091A1008160809371
|
||||
:100CA000A100802F90E0FC01ED55FE4FE491F0E0B3
|
||||
:100CB000EE0FFF1FE159FE4F25913491FC01E751E2
|
||||
:100CC000FE4FE491E093350264CE4F3F510561053C
|
||||
:100CD000710509F00CF455C068E478EE81E090E00D
|
||||
:100CE000A70196010E948A11BA01A9014150510938
|
||||
:100CF0006109710984E01111C1CE83E04F3F5105B4
|
||||
:100D00006105710541F13CF162E17AE780E090E034
|
||||
:100D1000A70196010E948A11BA01A9014150510907
|
||||
:100D20006109710984E04F3F51056105710599F032
|
||||
:100D300090F0B301A2018AE07595679557954795A4
|
||||
:100D40008A95D1F7415051096109710985E003C0C5
|
||||
:100D500081E01111BCCE95B5987F892B85BD47BD2B
|
||||
:100D60008FEF9FEFDC018093490290934A02A0939A
|
||||
:100D70004B02B0934C0280916E00826080936E00B3
|
||||
:100D800063C182E0E6CFF12CE12C60E072E18AE7FA
|
||||
:100D900090E0A70196010E948A11BA01A901415071
|
||||
:100DA00051096109710991E04115510581E0680718
|
||||
:100DB00071057CF068E478EE81E090E0A70196018F
|
||||
:100DC0000E948A11BA01A9014150510961097109B2
|
||||
:100DD00093E01130D9F480918100887F892B809332
|
||||
:100DE000810050938900409388008FEF9FEFDC01D2
|
||||
:100DF0008093450290934602A0934702B093480225
|
||||
:100E000080916F00826080936F001EC11330D9F40F
|
||||
:100E100080919100887F892B809391005093990055
|
||||
:100E2000409398008FEF9FEFDC01809341029093F5
|
||||
:100E30004202A0934302B093440280917100826009
|
||||
:100E40008093710001C11430D9F48091A100887F92
|
||||
:100E5000892B8093A1005093A9004093A8008FEFA5
|
||||
:100E60009FEFDC0180933D0290933E02A0933F02EE
|
||||
:100E7000B093400280917200826080937200E4C05F
|
||||
:100E8000153009F02ACE80912101887F892B80932B
|
||||
:100E9000210150932901409328018FEF9FEFDC013E
|
||||
:100EA0008093390290933A02A0933B02B0933C02A4
|
||||
:100EB00080917300826080937300C6C0143059F231
|
||||
:100EC0000CF4ACCF153029F3BFC04093B3008FEFC3
|
||||
:100ED0009FEFDC018093500290935102A093520245
|
||||
:100EE000B093530280917000826080937000ACC018
|
||||
:100EF000802F0E948302A8C09501A801C701B601F6
|
||||
:100F00000E94BD1087FF31C0A701960160E074E226
|
||||
:100F100084E799E40E94630F0E94DC0F698F7A8F47
|
||||
:100F20008B8F9C8F82E090E030C09501A801C301B7
|
||||
:100F3000B2010E94BD1087FF09CD20E030E0A90179
|
||||
:100F4000C701B6010E94BD101816B4F22601370180
|
||||
:100F500077FA709477F87094A3019201B501C801F3
|
||||
:100F60000E945E0F18160CF4F9CC9501A80160E000
|
||||
:100F700074E284E799E40E94630F0E94DC0F698F9A
|
||||
:100F80007A8F8B8F9C8F83E090E09EA78DA78F85B3
|
||||
:100F90008F3F61F0898D9A8DAB8DBC8DB695A795ED
|
||||
:100FA00097958795898F9A8FAB8FBC8F898D9A8DF6
|
||||
:100FB000AB8DBC8D892B8A2B8B2BC1F020E030E0D0
|
||||
:100FC000A90169A17AA18BA19CA10E945E0F881F33
|
||||
:100FD0008827881F11E018278A89811739F08989A5
|
||||
:100FE0008F3F21F0612F0E94FF011A8B898C9A8C10
|
||||
:100FF000AB8CBC8C0C8181149104A104B10409F464
|
||||
:1010000077CFC501B4010E940B109B01AC0160E0D9
|
||||
:1010100074E284E799E40E94630F6B017C0120E095
|
||||
:1010200030E048EF51E40E94BD1087FD61CFC70159
|
||||
:10103000B6010E94DC0F6B0180910002801709F459
|
||||
:10104000A3CC8F3F09F455CD8D829E82AF82B886A6
|
||||
:10105000DF91CF911F910F91FF90EF90DF90CF9094
|
||||
:10106000BF90AF909F908F907F906F905F904F90C8
|
||||
:101070003F902F9008951F93CF93DF93EC018DA5A0
|
||||
:101080009EA5029771F4888911E0813009F410E07F
|
||||
:10109000811739F08F858F3F21F0612F0E94FF016A
|
||||
:1010A000188B29A13AA14BA15CA16D8D7E8D8F8DEE
|
||||
:1010B00098A10E945E0F882331F0CE01DF91CF917D
|
||||
:1010C0001F910C940804DF91CF911F9108950E9405
|
||||
:1010D000D3111F920F920FB60F9211242F933F93AB
|
||||
:1010E0008F939F93AF93BF938091F6029091F702F5
|
||||
:1010F000A091F802B091F9023091540223E0230F3D
|
||||
:101100002D3758F50196A11DB11D209354028093EF
|
||||
:10111000F6029093F702A093F802B093F90280913F
|
||||
:10112000550290915602A0915702B0915802019633
|
||||
:10113000A11DB11D8093550290935602A0935702B2
|
||||
:10114000B0935802BF91AF919F918F913F912F9192
|
||||
:101150000F900FBE0F901F90189526E8230F029650
|
||||
:10116000A11DB11DD2CF1F920F920FB60F92112465
|
||||
:101170000BB60F922F933F934F935F936F937F9391
|
||||
:101180008F939F93AF93BF93EF93FF938091500200
|
||||
:1011900090915102A0915202B0915302892B8A2B57
|
||||
:1011A0008B2BE1F190914F02E0914D02F0914E02B4
|
||||
:1011B0008081892780838091500290915102A09173
|
||||
:1011C0005202B0915302181619061A061B069CF417
|
||||
:1011D0008091500290915102A0915202B09153021D
|
||||
:1011E0000197A109B1098093500290935102A093F5
|
||||
:1011F0005202B0935302FF91EF91BF91AF919F9133
|
||||
:101200008F917F916F915F914F913F912F910F90AF
|
||||
:101210000BBE0F900FBE0F901F901895809100028B
|
||||
:101220000E948302E8CF1F920F920FB60F921124F3
|
||||
:101230000BB60F922F933F934F935F936F937F93D0
|
||||
:101240008F939F93AF93BF93EF93FF9389E592E0C2
|
||||
:101250000E943C03FF91EF91BF91AF919F918F91BD
|
||||
:101260007F916F915F914F913F912F910F900BBEA6
|
||||
:101270000F900FBE0F901F9018951F920F920FB6F0
|
||||
:101280000F9211240BB60F922F938F939F93EF938E
|
||||
:10129000FF93E0916902F0916A028081E0916F0210
|
||||
:1012A000F091700282FD1DC09081809172028F5F6B
|
||||
:1012B0008F7320917302821741F0E0917202F0E087
|
||||
:1012C000E75AFD4F958F80937202FF91EF919F91A6
|
||||
:1012D0008F912F910F900BBE0F900FBE0F901F900C
|
||||
:1012E00018958081F2CF10925C0210925B0288EE1A
|
||||
:1012F00093E0A0E0B0E080935D0290935E02A09343
|
||||
:101300005F02B093600287E192E090935A0280936B
|
||||
:10131000590285EC90E0909366028093650284EC1C
|
||||
:1013200090E0909368028093670280EC90E0909345
|
||||
:101330006A028093690281EC90E090936C02809342
|
||||
:101340006B0282EC90E090936E0280936D0286ECCB
|
||||
:1013500090E09093700280936F021092720210924C
|
||||
:1013600073021092740210927502E1E3F3E080E0E0
|
||||
:1013700090E0A8E4B3E440E050E068EC71E410824F
|
||||
:101380001182828B938BA48BB58B46875787608B9A
|
||||
:10139000718B15AA16AA17AA10AE82839383A48311
|
||||
:1013A000B58386839783A087B18711AA12AA13AA4F
|
||||
:1013B00014AAF99623E0EC3DF20709F782E093E0E6
|
||||
:1013C00090930503809304038FEF8093060310929C
|
||||
:1013D0000703109208031092090310920A03109257
|
||||
:1013E0000B0310920C0310920D0310920E0329E1CF
|
||||
:1013F00033E03093100320930F038093110392E0A6
|
||||
:101400009093120380931303909314038093150316
|
||||
:101410009093160381E08093170380931803109232
|
||||
:101420001B0310921C0310921D0310921E031092B6
|
||||
:101430001F03109220031092210310922203109296
|
||||
:10144000230310922403109225031092260380E0B8
|
||||
:1014500090E0AAE7B4E48093270390932803A09335
|
||||
:101460002903B0932A0382E79BEFACEFB1E48093AA
|
||||
:101470002B0390932C03A0932D03B0932E03109273
|
||||
:10148000300310922F0389E292E09093030380933C
|
||||
:10149000020381E392E090931A03809319032FB71C
|
||||
:1014A000F8948091F6029091F702A091F802B09121
|
||||
:1014B000F9022FBF8093FA029093FB02A093FC02E3
|
||||
:1014C000B093FD021092FE021092FF0210920003F0
|
||||
:1014D000109201030895789484B5826084BD84B528
|
||||
:1014E000816084BD85B5826085BD85B5816085BD1F
|
||||
:1014F00080916E00816080936E00109281008091D7
|
||||
:10150000810082608093810080918100816080935E
|
||||
:101510008100809180008160809380008091B10083
|
||||
:1015200084608093B1008091B00081608093B000AE
|
||||
:101530008091910082608093910080919100816000
|
||||
:1015400080939100809190008160809390008091C1
|
||||
:10155000A10082608093A1008091A10081608093AE
|
||||
:10156000A1008091A00081608093A0008091210162
|
||||
:10157000826080932101809121018160809321010B
|
||||
:101580008091200181608093200180917A008460A5
|
||||
:1015900080937A0080917A00826080937A008091B3
|
||||
:1015A0007A00816080937A0080917A0080688093CD
|
||||
:1015B0007A001092C100E0916902F0916A0282E023
|
||||
:1015C0008083E0916502F09166021082E0916702EB
|
||||
:1015D000F091680280E1808310927102E0916D02C7
|
||||
:1015E000F0916E0286E08083E0916B02F0916C02D4
|
||||
:1015F000808180618083E0916B02F0916C02808138
|
||||
:1016000088608083E0916B02F0916C028081806839
|
||||
:101610008083E0916B02F0916C0280818F7D8083EA
|
||||
:1016200062E083E00E942D0262E082E00E942D02CF
|
||||
:101630000DE012E067E0E62E62E0F62EC1E0D2E0B7
|
||||
:1016400073E1672E72E0772E6E0157014801D401D5
|
||||
:101650008C91B2E08B0E911C61E00E942D02F5018D
|
||||
:101660008081F2E0AF0EB11C61E00E942D02D60134
|
||||
:101670005C90B2E0CB0ED11C61E0852D0E942D0262
|
||||
:1016800061E0852D0E94FF016814790401F731E3C0
|
||||
:10169000C32E33E0D32E47E0642E42E0742E812C1B
|
||||
:1016A000912C58E4A52E53E4B52E8881229660E053
|
||||
:1016B0000E94FF01F7019081F2E0EF0EF11CD801CA
|
||||
:1016C0008C910E5F1F4FF6018083918361E00E9431
|
||||
:1016D0002D0260E0D6018C910E94FF0161E0F601CD
|
||||
:1016E00081810E942D0260E0D60111968C910E94AA
|
||||
:1016F000FF01F601828A938AA48AB58AF9E3CF0EA4
|
||||
:10170000D11C6C167D0689F661E086E30E942D02ED
|
||||
:1017100061E086E30E942D0286E38093060361E088
|
||||
:101720008FEF0E942D028FEF80931103C2E0C093D0
|
||||
:10173000120361E087E30E942D0287E38093130385
|
||||
:10174000C093140380910F0390911003DC01ED917D
|
||||
:10175000FC910190F081E02D199580E896E9A8E1CF
|
||||
:10176000BBE48093270390932803A0932903B093AD
|
||||
:101770002A0381E794EAA5E4B5E480932B039093D0
|
||||
:101780002C03A0932D03B0932E0361E086E20E9408
|
||||
:101790002D02C0903F03D0904003E0904103F090B1
|
||||
:1017A000420320E030E04AEF54E4C701B6010E9452
|
||||
:1017B000C2104B015C018092370390923803A092D3
|
||||
:1017C0003903B0923A0380E090E4ACE1B6E4809350
|
||||
:1017D000330390933403A0933503B093360320E092
|
||||
:1017E00030E04AE754E4C701B6010E94C2106B0121
|
||||
:1017F0007C0120E030E0A9010E94BD1020E030E033
|
||||
:1018000040E05FE387FDE7C1C701B6010E94F20E29
|
||||
:101810000E94D50F6B017C01C0923B03D0923C0328
|
||||
:10182000E0923D03F0923E03A5019401C501B4018D
|
||||
:101830000E94F20E4B015C010E9435119B01AC012C
|
||||
:1018400060E074E284E799E40E94630F60935203BE
|
||||
:1018500070935303809354039093550380E090E07A
|
||||
:10186000A8ECB2E48093480390934903A0934A0301
|
||||
:10187000B0934B03A501940160E27CEB8EEB9CE4FA
|
||||
:101880000E94630F4B015C0120E030E0A9010E943F
|
||||
:10189000BD1020E030E040E05FE387FDA1C1C5015D
|
||||
:1018A000B4010E94F20E0E94D50F60934C03709316
|
||||
:1018B0004D0380934E0390934F0380916603909164
|
||||
:1018C0006703A0916803B0916903C81AD90AEA0AAC
|
||||
:1018D000FB0A80913203F7FE88C1F094E094D09423
|
||||
:1018E000C094C11CD11CE11CF11C2FEF3FEF3093C1
|
||||
:1018F00051032093500361E00E94FF0180914C034B
|
||||
:1019000090914D03A0914E03B0914F03880F991F02
|
||||
:10191000AA1FBB1F8C159D05AE05BF0564F0F5948D
|
||||
:10192000E794D794C794C0924C03D0924D03E092B1
|
||||
:101930004E03F0924F038091520390915303A09174
|
||||
:101940005403B09155038093560390935703A0938B
|
||||
:101950005803B093590325EA34ED48E653E5609106
|
||||
:101960003703709138038091390390913A030E94B4
|
||||
:10197000630F60935E0370935F03809360039093A3
|
||||
:10198000610381E080934703C3E0D0E040916603A8
|
||||
:1019900050916703609168037091690380913B03E4
|
||||
:1019A00090913C03A0913D03B0913E034817590725
|
||||
:1019B0006A077B0709F421C180914703882361F0FE
|
||||
:1019C0000E945E0260935A0370935B0380935C03F2
|
||||
:1019D00090935D03109247030E945E026B017C01AD
|
||||
:1019E00080915A0390915B03A0915C03B0915D03D9
|
||||
:1019F00046015701881A990AAA0ABB0A6091560340
|
||||
:101A00007091570380915803909159030E94DC0F05
|
||||
:101A100086169706A806B90608F4B8CF80913B034E
|
||||
:101A200090913C03A0913D03B0913E034091660329
|
||||
:101A3000509167036091680370916903841B950B53
|
||||
:101A4000A60BB70BB7FF07C0B095A09590958195F1
|
||||
:101A50009F4FAF4FBF4F40914C0350914D0360914A
|
||||
:101A60004E0370914F0384179507A607B70789F4B3
|
||||
:101A700080915E0390915F03A0916003B091610338
|
||||
:101A8000B05880935E0390935F03A0936003B0937C
|
||||
:101A9000610361E0809131030E94FF01CE01019753
|
||||
:101AA000F1F78091500390915103092E000CAA0B7D
|
||||
:101AB000BB0B40916603509167036091680370917E
|
||||
:101AC0006903840F951FA61FB71F80936603909329
|
||||
:101AD0006703A0936803B0936903809056039090C6
|
||||
:101AE0005703A0905803B0905903809262039092DC
|
||||
:101AF0006303A0926403B092650320915E0330916A
|
||||
:101B00005F034091600350916103C501B4010E94DD
|
||||
:101B1000C210A50194010E94C2109B01AC0160E0BB
|
||||
:101B200070E080E89FE30E94F10EA50194010E94FD
|
||||
:101B3000C210609356037093570380935803909399
|
||||
:101B4000590360E0809131030E94FF0180904803B7
|
||||
:101B500090904903A0904A03B0904B03A5019401D3
|
||||
:101B600060915603709157038091580390915903E7
|
||||
:101B70000E945E0F87FF08C0809256039092570321
|
||||
:101B8000A0925803B0925903C0925A03D0925B03BB
|
||||
:101B9000E0925C03F0925D0340916603509167030D
|
||||
:101BA000609168037091690380913B0390913C03BD
|
||||
:101BB000A0913D03B0913E03481759076A077B0780
|
||||
:101BC00009F0E4CE10926203109263031092640352
|
||||
:101BD00010926503DBCEC701B6010E94F10E18CE4C
|
||||
:101BE000C501B4010E94F10E5ECE21E030E03093D9
|
||||
:101BF00051032093500360E07FCE8FB7F894C090DC
|
||||
:101C0000F602D090F702E090F802F090F9028FBF50
|
||||
:101C10008091FA029091FB02A091FC02B091FD022A
|
||||
:101C2000A7019601281B390B4A0B5B0BCA01B901AE
|
||||
:101C30000E940B1020E030E04AE754E40E94630F5A
|
||||
:101C40006093FE027093FF02809300039093010360
|
||||
:101C5000C092FA02D092FB02E092FC02F092FD02E6
|
||||
:101C60008091070390910803A0910903B0910A03A2
|
||||
:101C7000892B8A2B8B2B91F10E945E026B017C01D8
|
||||
:101C800080910B0390910C03A0910D03B0910E0372
|
||||
:101C9000B701A601481B590B6A0B7B0B8091070308
|
||||
:101CA00090910803A0910903B0910A0348175907BE
|
||||
:101CB0006A077B0798F08091040390910503DC018B
|
||||
:101CC000ED91FC910190F081E02D1995C0920B03EC
|
||||
:101CD000D0920C03E0920D03F0920E0383E00E9479
|
||||
:101CE000D601EC0182E00E94D601CD2B09F058C04C
|
||||
:101CF00020E030E04AE756E460911F037091200332
|
||||
:101D000080912103909122030E945E0F8823B1F0FD
|
||||
:101D100080E090E0AAE7B6E480931F03909320034D
|
||||
:101D2000A0932103B093220380912F03909130035D
|
||||
:101D3000892B21F082E093E00E94080489E592E07B
|
||||
:101D40000E9426031816190624F489E592E00E94E1
|
||||
:101D5000AB030E945E026B017C018AE0882E912C0D
|
||||
:101D6000A12CB12C0E945E026C197D098E099F097D
|
||||
:101D7000683E734081059105A8F3B1E08B1A910884
|
||||
:101D8000A108B108E8EECE0EE3E0DE1EE11CF11C76
|
||||
:101D900081149104A104B10429F70E94CB032DCF33
|
||||
:101DA000892BB1F420E030E04AE756EC60911F0344
|
||||
:101DB0007091200380912103909122030E945E0F75
|
||||
:101DC000882309F4BBCF80E090E0AAE7B6ECA4CF6B
|
||||
:101DD00010921F03109220031092210310922203ED
|
||||
:101DE000ADCF5058BB27AA270E94090F0C9483102F
|
||||
:101DF0000E94751038F00E947C1020F039F49F3F4B
|
||||
:101E000019F426F40C9472100EF4E095E7FB0C9490
|
||||
:101E10006C10E92F0E94941058F3BA1762077307E9
|
||||
:101E20008407950720F079F4A6F50C94B6100EF40B
|
||||
:101E3000E0950B2EBA2FA02D0B01B90190010C01DA
|
||||
:101E4000CA01A0011124FF27591B99F0593F50F4F2
|
||||
:101E5000503E68F11A16F040A22F232F342F44274A
|
||||
:101E6000585FF3CF469537952795A795F040539542
|
||||
:101E7000C9F77EF41F16BA0B620B730B840BBAF012
|
||||
:101E80009150A1F0FF0FBB1F661F771F881FC2F77D
|
||||
:101E90000EC0BA0F621F731F841F48F48795779591
|
||||
:101EA0006795B795F7959E3F08F0B0CF9395880F4B
|
||||
:101EB00008F09927EE0F9795879508950E9448108E
|
||||
:101EC00008F481E008950E94770F0C9483100E941B
|
||||
:101ED0007C1058F00E94751040F029F45F3F29F003
|
||||
:101EE0000C946C1051110C94B7100C9472100E9449
|
||||
:101EF000941068F39923B1F3552391F3951B550B77
|
||||
:101F0000BB27AA2762177307840738F09F5F5F4FCC
|
||||
:101F1000220F331F441FAA1FA9F335D00E2E3AF00B
|
||||
:101F2000E0E832D091505040E695001CCAF72BD023
|
||||
:101F3000FE2F29D0660F771F881FBB1F2617370774
|
||||
:101F40004807AB07B0E809F0BB0B802DBF01FF27A6
|
||||
:101F500093585F4F3AF09E3F510578F00C946C1007
|
||||
:101F60000C94B7105F3FE4F3983ED4F386957795D1
|
||||
:101F70006795B795F7959F5FC9F7880F911D96955F
|
||||
:101F8000879597F90895E1E0660F771F881FBB1FBB
|
||||
:101F9000621773078407BA0720F0621B730B840B68
|
||||
:101FA000BA0BEE1F88F7E09508950E94DC0F689445
|
||||
:101FB000B1110C94B71008950E949C1088F09F579F
|
||||
:101FC00098F0B92F9927B751B0F0E1F0660F771F5D
|
||||
:101FD000881F991F1AF0BA95C9F714C0B13091F053
|
||||
:101FE0000E94B610B1E008950C94B610672F782FB8
|
||||
:101FF0008827B85F39F0B93FCCF386957795679518
|
||||
:10200000B395D9F73EF490958095709561957F4F83
|
||||
:102010008F4F9F4F0895E89409C097FB3EF4909529
|
||||
:102020008095709561957F4F8F4F9F4F9923A9F0B1
|
||||
:10203000F92F96E9BB279395F69587957795679540
|
||||
:10204000B795F111F8CFFAF4BB0F11F460FF1BC084
|
||||
:102050006F5F7F4F8F4F9F4F16C0882311F096E917
|
||||
:1020600011C0772321F09EE8872F762F05C06623C5
|
||||
:1020700071F096E8862F70E060E02AF09A95660F7E
|
||||
:10208000771F881FDAF7880F9695879597F9089537
|
||||
:10209000990F0008550FAA0BE0E8FEEF1616170679
|
||||
:1020A000E807F907C0F012161306E407F50798F0E1
|
||||
:1020B000621B730B840B950B39F40A2661F0232BFA
|
||||
:1020C000242B252B21F408950A2609F4A140A69576
|
||||
:1020D0008FEF811D811D089597F99F6780E870E05B
|
||||
:1020E00060E008959FEF80EC089500240A9416168E
|
||||
:1020F000170618060906089500240A9412161306F6
|
||||
:10210000140605060895092E0394000C11F4882383
|
||||
:1021100052F0BB0F40F4BF2B11F460FF04C06F5F9F
|
||||
:102120007F4F8F4F9F4F089557FD9058440F551F75
|
||||
:1021300059F05F3F71F04795880F97FB991F61F049
|
||||
:102140009F3F79F087950895121613061406551FC0
|
||||
:10215000F2CF4695F1DF08C0161617061806991F2C
|
||||
:10216000F1CF86957105610508940895E894BB2721
|
||||
:1021700066277727CB0197F908950E94481008F445
|
||||
:102180008FEF08950E94D5100C9483100E94751053
|
||||
:1021900038F00E947C1020F0952311F00C946C1004
|
||||
:1021A0000C94721011240C94B7100E94941070F3C8
|
||||
:1021B000959FC1F3950F50E0551F629FF001729FEC
|
||||
:1021C000BB27F00DB11D639FAA27F00DB11DAA1FFB
|
||||
:1021D000649F6627B00DA11D661F829F2227B00D48
|
||||
:1021E000A11D621F739FB00DA11D621F839FA00DD3
|
||||
:1021F000611D221F749F3327A00D611D231F849F23
|
||||
:10220000600D211D822F762F6A2F11249F57504079
|
||||
:102210009AF0F1F088234AF0EE0FFF1FBB1F661FF4
|
||||
:10222000771F881F91505040A9F79E3F510580F0BD
|
||||
:102230000C946C100C94B7105F3FE4F3983ED4F309
|
||||
:10224000869577956795B795F795E7959F5FC1F761
|
||||
:10225000FE2B880F911D9695879597F9089519F48F
|
||||
:1022600016F40C9472100C9475110E949C10B8F323
|
||||
:102270009923C9F3B6F39F57550B87FF0E9483112B
|
||||
:102280000024A0E640EA900180585695979528F4DE
|
||||
:10229000805C660F771F881F20F0261737074807D6
|
||||
:1022A00030F4621B730B840B202931294A2BA6952D
|
||||
:1022B00017940794202531254A2758F7660F771F72
|
||||
:1022C000881F20F026173707480730F4620B730B7E
|
||||
:1022D000840B200D311D411DA09581F7B901842F7C
|
||||
:1022E0009158880F9695879508959F3F31F09150AA
|
||||
:1022F00020F4879577956795B795880F911D9695EA
|
||||
:10230000879597F9089591505040660F771F881F61
|
||||
:10231000D2F70895052E97FB1EF400940E94A11198
|
||||
:1023200057FD07D00E94B11107FC03D04EF40C9466
|
||||
:10233000A11150954095309521953F4F4F4F5F4FDC
|
||||
:10234000089590958095709561957F4F8F4F9F4F21
|
||||
:102350000895EE0FFF1F881F8BBF0790F691E02DA9
|
||||
:102360001994A1E21A2EAA1BBB1BFD010DC0AA1FC6
|
||||
:10237000BB1FEE1FFF1FA217B307E407F50720F0EE
|
||||
:10238000A21BB30BE40BF50B661F771F881F991F69
|
||||
:102390001A9469F760957095809590959B01AC01B2
|
||||
:1023A000BD01CF01089581E090E0F8940C94D8111C
|
||||
:0423B000F894FFCFCF
|
||||
:1023B400FF3800180000003D001C0000003C001A1B
|
||||
:1023C400000000000000005E03C802F502AB032613
|
||||
:1023D4000304031803000000003B080204E9FF00A3
|
||||
:0423E40000FC0300F6
|
||||
:00000001FF
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"additionalFiles": "..\\..\\..,..\\..\\..,..\\..\\..,..\\..,..\\..,..\\..,..\\..\\..,..\\..\\..",
|
||||
"builtInToolsFolders": "",
|
||||
"compiler.optimization_flags": "",
|
||||
"customBuildProperties": "",
|
||||
"fqbn": "arduino:avr:mega:cpu=atmega2560",
|
||||
"hardwareFolders": "C:\\Users\\BOTAlex\\AppData\\Local\\Arduino15\\packages",
|
||||
"otherLibrariesFolders": "C:\\Users\\BOTAlex\\Documents\\Arduino\\libraries",
|
||||
"runtime.ide.version": "10607",
|
||||
"sketchLocation": "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul"
|
||||
}
|
|
@ -1,66 +0,0 @@
|
|||
[
|
||||
{
|
||||
"directory": "c:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul",
|
||||
"arguments": [
|
||||
"C:\\Users\\BOTAlex\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++",
|
||||
"-c",
|
||||
"-g",
|
||||
"-Os",
|
||||
"-w",
|
||||
"-std=gnu++11",
|
||||
"-fpermissive",
|
||||
"-fno-exceptions",
|
||||
"-ffunction-sections",
|
||||
"-fdata-sections",
|
||||
"-fno-threadsafe-statics",
|
||||
"-Wno-error=narrowing",
|
||||
"-MMD",
|
||||
"-flto",
|
||||
"-mmcu=atmega2560",
|
||||
"-DF_CPU=16000000L",
|
||||
"-DARDUINO=10607",
|
||||
"-DARDUINO_AVR_MEGA2560",
|
||||
"-DARDUINO_ARCH_AVR",
|
||||
"-IC:\\Users\\BOTAlex\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino",
|
||||
"-IC:\\Users\\BOTAlex\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega",
|
||||
"-IC:\\Users\\BOTAlex\\Documents\\Arduino\\libraries\\SpeedyStepper\\src",
|
||||
"-IC:\\Users\\BOTAlex\\Documents\\Arduino\\libraries\\ContinuousStepper\\src",
|
||||
"C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\build\\sketch\\ClawMachineOverhaul.ino.cpp",
|
||||
"-o",
|
||||
"C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\build\\sketch\\ClawMachineOverhaul.ino.cpp.o"
|
||||
],
|
||||
"file": "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\build\\sketch\\ClawMachineOverhaul.ino.cpp"
|
||||
},
|
||||
{
|
||||
"directory": "c:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul",
|
||||
"arguments": [
|
||||
"C:\\Users\\BOTAlex\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++",
|
||||
"-c",
|
||||
"-g",
|
||||
"-Os",
|
||||
"-w",
|
||||
"-std=gnu++11",
|
||||
"-fpermissive",
|
||||
"-fno-exceptions",
|
||||
"-ffunction-sections",
|
||||
"-fdata-sections",
|
||||
"-fno-threadsafe-statics",
|
||||
"-Wno-error=narrowing",
|
||||
"-MMD",
|
||||
"-flto",
|
||||
"-mmcu=atmega2560",
|
||||
"-DF_CPU=16000000L",
|
||||
"-DARDUINO=10607",
|
||||
"-DARDUINO_AVR_MEGA2560",
|
||||
"-DARDUINO_ARCH_AVR",
|
||||
"-IC:\\Users\\BOTAlex\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino",
|
||||
"-IC:\\Users\\BOTAlex\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega",
|
||||
"-IC:\\Users\\BOTAlex\\Documents\\Arduino\\libraries\\SpeedyStepper\\src",
|
||||
"-IC:\\Users\\BOTAlex\\Documents\\Arduino\\libraries\\ContinuousStepper\\src",
|
||||
"C:\\Users\\BOTAlex\\Documents\\Arduino\\libraries\\SpeedyStepper\\src\\SpeedyStepper.cpp",
|
||||
"-o",
|
||||
"C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\build\\libraries\\SpeedyStepper\\SpeedyStepper.cpp.o"
|
||||
],
|
||||
"file": "C:\\Users\\BOTAlex\\Documents\\Arduino\\libraries\\SpeedyStepper\\src\\SpeedyStepper.cpp"
|
||||
}
|
||||
]
|
|
@ -1,32 +0,0 @@
|
|||
[
|
||||
{
|
||||
"Sourcefile": null,
|
||||
"Include": "",
|
||||
"Includepath": "C:\\Users\\BOTAlex\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino"
|
||||
},
|
||||
{
|
||||
"Sourcefile": null,
|
||||
"Include": "",
|
||||
"Includepath": "C:\\Users\\BOTAlex\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega"
|
||||
},
|
||||
{
|
||||
"Sourcefile": "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\build\\sketch\\ClawMachineOverhaul.ino.cpp",
|
||||
"Include": "SpeedyStepper.h",
|
||||
"Includepath": "C:\\Users\\BOTAlex\\Documents\\Arduino\\libraries\\SpeedyStepper\\src"
|
||||
},
|
||||
{
|
||||
"Sourcefile": "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\build\\sketch\\ClawMachineOverhaul.ino.cpp",
|
||||
"Include": "ContinuousStepper.h",
|
||||
"Includepath": "C:\\Users\\BOTAlex\\Documents\\Arduino\\libraries\\ContinuousStepper\\src"
|
||||
},
|
||||
{
|
||||
"Sourcefile": "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\build\\sketch\\ClawMachineOverhaul.ino.cpp",
|
||||
"Include": "",
|
||||
"Includepath": null
|
||||
},
|
||||
{
|
||||
"Sourcefile": "C:\\Users\\BOTAlex\\Documents\\Arduino\\libraries\\SpeedyStepper\\src\\SpeedyStepper.cpp",
|
||||
"Include": "",
|
||||
"Includepath": null
|
||||
}
|
||||
]
|
|
@ -1 +0,0 @@
|
|||
["C:\\Users\\BOTAlex\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino","C:\\Users\\BOTAlex\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega","C:\\Users\\BOTAlex\\Documents\\Arduino\\libraries\\SpeedyStepper\\src","C:\\Users\\BOTAlex\\Documents\\Arduino\\libraries\\ContinuousStepper\\src"]
|
|
@ -1,14 +0,0 @@
|
|||
C:\FastAccessFiles\CloudSync\CodeProjects\2024\ClawMachineOverhaul\build\libraries\SpeedyStepper\SpeedyStepper.cpp.o: \
|
||||
C:\Users\BOTAlex\Documents\Arduino\libraries\SpeedyStepper\src\SpeedyStepper.cpp \
|
||||
C:\Users\BOTAlex\Documents\Arduino\libraries\SpeedyStepper\src\SpeedyStepper.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/arduino.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/binary.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/WCharacter.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/WString.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/HardwareSerial.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/Stream.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/Print.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/Printable.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/USBAPI.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/Arduino.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\mega/pins_arduino.h
|
Binary file not shown.
|
@ -1,57 +0,0 @@
|
|||
# 1 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\ClawMachineOverhaul.ino"
|
||||
# 2 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\ClawMachineOverhaul.ino" 2
|
||||
# 3 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\ClawMachineOverhaul.ino" 2
|
||||
# 4 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\ClawMachineOverhaul.ino" 2
|
||||
|
||||
|
||||
|
||||
|
||||
Time time;
|
||||
|
||||
void setup(){
|
||||
// Start serial communication at 115200 baud
|
||||
Serial.begin(115200);
|
||||
|
||||
// Set the pin mode for the defined pins
|
||||
pinMode(3, 0x2);
|
||||
pinMode(2, 0x2);
|
||||
|
||||
initSteppers();
|
||||
initXStepper();
|
||||
|
||||
moveStepper(StepperAxis::Y, 10000, 1000);
|
||||
}
|
||||
|
||||
float position = 0;
|
||||
|
||||
void loop(){
|
||||
// Updates deltatime
|
||||
time.update();
|
||||
|
||||
stepperXLoop();
|
||||
|
||||
bool left = digitalRead(3) == 0x0;
|
||||
bool right = digitalRead(2) == 0x0;
|
||||
|
||||
processJoystickInput(left, right);
|
||||
|
||||
// //Serial.print(millis());
|
||||
|
||||
// Serial.print("Left state: ");
|
||||
// Serial.print(left);
|
||||
// Serial.print(" | ");
|
||||
// Serial.print("Right state: ");
|
||||
// Serial.println(right);
|
||||
|
||||
if (Serial.available() > 0){
|
||||
Serial.flush();
|
||||
}
|
||||
|
||||
|
||||
delay(10); // delay in milliseconds
|
||||
}
|
||||
|
||||
void beginGrabSequence(){
|
||||
moveStepper(StepperAxis::Y, 10000, -1000);
|
||||
moveStepper(StepperAxis::Y, 10000, -1000);
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
#line 1 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\.vscode\\arduino.json"
|
||||
{
|
||||
"sketch": "ClawMachineOverhaul.ino",
|
||||
"configuration": "cpu=atmega2560",
|
||||
"board": "arduino:avr:mega",
|
||||
"output": "./build",
|
||||
"port": "COM7"
|
||||
}
|
|
@ -1,540 +0,0 @@
|
|||
#line 1 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\.vscode\\c_cpp_properties.json"
|
||||
{
|
||||
"version": 4,
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Arduino",
|
||||
"compilerPath": "C:\\Users\\BOTAlex\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++",
|
||||
"compilerArgs": [
|
||||
"-w",
|
||||
"-std=gnu++11",
|
||||
"-fpermissive",
|
||||
"-fno-exceptions",
|
||||
"-ffunction-sections",
|
||||
"-fdata-sections",
|
||||
"-fno-threadsafe-statics",
|
||||
"-Wno-error=narrowing"
|
||||
],
|
||||
"intelliSenseMode": "gcc-x64",
|
||||
"includePath": [
|
||||
"C:\\Users\\BOTAlex\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino",
|
||||
"C:\\Users\\BOTAlex\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\mega",
|
||||
"C:\\Users\\BOTAlex\\Documents\\Arduino\\libraries\\SpeedyStepper\\src",
|
||||
"C:\\Users\\BOTAlex\\Documents\\Arduino\\libraries\\ContinuousStepper\\src",
|
||||
"c:\\users\\botalex\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\lib\\gcc\\avr\\7.3.0\\include",
|
||||
"c:\\users\\botalex\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\lib\\gcc\\avr\\7.3.0\\include-fixed",
|
||||
"c:\\users\\botalex\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\avr\\include"
|
||||
],
|
||||
"forcedInclude": [
|
||||
"C:\\Users\\BOTAlex\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino\\Arduino.h"
|
||||
],
|
||||
"cStandard": "c11",
|
||||
"cppStandard": "c++11",
|
||||
"defines": [
|
||||
"F_CPU=16000000L",
|
||||
"ARDUINO=10607",
|
||||
"ARDUINO_AVR_MEGA2560",
|
||||
"ARDUINO_ARCH_AVR",
|
||||
"__DBL_MIN_EXP__=(-125)",
|
||||
"__HQ_FBIT__=15",
|
||||
"__cpp_attributes=200809",
|
||||
"__UINT_LEAST16_MAX__=0xffffU",
|
||||
"__ATOMIC_ACQUIRE=2",
|
||||
"__SFRACT_IBIT__=0",
|
||||
"__FLT_MIN__=1.17549435e-38F",
|
||||
"__GCC_IEC_559_COMPLEX=0",
|
||||
"__BUILTIN_AVR_SLEEP=1",
|
||||
"__BUILTIN_AVR_COUNTLSULLK=1",
|
||||
"__cpp_aggregate_nsdmi=201304",
|
||||
"__BUILTIN_AVR_COUNTLSULLR=1",
|
||||
"__UFRACT_MAX__=0XFFFFP-16UR",
|
||||
"__UINT_LEAST8_TYPE__=unsigned char",
|
||||
"__DQ_FBIT__=63",
|
||||
"__INTMAX_C(c)=c ## LL",
|
||||
"__ULFRACT_FBIT__=32",
|
||||
"__SACCUM_EPSILON__=0x1P-7HK",
|
||||
"__CHAR_BIT__=8",
|
||||
"__USQ_IBIT__=0",
|
||||
"__UINT8_MAX__=0xff",
|
||||
"__ACCUM_FBIT__=15",
|
||||
"__WINT_MAX__=0x7fff",
|
||||
"__FLT32_MIN_EXP__=(-125)",
|
||||
"__cpp_static_assert=200410",
|
||||
"__USFRACT_FBIT__=8",
|
||||
"__ORDER_LITTLE_ENDIAN__=1234",
|
||||
"__SIZE_MAX__=0xffffU",
|
||||
"__WCHAR_MAX__=0x7fff",
|
||||
"__LACCUM_IBIT__=32",
|
||||
"__DBL_DENORM_MIN__=double(1.40129846e-45L)",
|
||||
"__GCC_ATOMIC_CHAR_LOCK_FREE=1",
|
||||
"__GCC_IEC_559=0",
|
||||
"__FLT_EVAL_METHOD__=0",
|
||||
"__BUILTIN_AVR_LLKBITS=1",
|
||||
"__cpp_binary_literals=201304",
|
||||
"__LLACCUM_MAX__=0X7FFFFFFFFFFFFFFFP-47LLK",
|
||||
"__GCC_ATOMIC_CHAR32_T_LOCK_FREE=1",
|
||||
"__BUILTIN_AVR_HKBITS=1",
|
||||
"__BUILTIN_AVR_BITSLLK=1",
|
||||
"__FRACT_FBIT__=15",
|
||||
"__BUILTIN_AVR_BITSLLR=1",
|
||||
"__cpp_variadic_templates=200704",
|
||||
"__UINT_FAST64_MAX__=0xffffffffffffffffULL",
|
||||
"__SIG_ATOMIC_TYPE__=char",
|
||||
"__BUILTIN_AVR_UHKBITS=1",
|
||||
"__UACCUM_FBIT__=16",
|
||||
"__DBL_MIN_10_EXP__=(-37)",
|
||||
"__FINITE_MATH_ONLY__=0",
|
||||
"__cpp_variable_templates=201304",
|
||||
"__LFRACT_IBIT__=0",
|
||||
"__GNUC_PATCHLEVEL__=0",
|
||||
"__FLT32_HAS_DENORM__=1",
|
||||
"__LFRACT_MAX__=0X7FFFFFFFP-31LR",
|
||||
"__UINT_FAST8_MAX__=0xff",
|
||||
"__has_include(STR)=__has_include__(STR)",
|
||||
"__DEC64_MAX_EXP__=385",
|
||||
"__INT8_C(c)=c",
|
||||
"__INT_LEAST8_WIDTH__=8",
|
||||
"__UINT_LEAST64_MAX__=0xffffffffffffffffULL",
|
||||
"__SA_FBIT__=15",
|
||||
"__SHRT_MAX__=0x7fff",
|
||||
"__LDBL_MAX__=3.40282347e+38L",
|
||||
"__FRACT_MAX__=0X7FFFP-15R",
|
||||
"__UFRACT_FBIT__=16",
|
||||
"__UFRACT_MIN__=0.0UR",
|
||||
"__UINT_LEAST8_MAX__=0xff",
|
||||
"__GCC_ATOMIC_BOOL_LOCK_FREE=1",
|
||||
"__UINTMAX_TYPE__=long long unsigned int",
|
||||
"__LLFRACT_EPSILON__=0x1P-63LLR",
|
||||
"__BUILTIN_AVR_DELAY_CYCLES=1",
|
||||
"__DEC32_EPSILON__=1E-6DF",
|
||||
"__FLT_EVAL_METHOD_TS_18661_3__=0",
|
||||
"__UINT32_MAX__=0xffffffffUL",
|
||||
"__GXX_EXPERIMENTAL_CXX0X__=1",
|
||||
"__ULFRACT_MAX__=0XFFFFFFFFP-32ULR",
|
||||
"__TA_IBIT__=16",
|
||||
"__LDBL_MAX_EXP__=128",
|
||||
"__WINT_MIN__=(-__WINT_MAX__ - 1)",
|
||||
"__INT_LEAST16_WIDTH__=16",
|
||||
"__ULLFRACT_MIN__=0.0ULLR",
|
||||
"__SCHAR_MAX__=0x7f",
|
||||
"__WCHAR_MIN__=(-__WCHAR_MAX__ - 1)",
|
||||
"__INT64_C(c)=c ## LL",
|
||||
"__DBL_DIG__=6",
|
||||
"__GCC_ATOMIC_POINTER_LOCK_FREE=1",
|
||||
"__AVR_HAVE_SPH__=1",
|
||||
"__LLACCUM_MIN__=(-0X1P15LLK-0X1P15LLK)",
|
||||
"__BUILTIN_AVR_KBITS=1",
|
||||
"__BUILTIN_AVR_ABSK=1",
|
||||
"__BUILTIN_AVR_ABSR=1",
|
||||
"__SIZEOF_INT__=2",
|
||||
"__SIZEOF_POINTER__=2",
|
||||
"__GCC_ATOMIC_CHAR16_T_LOCK_FREE=1",
|
||||
"__USACCUM_IBIT__=8",
|
||||
"__USER_LABEL_PREFIX__",
|
||||
"__STDC_HOSTED__=1",
|
||||
"__LDBL_HAS_INFINITY__=1",
|
||||
"__LFRACT_MIN__=(-0.5LR-0.5LR)",
|
||||
"__HA_IBIT__=8",
|
||||
"__FLT32_DIG__=6",
|
||||
"__TQ_IBIT__=0",
|
||||
"__FLT_EPSILON__=1.19209290e-7F",
|
||||
"__GXX_WEAK__=1",
|
||||
"__SHRT_WIDTH__=16",
|
||||
"__USFRACT_IBIT__=0",
|
||||
"__LDBL_MIN__=1.17549435e-38L",
|
||||
"__FRACT_MIN__=(-0.5R-0.5R)",
|
||||
"__AVR_SFR_OFFSET__=0x20",
|
||||
"__DEC32_MAX__=9.999999E96DF",
|
||||
"__cpp_threadsafe_static_init=200806",
|
||||
"__DA_IBIT__=32",
|
||||
"__INT32_MAX__=0x7fffffffL",
|
||||
"__UQQ_FBIT__=8",
|
||||
"__INT_WIDTH__=16",
|
||||
"__SIZEOF_LONG__=4",
|
||||
"__UACCUM_MAX__=0XFFFFFFFFP-16UK",
|
||||
"__UINT16_C(c)=c ## U",
|
||||
"__PTRDIFF_WIDTH__=16",
|
||||
"__DECIMAL_DIG__=9",
|
||||
"__LFRACT_EPSILON__=0x1P-31LR",
|
||||
"__AVR_2_BYTE_PC__=1",
|
||||
"__ULFRACT_MIN__=0.0ULR",
|
||||
"__INTMAX_WIDTH__=64",
|
||||
"__has_include_next(STR)=__has_include_next__(STR)",
|
||||
"__BUILTIN_AVR_ULLRBITS=1",
|
||||
"__LDBL_HAS_QUIET_NAN__=1",
|
||||
"__ULACCUM_IBIT__=32",
|
||||
"__UACCUM_EPSILON__=0x1P-16UK",
|
||||
"__BUILTIN_AVR_SEI=1",
|
||||
"__GNUC__=7",
|
||||
"__ULLACCUM_MAX__=0XFFFFFFFFFFFFFFFFP-48ULLK",
|
||||
"__cpp_delegating_constructors=200604",
|
||||
"__HQ_IBIT__=0",
|
||||
"__BUILTIN_AVR_SWAP=1",
|
||||
"__FLT_HAS_DENORM__=1",
|
||||
"__SIZEOF_LONG_DOUBLE__=4",
|
||||
"__BIGGEST_ALIGNMENT__=1",
|
||||
"__STDC_UTF_16__=1",
|
||||
"__UINT24_MAX__=16777215UL",
|
||||
"__BUILTIN_AVR_NOP=1",
|
||||
"__GNUC_STDC_INLINE__=1",
|
||||
"__DQ_IBIT__=0",
|
||||
"__FLT32_HAS_INFINITY__=1",
|
||||
"__DBL_MAX__=double(3.40282347e+38L)",
|
||||
"__ULFRACT_IBIT__=0",
|
||||
"__cpp_raw_strings=200710",
|
||||
"__INT_FAST32_MAX__=0x7fffffffL",
|
||||
"__DBL_HAS_INFINITY__=1",
|
||||
"__INT64_MAX__=0x7fffffffffffffffLL",
|
||||
"__ACCUM_IBIT__=16",
|
||||
"__DEC32_MIN_EXP__=(-94)",
|
||||
"__BUILTIN_AVR_UKBITS=1",
|
||||
"__INTPTR_WIDTH__=16",
|
||||
"__BUILTIN_AVR_FMULSU=1",
|
||||
"__LACCUM_MAX__=0X7FFFFFFFFFFFFFFFP-31LK",
|
||||
"__INT_FAST16_TYPE__=int",
|
||||
"__LDBL_HAS_DENORM__=1",
|
||||
"__BUILTIN_AVR_BITSK=1",
|
||||
"__BUILTIN_AVR_BITSR=1",
|
||||
"__cplusplus=201402L",
|
||||
"__cpp_ref_qualifiers=200710",
|
||||
"__DEC128_MAX__=9.999999999999999999999999999999999E6144DL",
|
||||
"__INT_LEAST32_MAX__=0x7fffffffL",
|
||||
"__USING_SJLJ_EXCEPTIONS__=1",
|
||||
"__DEC32_MIN__=1E-95DF",
|
||||
"__ACCUM_MAX__=0X7FFFFFFFP-15K",
|
||||
"__DEPRECATED=1",
|
||||
"__cpp_rvalue_references=200610",
|
||||
"__DBL_MAX_EXP__=128",
|
||||
"__USACCUM_EPSILON__=0x1P-8UHK",
|
||||
"__WCHAR_WIDTH__=16",
|
||||
"__FLT32_MAX__=3.40282347e+38F32",
|
||||
"__DEC128_EPSILON__=1E-33DL",
|
||||
"__SFRACT_MAX__=0X7FP-7HR",
|
||||
"__FRACT_IBIT__=0",
|
||||
"__PTRDIFF_MAX__=0x7fff",
|
||||
"__UACCUM_MIN__=0.0UK",
|
||||
"__UACCUM_IBIT__=16",
|
||||
"__BUILTIN_AVR_NOPS=1",
|
||||
"__BUILTIN_AVR_WDR=1",
|
||||
"__FLT32_HAS_QUIET_NAN__=1",
|
||||
"__GNUG__=7",
|
||||
"__LONG_LONG_MAX__=0x7fffffffffffffffLL",
|
||||
"__SIZEOF_SIZE_T__=2",
|
||||
"__ULACCUM_MAX__=0XFFFFFFFFFFFFFFFFP-32ULK",
|
||||
"__cpp_rvalue_reference=200610",
|
||||
"__cpp_nsdmi=200809",
|
||||
"__SIZEOF_WINT_T__=2",
|
||||
"__LONG_LONG_WIDTH__=64",
|
||||
"__cpp_initializer_lists=200806",
|
||||
"__FLT32_MAX_EXP__=128",
|
||||
"__SA_IBIT__=16",
|
||||
"__ULLACCUM_MIN__=0.0ULLK",
|
||||
"__BUILTIN_AVR_ROUNDUHK=1",
|
||||
"__BUILTIN_AVR_ROUNDUHR=1",
|
||||
"__cpp_hex_float=201603",
|
||||
"__GXX_ABI_VERSION=1011",
|
||||
"__INT24_MAX__=8388607L",
|
||||
"__UTA_FBIT__=48",
|
||||
"__FLT_MIN_EXP__=(-125)",
|
||||
"__USFRACT_MAX__=0XFFP-8UHR",
|
||||
"__UFRACT_IBIT__=0",
|
||||
"__BUILTIN_AVR_ROUNDFX=1",
|
||||
"__BUILTIN_AVR_ROUNDULK=1",
|
||||
"__BUILTIN_AVR_ROUNDULR=1",
|
||||
"__cpp_lambdas=200907",
|
||||
"__BUILTIN_AVR_COUNTLSLLK=1",
|
||||
"__BUILTIN_AVR_COUNTLSLLR=1",
|
||||
"__BUILTIN_AVR_ROUNDHK=1",
|
||||
"__INT_FAST64_TYPE__=long long int",
|
||||
"__BUILTIN_AVR_ROUNDHR=1",
|
||||
"__DBL_MIN__=double(1.17549435e-38L)",
|
||||
"__BUILTIN_AVR_COUNTLSK=1",
|
||||
"__BUILTIN_AVR_ROUNDLK=1",
|
||||
"__BUILTIN_AVR_COUNTLSR=1",
|
||||
"__BUILTIN_AVR_ROUNDLR=1",
|
||||
"__LACCUM_MIN__=(-0X1P31LK-0X1P31LK)",
|
||||
"__ULLACCUM_FBIT__=48",
|
||||
"__BUILTIN_AVR_LKBITS=1",
|
||||
"__ULLFRACT_EPSILON__=0x1P-64ULLR",
|
||||
"__DEC128_MIN__=1E-6143DL",
|
||||
"__REGISTER_PREFIX__",
|
||||
"__UINT16_MAX__=0xffffU",
|
||||
"__DBL_HAS_DENORM__=1",
|
||||
"__BUILTIN_AVR_ULKBITS=1",
|
||||
"__ACCUM_MIN__=(-0X1P15K-0X1P15K)",
|
||||
"__AVR_ARCH__=2",
|
||||
"__SQ_IBIT__=0",
|
||||
"__FLT32_MIN__=1.17549435e-38F32",
|
||||
"__UINT8_TYPE__=unsigned char",
|
||||
"__BUILTIN_AVR_ROUNDUK=1",
|
||||
"__BUILTIN_AVR_ROUNDUR=1",
|
||||
"__UHA_FBIT__=8",
|
||||
"__NO_INLINE__=1",
|
||||
"__SFRACT_MIN__=(-0.5HR-0.5HR)",
|
||||
"__UTQ_FBIT__=128",
|
||||
"__FLT_MANT_DIG__=24",
|
||||
"__LDBL_DECIMAL_DIG__=9",
|
||||
"__VERSION__=\"7.3.0\"",
|
||||
"__UINT64_C(c)=c ## ULL",
|
||||
"__ULLFRACT_FBIT__=64",
|
||||
"__cpp_unicode_characters=200704",
|
||||
"__FRACT_EPSILON__=0x1P-15R",
|
||||
"__ULACCUM_MIN__=0.0ULK",
|
||||
"__UDA_FBIT__=32",
|
||||
"__cpp_decltype_auto=201304",
|
||||
"__LLACCUM_EPSILON__=0x1P-47LLK",
|
||||
"__GCC_ATOMIC_INT_LOCK_FREE=1",
|
||||
"__FLT32_MANT_DIG__=24",
|
||||
"__BUILTIN_AVR_BITSUHK=1",
|
||||
"__BUILTIN_AVR_BITSUHR=1",
|
||||
"__FLOAT_WORD_ORDER__=__ORDER_LITTLE_ENDIAN__",
|
||||
"__USFRACT_MIN__=0.0UHR",
|
||||
"__BUILTIN_AVR_BITSULK=1",
|
||||
"__ULLACCUM_IBIT__=16",
|
||||
"__BUILTIN_AVR_BITSULR=1",
|
||||
"__UQQ_IBIT__=0",
|
||||
"__BUILTIN_AVR_LLRBITS=1",
|
||||
"__SCHAR_WIDTH__=8",
|
||||
"__BUILTIN_AVR_BITSULLK=1",
|
||||
"__BUILTIN_AVR_BITSULLR=1",
|
||||
"__INT32_C(c)=c ## L",
|
||||
"__DEC64_EPSILON__=1E-15DD",
|
||||
"__ORDER_PDP_ENDIAN__=3412",
|
||||
"__DEC128_MIN_EXP__=(-6142)",
|
||||
"__UHQ_FBIT__=16",
|
||||
"__LLACCUM_FBIT__=47",
|
||||
"__FLT32_MAX_10_EXP__=38",
|
||||
"__BUILTIN_AVR_ROUNDULLK=1",
|
||||
"__BUILTIN_AVR_ROUNDULLR=1",
|
||||
"__INT_FAST32_TYPE__=long int",
|
||||
"__BUILTIN_AVR_HRBITS=1",
|
||||
"__UINT_LEAST16_TYPE__=unsigned int",
|
||||
"__BUILTIN_AVR_UHRBITS=1",
|
||||
"__INT16_MAX__=0x7fff",
|
||||
"__SIZE_TYPE__=unsigned int",
|
||||
"__UINT64_MAX__=0xffffffffffffffffULL",
|
||||
"__UDQ_FBIT__=64",
|
||||
"__INT8_TYPE__=signed char",
|
||||
"__cpp_digit_separators=201309",
|
||||
"__ELF__=1",
|
||||
"__ULFRACT_EPSILON__=0x1P-32ULR",
|
||||
"__LLFRACT_FBIT__=63",
|
||||
"__FLT_RADIX__=2",
|
||||
"__INT_LEAST16_TYPE__=int",
|
||||
"__BUILTIN_AVR_ABSFX=1",
|
||||
"__LDBL_EPSILON__=1.19209290e-7L",
|
||||
"__UINTMAX_C(c)=c ## ULL",
|
||||
"__INT24_MIN__=(-__INT24_MAX__-1)",
|
||||
"__SACCUM_MAX__=0X7FFFP-7HK",
|
||||
"__BUILTIN_AVR_ABSHR=1",
|
||||
"__SIG_ATOMIC_MAX__=0x7f",
|
||||
"__GCC_ATOMIC_WCHAR_T_LOCK_FREE=1",
|
||||
"__cpp_sized_deallocation=201309",
|
||||
"__SIZEOF_PTRDIFF_T__=2",
|
||||
"__AVR=1",
|
||||
"__BUILTIN_AVR_ABSLK=1",
|
||||
"__BUILTIN_AVR_ABSLR=1",
|
||||
"__LACCUM_EPSILON__=0x1P-31LK",
|
||||
"__DEC32_SUBNORMAL_MIN__=0.000001E-95DF",
|
||||
"__INT_FAST16_MAX__=0x7fff",
|
||||
"__UINT_FAST32_MAX__=0xffffffffUL",
|
||||
"__UINT_LEAST64_TYPE__=long long unsigned int",
|
||||
"__USACCUM_MAX__=0XFFFFP-8UHK",
|
||||
"__SFRACT_EPSILON__=0x1P-7HR",
|
||||
"__FLT_HAS_QUIET_NAN__=1",
|
||||
"__FLT_MAX_10_EXP__=38",
|
||||
"__LONG_MAX__=0x7fffffffL",
|
||||
"__DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL",
|
||||
"__FLT_HAS_INFINITY__=1",
|
||||
"__cpp_unicode_literals=200710",
|
||||
"__USA_FBIT__=16",
|
||||
"__UINT_FAST16_TYPE__=unsigned int",
|
||||
"__DEC64_MAX__=9.999999999999999E384DD",
|
||||
"__INT_FAST32_WIDTH__=32",
|
||||
"__BUILTIN_AVR_RBITS=1",
|
||||
"__CHAR16_TYPE__=unsigned int",
|
||||
"__PRAGMA_REDEFINE_EXTNAME=1",
|
||||
"__SIZE_WIDTH__=16",
|
||||
"__INT_LEAST16_MAX__=0x7fff",
|
||||
"__DEC64_MANT_DIG__=16",
|
||||
"__UINT_LEAST32_MAX__=0xffffffffUL",
|
||||
"__SACCUM_FBIT__=7",
|
||||
"__FLT32_DENORM_MIN__=1.40129846e-45F32",
|
||||
"__GCC_ATOMIC_LONG_LOCK_FREE=1",
|
||||
"__SIG_ATOMIC_WIDTH__=8",
|
||||
"__INT_LEAST64_TYPE__=long long int",
|
||||
"__INT16_TYPE__=int",
|
||||
"__INT_LEAST8_TYPE__=signed char",
|
||||
"__SQ_FBIT__=31",
|
||||
"__DEC32_MAX_EXP__=97",
|
||||
"__INT_FAST8_MAX__=0x7f",
|
||||
"__INTPTR_MAX__=0x7fff",
|
||||
"__QQ_FBIT__=7",
|
||||
"__cpp_range_based_for=200907",
|
||||
"__UTA_IBIT__=16",
|
||||
"__AVR_ERRATA_SKIP__=1",
|
||||
"__FLT32_MIN_10_EXP__=(-37)",
|
||||
"__LDBL_MANT_DIG__=24",
|
||||
"__SFRACT_FBIT__=7",
|
||||
"__SACCUM_MIN__=(-0X1P7HK-0X1P7HK)",
|
||||
"__DBL_HAS_QUIET_NAN__=1",
|
||||
"__SIG_ATOMIC_MIN__=(-__SIG_ATOMIC_MAX__ - 1)",
|
||||
"AVR=1",
|
||||
"__BUILTIN_AVR_FMULS=1",
|
||||
"__cpp_return_type_deduction=201304",
|
||||
"__INTPTR_TYPE__=int",
|
||||
"__UINT16_TYPE__=unsigned int",
|
||||
"__WCHAR_TYPE__=int",
|
||||
"__SIZEOF_FLOAT__=4",
|
||||
"__AVR__=1",
|
||||
"__BUILTIN_AVR_INSERT_BITS=1",
|
||||
"__USQ_FBIT__=32",
|
||||
"__UINTPTR_MAX__=0xffffU",
|
||||
"__INT_FAST64_WIDTH__=64",
|
||||
"__DEC64_MIN_EXP__=(-382)",
|
||||
"__cpp_decltype=200707",
|
||||
"__FLT32_DECIMAL_DIG__=9",
|
||||
"__INT_FAST64_MAX__=0x7fffffffffffffffLL",
|
||||
"__GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1",
|
||||
"__FLT_DIG__=6",
|
||||
"__UINT_FAST64_TYPE__=long long unsigned int",
|
||||
"__BUILTIN_AVR_BITSHK=1",
|
||||
"__BUILTIN_AVR_BITSHR=1",
|
||||
"__INT_MAX__=0x7fff",
|
||||
"__LACCUM_FBIT__=31",
|
||||
"__USACCUM_MIN__=0.0UHK",
|
||||
"__UHA_IBIT__=8",
|
||||
"__INT64_TYPE__=long long int",
|
||||
"__BUILTIN_AVR_BITSLK=1",
|
||||
"__BUILTIN_AVR_BITSLR=1",
|
||||
"__FLT_MAX_EXP__=128",
|
||||
"__UTQ_IBIT__=0",
|
||||
"__DBL_MANT_DIG__=24",
|
||||
"__cpp_inheriting_constructors=201511",
|
||||
"__BUILTIN_AVR_ULLKBITS=1",
|
||||
"__INT_LEAST64_MAX__=0x7fffffffffffffffLL",
|
||||
"__DEC64_MIN__=1E-383DD",
|
||||
"__WINT_TYPE__=int",
|
||||
"__UINT_LEAST32_TYPE__=long unsigned int",
|
||||
"__SIZEOF_SHORT__=2",
|
||||
"__ULLFRACT_IBIT__=0",
|
||||
"__LDBL_MIN_EXP__=(-125)",
|
||||
"__UDA_IBIT__=32",
|
||||
"__WINT_WIDTH__=16",
|
||||
"__INT_LEAST8_MAX__=0x7f",
|
||||
"__LFRACT_FBIT__=31",
|
||||
"__LDBL_MAX_10_EXP__=38",
|
||||
"__ATOMIC_RELAXED=0",
|
||||
"__DBL_EPSILON__=double(1.19209290e-7L)",
|
||||
"__BUILTIN_AVR_BITSUK=1",
|
||||
"__BUILTIN_AVR_BITSUR=1",
|
||||
"__UINT8_C(c)=c",
|
||||
"__INT_LEAST32_TYPE__=long int",
|
||||
"__BUILTIN_AVR_URBITS=1",
|
||||
"__SIZEOF_WCHAR_T__=2",
|
||||
"__LLFRACT_MAX__=0X7FFFFFFFFFFFFFFFP-63LLR",
|
||||
"__TQ_FBIT__=127",
|
||||
"__INT_FAST8_TYPE__=signed char",
|
||||
"__ULLACCUM_EPSILON__=0x1P-48ULLK",
|
||||
"__BUILTIN_AVR_ROUNDK=1",
|
||||
"__BUILTIN_AVR_ROUNDR=1",
|
||||
"__UHQ_IBIT__=0",
|
||||
"__LLACCUM_IBIT__=16",
|
||||
"__FLT32_EPSILON__=1.19209290e-7F32",
|
||||
"__DBL_DECIMAL_DIG__=9",
|
||||
"__STDC_UTF_32__=1",
|
||||
"__INT_FAST8_WIDTH__=8",
|
||||
"__DEC_EVAL_METHOD__=2",
|
||||
"__TA_FBIT__=47",
|
||||
"__UDQ_IBIT__=0",
|
||||
"__ORDER_BIG_ENDIAN__=4321",
|
||||
"__cpp_runtime_arrays=198712",
|
||||
"__WITH_AVRLIBC__=1",
|
||||
"__UINT64_TYPE__=long long unsigned int",
|
||||
"__ACCUM_EPSILON__=0x1P-15K",
|
||||
"__UINT32_C(c)=c ## UL",
|
||||
"__BUILTIN_AVR_COUNTLSUHK=1",
|
||||
"__INTMAX_MAX__=0x7fffffffffffffffLL",
|
||||
"__cpp_alias_templates=200704",
|
||||
"__BUILTIN_AVR_COUNTLSUHR=1",
|
||||
"__BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__",
|
||||
"__FLT_DENORM_MIN__=1.40129846e-45F",
|
||||
"__LLFRACT_IBIT__=0",
|
||||
"__INT8_MAX__=0x7f",
|
||||
"__LONG_WIDTH__=32",
|
||||
"__UINT_FAST32_TYPE__=long unsigned int",
|
||||
"__CHAR32_TYPE__=long unsigned int",
|
||||
"__BUILTIN_AVR_COUNTLSULK=1",
|
||||
"__BUILTIN_AVR_COUNTLSULR=1",
|
||||
"__FLT_MAX__=3.40282347e+38F",
|
||||
"__cpp_constexpr=201304",
|
||||
"__USACCUM_FBIT__=8",
|
||||
"__BUILTIN_AVR_COUNTLSFX=1",
|
||||
"__INT32_TYPE__=long int",
|
||||
"__SIZEOF_DOUBLE__=4",
|
||||
"__FLT_MIN_10_EXP__=(-37)",
|
||||
"__UFRACT_EPSILON__=0x1P-16UR",
|
||||
"__INT_LEAST32_WIDTH__=32",
|
||||
"__BUILTIN_AVR_COUNTLSHK=1",
|
||||
"__BUILTIN_AVR_COUNTLSHR=1",
|
||||
"__INTMAX_TYPE__=long long int",
|
||||
"__BUILTIN_AVR_ABSLLK=1",
|
||||
"__BUILTIN_AVR_ABSLLR=1",
|
||||
"__DEC128_MAX_EXP__=6145",
|
||||
"__AVR_HAVE_16BIT_SP__=1",
|
||||
"__ATOMIC_CONSUME=1",
|
||||
"__GNUC_MINOR__=3",
|
||||
"__INT_FAST16_WIDTH__=16",
|
||||
"__UINTMAX_MAX__=0xffffffffffffffffULL",
|
||||
"__DEC32_MANT_DIG__=7",
|
||||
"__HA_FBIT__=7",
|
||||
"__BUILTIN_AVR_COUNTLSLK=1",
|
||||
"__BUILTIN_AVR_COUNTLSLR=1",
|
||||
"__BUILTIN_AVR_CLI=1",
|
||||
"__DBL_MAX_10_EXP__=38",
|
||||
"__LDBL_DENORM_MIN__=1.40129846e-45L",
|
||||
"__INT16_C(c)=c",
|
||||
"__cpp_generic_lambdas=201304",
|
||||
"__STDC__=1",
|
||||
"__PTRDIFF_TYPE__=int",
|
||||
"__LLFRACT_MIN__=(-0.5LLR-0.5LLR)",
|
||||
"__BUILTIN_AVR_LRBITS=1",
|
||||
"__ATOMIC_SEQ_CST=5",
|
||||
"__DA_FBIT__=31",
|
||||
"__UINT32_TYPE__=long unsigned int",
|
||||
"__BUILTIN_AVR_ROUNDLLK=1",
|
||||
"__UINTPTR_TYPE__=unsigned int",
|
||||
"__BUILTIN_AVR_ROUNDLLR=1",
|
||||
"__USA_IBIT__=16",
|
||||
"__BUILTIN_AVR_ULRBITS=1",
|
||||
"__DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD",
|
||||
"__DEC128_MANT_DIG__=34",
|
||||
"__LDBL_MIN_10_EXP__=(-37)",
|
||||
"__BUILTIN_AVR_COUNTLSUK=1",
|
||||
"__BUILTIN_AVR_COUNTLSUR=1",
|
||||
"__SIZEOF_LONG_LONG__=8",
|
||||
"__ULACCUM_EPSILON__=0x1P-32ULK",
|
||||
"__cpp_user_defined_literals=200809",
|
||||
"__SACCUM_IBIT__=8",
|
||||
"__GCC_ATOMIC_LLONG_LOCK_FREE=1",
|
||||
"__LDBL_DIG__=6",
|
||||
"__FLT_DECIMAL_DIG__=9",
|
||||
"__UINT_FAST16_MAX__=0xffffU",
|
||||
"__GCC_ATOMIC_SHORT_LOCK_FREE=1",
|
||||
"__BUILTIN_AVR_ABSHK=1",
|
||||
"__BUILTIN_AVR_FLASH_SEGMENT=1",
|
||||
"__INT_LEAST64_WIDTH__=64",
|
||||
"__ULLFRACT_MAX__=0XFFFFFFFFFFFFFFFFP-64ULLR",
|
||||
"__UINT_FAST8_TYPE__=unsigned char",
|
||||
"__USFRACT_EPSILON__=0x1P-8UHR",
|
||||
"__ULACCUM_FBIT__=32",
|
||||
"__QQ_IBIT__=0",
|
||||
"__cpp_init_captures=201304",
|
||||
"__ATOMIC_ACQ_REL=4",
|
||||
"__ATOMIC_RELEASE=3",
|
||||
"__BUILTIN_AVR_FMUL=1",
|
||||
"USBCON"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
#line 1 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\.vscode\\settings.json"
|
||||
{
|
||||
"files.associations": {
|
||||
"*.z": "c"
|
||||
}
|
||||
}
|
|
@ -1,66 +0,0 @@
|
|||
#include <Arduino.h>
|
||||
#line 1 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\ClawMachineOverhaul.ino"
|
||||
#include "StepperController.h"
|
||||
#include "StepperXController.h"
|
||||
#include "Time.h"
|
||||
|
||||
#define LeftPin 3
|
||||
#define RightPin 2
|
||||
|
||||
Time time;
|
||||
|
||||
#line 10 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\ClawMachineOverhaul.ino"
|
||||
void setup();
|
||||
#line 26 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\ClawMachineOverhaul.ino"
|
||||
void loop();
|
||||
#line 53 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\ClawMachineOverhaul.ino"
|
||||
void beginGrabSequence();
|
||||
#line 10 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\ClawMachineOverhaul.ino"
|
||||
void setup(){
|
||||
// Start serial communication at 115200 baud
|
||||
Serial.begin(115200);
|
||||
|
||||
// Set the pin mode for the defined pins
|
||||
pinMode(LeftPin, INPUT_PULLUP);
|
||||
pinMode(RightPin, INPUT_PULLUP);
|
||||
|
||||
initSteppers();
|
||||
initXStepper();
|
||||
|
||||
moveStepper(StepperAxis::Y, 10000, 1000);
|
||||
}
|
||||
|
||||
float position = 0;
|
||||
|
||||
void loop(){
|
||||
// Updates deltatime
|
||||
time.update();
|
||||
|
||||
stepperXLoop();
|
||||
|
||||
bool left = digitalRead(LeftPin) == LOW;
|
||||
bool right = digitalRead(RightPin) == LOW;
|
||||
|
||||
processJoystickInput(left, right);
|
||||
|
||||
// //Serial.print(millis());
|
||||
|
||||
// Serial.print("Left state: ");
|
||||
// Serial.print(left);
|
||||
// Serial.print(" | ");
|
||||
// Serial.print("Right state: ");
|
||||
// Serial.println(right);
|
||||
|
||||
if (Serial.available() > 0){
|
||||
Serial.flush();
|
||||
}
|
||||
|
||||
|
||||
delay(10); // delay in milliseconds
|
||||
}
|
||||
|
||||
void beginGrabSequence(){
|
||||
moveStepper(StepperAxis::Y, 10000, -1000);
|
||||
moveStepper(StepperAxis::Y, 10000, -1000);
|
||||
}
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
C:\FastAccessFiles\CloudSync\CodeProjects\2024\ClawMachineOverhaul\build\sketch\ClawMachineOverhaul.ino.cpp.o: \
|
||||
C:\FastAccessFiles\CloudSync\CodeProjects\2024\ClawMachineOverhaul\build\sketch\ClawMachineOverhaul.ino.cpp \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/Arduino.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/binary.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/WCharacter.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/WString.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/HardwareSerial.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/Stream.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/Print.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/Printable.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/USBAPI.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/Arduino.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\mega/pins_arduino.h \
|
||||
C:\FastAccessFiles\CloudSync\CodeProjects\2024\ClawMachineOverhaul\build\sketch\StepperController.h \
|
||||
C:\Users\BOTAlex\Documents\Arduino\libraries\SpeedyStepper\src/SpeedyStepper.h \
|
||||
C:\Users\BOTAlex\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/arduino.h \
|
||||
C:\FastAccessFiles\CloudSync\CodeProjects\2024\ClawMachineOverhaul\build\sketch\StepperXController.h \
|
||||
C:\Users\BOTAlex\Documents\Arduino\libraries\ContinuousStepper\src/ContinuousStepper.h \
|
||||
C:\Users\BOTAlex\Documents\Arduino\libraries\ContinuousStepper\src/ContinuousStepper.hpp \
|
||||
C:\Users\BOTAlex\Documents\Arduino\libraries\ContinuousStepper\src/ContinuousStepper/ContinuousStepperImpl.hpp \
|
||||
C:\Users\BOTAlex\Documents\Arduino\libraries\ContinuousStepper\src/ContinuousStepper/OutputPin.hpp \
|
||||
C:\Users\BOTAlex\Documents\Arduino\libraries\ContinuousStepper\src/ContinuousStepper/StepperInterfaces.hpp \
|
||||
C:\Users\BOTAlex\Documents\Arduino\libraries\ContinuousStepper\src/ContinuousStepper/Tickers/Tone.hpp \
|
||||
C:\Users\BOTAlex\Documents\Arduino\libraries\ContinuousStepper\src/ContinuousStepper/Tickers/OscillatorTicker.hpp \
|
||||
C:\FastAccessFiles\CloudSync\CodeProjects\2024\ClawMachineOverhaul\build\sketch\Time.h
|
Binary file not shown.
|
@ -1,72 +0,0 @@
|
|||
#line 1 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\StepperController.h"
|
||||
#include <SpeedyStepper.h>
|
||||
|
||||
#define NUM_STEPPERS 3
|
||||
// [X, Y, Head]
|
||||
const int stepPins[NUM_STEPPERS] = {60, 26};
|
||||
const int dirPins[NUM_STEPPERS] = {61, 28};
|
||||
const int enablePins[NUM_STEPPERS] = {56, 24};
|
||||
|
||||
|
||||
enum StepperAxis{
|
||||
Y,
|
||||
Head
|
||||
};
|
||||
|
||||
SpeedyStepper steppers[NUM_STEPPERS];
|
||||
bool isMoving[NUM_STEPPERS];
|
||||
|
||||
void initSteppers(){
|
||||
for (int i = 0; i < NUM_STEPPERS; i++) {
|
||||
pinMode(stepPins[i], OUTPUT);
|
||||
pinMode(dirPins[i], OUTPUT);
|
||||
pinMode(enablePins[i], OUTPUT);
|
||||
|
||||
// Enable the stepper motor
|
||||
digitalWrite(enablePins[i], HIGH); // Assuming HIGH disables the motor
|
||||
}
|
||||
|
||||
for (int i = 0; i < NUM_STEPPERS; i++) {
|
||||
digitalWrite(enablePins[i], LOW); // Assuming LOW enables the motor
|
||||
|
||||
// Attach the stepper motor to the pins
|
||||
steppers[i].connectToPins(stepPins[i], dirPins[i]);
|
||||
steppers[i].setStepsPerRevolution(200);
|
||||
}
|
||||
}
|
||||
|
||||
// void stepperLoop(){
|
||||
// for (int i = 0; i < NUM_STEPPERS; i++) {
|
||||
// SpeedyStepper* selectedStepper = &(steppers[i]);
|
||||
// if (!selectedStepper->motionComplete())
|
||||
// {
|
||||
// selectedStepper->processMovement();
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
void moveStepperByIndex(int stepperIndex, int speed, int position, int accel = 2000){
|
||||
isMoving[stepperIndex] = true;
|
||||
|
||||
SpeedyStepper* selectedStepper = &(steppers[stepperIndex]);
|
||||
selectedStepper->setAccelerationInMillimetersPerSecondPerSecond(accel);
|
||||
selectedStepper->setSpeedInStepsPerSecond(speed);
|
||||
|
||||
selectedStepper->setupMoveInMillimeters(position);
|
||||
|
||||
while (!selectedStepper->motionComplete())
|
||||
{
|
||||
selectedStepper->processMovement();
|
||||
}
|
||||
}
|
||||
void moveStepper(StepperAxis axis, int speed, int position, int accel = 2000) {moveStepperByIndex(axis, speed, position, accel);}
|
||||
|
||||
void stopStepperByIndex(int stepperIndex){
|
||||
if (!isMoving[stepperIndex]) return;
|
||||
|
||||
if (!steppers[stepperIndex].motionComplete()) return;
|
||||
|
||||
steppers[stepperIndex].setupStop();
|
||||
isMoving[stepperIndex] = false;
|
||||
}
|
||||
void stopStepper(StepperAxis axis){stopStepperByIndex(axis);}
|
|
@ -1,35 +0,0 @@
|
|||
#line 1 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\StepperXController.h"
|
||||
#include <ContinuousStepper.h>
|
||||
#include <ContinuousStepper/Tickers/Tone.hpp>
|
||||
|
||||
ContinuousStepper<StepperDriver, ToneTicker> stepper;
|
||||
|
||||
void initXStepper(){
|
||||
stepper.begin(/*step=*/54, /*dir=*/55);
|
||||
stepper.setAcceleration(10000000);
|
||||
pinMode(38, OUTPUT);
|
||||
}
|
||||
|
||||
void stepperXLoop(){
|
||||
stepper.loop();
|
||||
}
|
||||
|
||||
bool isMovingLeft = false;
|
||||
void processJoystickInput(bool left, bool right){
|
||||
if (left){
|
||||
// if (!isMovingLeft){
|
||||
// isMovingLeft = true;
|
||||
// stepper.stop();
|
||||
// }
|
||||
stepper.spin(16000);
|
||||
}
|
||||
else if (right){
|
||||
// if (isMovingLeft){
|
||||
// isMovingLeft = false;
|
||||
// stepper.stop();
|
||||
// }
|
||||
stepper.spin(-16000);
|
||||
}
|
||||
else
|
||||
stepper.stop();
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
#line 1 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\Time.h"
|
||||
class Time {
|
||||
private:
|
||||
unsigned long lastTime;
|
||||
float m_deltaTime;
|
||||
|
||||
public:
|
||||
Time() {
|
||||
lastTime = millis();
|
||||
m_deltaTime = 0.0f;
|
||||
}
|
||||
|
||||
void update() {
|
||||
unsigned long currentTime = millis();
|
||||
m_deltaTime = (currentTime - lastTime) / 1000.0f; // Convert to seconds
|
||||
lastTime = currentTime;
|
||||
}
|
||||
|
||||
float deltaTime() {
|
||||
return m_deltaTime;
|
||||
}
|
||||
};
|
|
@ -1,8 +0,0 @@
|
|||
#line 1 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\classes\\CommandTypes.h"
|
||||
enum CommandType{
|
||||
Move,
|
||||
Chain,
|
||||
Power,
|
||||
Speed,
|
||||
Accel
|
||||
};
|
|
@ -1,7 +0,0 @@
|
|||
#line 1 "C:\\FastAccessFiles\\CloudSync\\CodeProjects\\2024\\ClawMachineOverhaul\\classes\\ICommand.h"
|
||||
#include "CommandTypes.h"
|
||||
|
||||
class ICommand {
|
||||
public:
|
||||
CommandType getCommandType();
|
||||
};
|
Loading…
Reference in New Issue