Replies: 1 comment 1 reply
-
Look at https://github.com/betaflight/betaflight/blob/master/src/main/drivers/io.h
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
as the title already mentions, I want to set a specific pin to low. In particular, I would like to set pin C11 to low. I need to do this because I build myself a custom flight controller board and I use some MOSFETS to enable (power) the peripherals like the gyroscope. So I need to build my own beta flight firmware.
I'm using a STM32F4 and tried this so far:
GPIO_WriteBit(GPIOC, GPIO_Pin_11, Bit_RESET);
Unfortunately, this does not work. Does somebody know how to set a pin to low? Any help is very appreciated.
Beta Was this translation helpful? Give feedback.
All reactions