Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/modules/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Home = (props) => {
<div className="intro-link-child">
<h3 className="intro-header">OAT/OAM/OAE Firmware Configuration Generator</h3>
<a className="intro-link" href="steps">START</a>
<p className="version">V3.12</p>
<p className="version">V3.13</p>
</div>
</div>

Expand Down
4 changes: 0 additions & 4 deletions src/modules/configurations/base/commonSteps.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,6 @@ export const createDECStepperStep = () => ({
{ key: 'BY', value: 'Modded 28BYJ-48 (Bipolar)', image: '/images/byj48.png', defineValue: 'STEPPER_TYPE_ENABLED', additionalLines: ['#define DEC_STEPPER_SPR 2048.0f'], condition: "($stepperlib != N)" },
]
},
postamble: [{
literal: ['#define DEC_WHEEL_CIRCUMFERENCE 816.814f'],

}],
});

// DEC Driver step (OAT/OAM/OAE)
Expand Down
22 changes: 15 additions & 7 deletions src/modules/configurations/oam/oamSteps.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,8 @@ export const getOAMSteps = () => [
{ key: 'S', label: 'Microstepping setting', defaultValue: '{Defaults.OAMMicrostepping.decstpr}', defineLine: '#define DEC_SLEW_MICROSTEPPING {0}\n#define DEC_GUIDE_MICROSTEPPING {0}' },
]
},
postamble: [{
literal: [
'',
'// Is it going the wrong way?',
'#define DEC_INVERT_DIR 0'
]
}]
},

createDECPulleyTeethStep(),
{
id: 'DLO',
Expand All @@ -145,7 +139,21 @@ export const getOAMSteps = () => [
{ key: 'N', label: 'Degrees DEC can move from Home', defaultValue: '120', defineLine: '#define DEC_LIMIT_UP {0} // degrees from Home\n#define DEC_LIMIT_DOWN {0}' },
]
},
postamble: [{
literal: [
'',
'// Is it going the wrong way?',
'#define DEC_INVERT_DIR 0',
'',
'// DEC Wheel Circumference',
['#define DEC_WHEEL_CIRCUMFERENCE 816.814f'],
]
}]

},



{
id: 'ZST',
title: 'Azimuth Stepper',
Expand Down