@@ -760,7 +760,7 @@ const WizardStep = (props) => {
760760 {
761761 id : 'DY' ,
762762 title : 'Display' ,
763- label : 'What kind of display are you using:' ,
763+ label : 'What kind of interactive display are you using:' ,
764764 variable : 'display' ,
765765 define : 'DISPLAY_TYPE' ,
766766 preamble : [ '////////////////////////////////' , '// Display configuration ' , '// Define the type of display we are using. Currently: {v}' ] ,
@@ -775,6 +775,30 @@ const WizardStep = (props) => {
775775 ]
776776 } ,
777777 } ,
778+ {
779+ id : 'IDY' ,
780+ title : 'Informational Display' ,
781+ label : 'What kind of information display are you using:' ,
782+ variable : 'infodisplay' ,
783+ condition : "($display == NO)" ,
784+ preamble : [ '////////////////////////////////' , '// InfoDisplay configuration ' , '// Define the type of info display we are using. Currently: {v}' ] ,
785+ control : {
786+ type : 'radioimg' ,
787+ choices : [
788+ { key : 'NO' , value : 'No info display' , image : '/images/none.png' , additionalLines : [ '#define INFO_DISPLAY_TYPE INFO_DISPLAY_TYPE_NONE' ] } ,
789+ { key : 'OLED' , value : 'I2C 128x64 OLED display' , image : '/images/oledsmall.png' , additionalLines : [ '#define INFO_DISPLAY_TYPE INFO_DISPLAY_TYPE_I2C_SSD1306_128x64' ] } ,
790+ ]
791+ } ,
792+ postamble : [
793+ { literal : [ '#define INFO_DISPLAY_I2C_ADDRESS 0x3C' ] } ,
794+ { literal : [ '#define INFO_DISPLAY_I2C_SDA_PIN 20' ] } ,
795+ { literal : [ '#define INFO_DISPLAY_I2C_SCL_PIN 21' ] } ,
796+ {
797+ literal : [ '// Note that the E1 port is not usable since I2C requires pin 21!' ] ,
798+ condition : "($board == M10) OR ($board == M20) OR ($board == M21)" ,
799+ } ,
800+ ] ,
801+ } ,
778802 {
779803 id : 'WW' ,
780804 title : 'Use WiFi' ,
@@ -1082,7 +1106,7 @@ const WizardStep = (props) => {
10821106 '// AZ parameters will require tuning according to your setup' ,
10831107 '' ,
10841108 '// If you have a custom solution involving a rod you can uncomment and use the next 3 lines for calculations' ,
1085- '// #define AZ_CIRCUMFERENCE (115 * 2 * 3.1515927 ) // the circumference of the circle where the movement is anchored' ,
1109+ '// #define AZ_CIRCUMFERENCE (115 * 2 * 3.1415927 ) // the circumference of the circle where the movement is anchored' ,
10861110 '// #define AZ_ROD_PITCH 1.0f // mm per full rev of stepper' ,
10871111 '// #define AZIMUTH_STEPS_PER_REV (AZ_CIRCUMFERENCE / AZ_ROD_PITCH * AZ_STEPPER_SPR * AZ_MICROSTEPPING) // Steps needed to turn AZ 360deg' ,
10881112 '' ,
0 commit comments