diff --git a/src/modules/Home.jsx b/src/modules/Home.jsx index 93741b8..a6c0462 100644 --- a/src/modules/Home.jsx +++ b/src/modules/Home.jsx @@ -13,7 +13,7 @@ const Home = (props) => {

OAT/OAM/OAE Firmware Configuration Generator

START -

V3.12

+

V3.13

diff --git a/src/modules/configurations/base/commonSteps.js b/src/modules/configurations/base/commonSteps.js index d14841d..12cd4bf 100644 --- a/src/modules/configurations/base/commonSteps.js +++ b/src/modules/configurations/base/commonSteps.js @@ -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) diff --git a/src/modules/configurations/oam/oamSteps.js b/src/modules/configurations/oam/oamSteps.js index 7662237..58937a5 100644 --- a/src/modules/configurations/oam/oamSteps.js +++ b/src/modules/configurations/oam/oamSteps.js @@ -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', @@ -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',