Browse
STMicroelectronics Community
FAQs
Sign In
Product forums
STM32 MCUs
STM32 MCUs Products
STM32 MCUs Boards and hardware tools
STM32 MCUs Software development tools
STM32 MCUs Embedded software
STM32 MCUs TouchGFX and GUI
STM32 MCUs Motor control
STM32 MCUs Security
STM32 MCUs Wireless
STM32 MPUs
STM32 MPUs Products
STM32 MPUs Boards and hardware tools
STM32 MPUs Embedded software and solutions
STM32 MPUs Software development tools
MEMS and sensors
MEMS (sensors)
Imaging (sensors)
Automotive and Transportation
Automotive MCUs
AutoDevKit Ecosystem
GNSS positioning
Edge AI
Analog and audio
Interface and connectivity ICs
Power management
ST25 NFC/RFID tags and readers
STM8 MCUs
Other: hardware
Other: software
Knowledge base
STM32 MCUs
STM32 MPUs
MEMS and sensors
Analog and audio
EMI filtering and signal conditioning
Interface and connectivity ICs
Power management
Quality & reliability
Academy
About
Community guidelines
Feedback forum
Community blog
Developer news
inotec
Associate III
since
2018-12-15
2023-06-14
User statistics
11
Posts
0
Solutions
0
Kudos given
1
Kudos received
View all badges
STMicroelectronics Community
About inotec
Options
Report User
User Activity
Posts
Replies
I want to change source formatting of if statements from the top example to the bottom example shown. I want the brackets to align with the if, i.e. same column..
2022-07-15
if (SW1Pressed_F && (!SW1ActionTaken_F)) { DesiredSpeed = 10; DesiredDirection = LEFT; } if (SW1Pressed_F && (!SW1ActionTaken_F)) { DesiredSpeed = 10; DesiredDirection = LEFT; }
Re: What is the best way to duplicate a project in a workspace in Stm32CubeIDE?
2023-04-07
Thank you, Rajat!Very helpful!
Re: What is the best way to duplicate a project in a workspace in Stm32CubeIDE?
2022-09-13
Thanks for the help
Re: I want to change source formatting of if statements from the top example to the bottom example shown. I want the brackets to align with the if, i.e. same column..
2022-07-20
Thank you for the response. Very helpful.
Re: I want to change source formatting of if statements from the top example to the bottom example shown. I want the brackets to align with the if, i.e. same column..
2022-07-18
Yes, but without the lines before the brackets:if (SW1Pressed_F && (!SW1ActionTaken_F)) { DesiredSpeed = 10; DesiredDirection = LEFT; }1. if (SW1Pressed_F && (!SW1ActionTaken_F))2. {3.4. DesiredSpeed = 10;5.6. DesiredDirection = LEFT;7. }
Re: I want to change source formatting of if statements from the top example to the bottom example shown. I want the brackets to align with the if, i.e. same column..
2022-07-15
Nope, screwed it up again
View more
Kudos from
User
Count
matheuscaltran
1
View all