Need help with pins for i/o - how I can set them? January 03, 2023 11:54PM |
Registered: 1 year ago Posts: 15 |
#define CUSTOM_USER_BUTTONS #if ENABLED(CUSTOM_USER_BUTTONS) #define BUTTON1_PIN PC9 // is pin 66 #if PIN_EXISTS(BUTTON1) #define BUTTON1_HIT_STATE HIGH // tried LOW too #define BUTTON1_WHEN_PRINTING false // Button allowed to trigger during printing? #define BUTTON1_GCODE "G0 X5" #define BUTTON1_DESC "Move X 5" // Optional string to set the LCD status #endif
#define DIRECT_PIN_CONTROL #define CUSTOM_1 PA8 // 67
Re: Need help with pins for i/o - how I can set them? January 04, 2023 03:25AM |
Registered: 7 years ago Posts: 341 |
Re: Need help with pins for i/o - how I can set them? January 04, 2023 03:42AM |
Admin Registered: 13 years ago Posts: 7,007 |
#elif MB(FYSETC_SPIDER_V2_2) #include "stm32f4/pins_FYSETC_SPIDER_V2_2.h" // STM32F4 env:FYSETC_S6 env:FYSETC_S6_8000
# # FYSETC S6 (STM32F446RET6 ARM Cortex-M4) # [env:FYSETC_S6] extends = stm32_variant board = marlin_fysetc_s6
#define PA6 6 //D6 #define PA7 7 //D7 #define PA8 8 //D8 #define PA9 9 //D9 #define PA10 10 //D10 ... #define PC7 39 //D39 #define PC8 40 //D40 #define PC9 41 //D41 #define PC10 42 //D42 #define PC11 43 //D43
Re: Need help with pins for i/o - how I can set them? January 04, 2023 04:29AM |
Registered: 1 year ago Posts: 15 |
Re: Need help with pins for i/o - how I can set them? January 05, 2023 05:44AM |
Registered: 1 year ago Posts: 15 |
Re: Need help with pins for i/o - how I can set them? January 05, 2023 06:07AM |
Admin Registered: 13 years ago Posts: 7,007 |
Re: Need help with pins for i/o - how I can set them? January 05, 2023 08:05AM |
Registered: 1 year ago Posts: 15 |