Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 5 months ago. This question has been closed. Reason: Off Topic
How change pin function ?
Hi, I am using the Nucleo-F745ZG that has 15 digital pin but I need more. If it's possible how can I change the function of other pins of the board to digital function ?
Thank for helping me,
Cécile R
Question relating to:
2 Answers
7 years, 5 months ago.
I don't know how you mean it has 15 digital pins. However on the pinout diagram every pin that is labelled blue (so called for example PE_4), can be used as digital pin. Just use DigitalIn / DigitalOut to make a digital function on that pin.
7 years, 5 months ago.
First, could you please tell me what '15 digital pin' means? The STM32F746ZG is LQFP144 package with over 100 availble IO pins, and nearly every Pin can be configured as GPIO_OUTPUT function. I think you can just use those pins which are not used by your peripherals and init them as usual.
Hello Cecile you'd use shift registers to drive more digital pins. Regards, Lorenzo
posted by Lorenzo Arrigoni 09 Jun 2017