Loading...
 
Skip to main content

System Workbench for STM32


Uxe GPIO port defs in variables?

Hi, I'vwe got some code that assigns a GPIO port using a #define:

  1. define SSD1306_CS_Port LCD_CS1_GPIO_Port


where LCD_CS1_GPIO_Port is set to GPIOF

I want to make SSD1306_CS_Port a variable so I can change the port number, How do I do that?

Thanks!

--TimR