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, 8 months ago. This question has been closed. Reason: Duplicate question
When I Use the SPI driver and Can't control GPIO Inpuits
I can no longer get gpio pins on different spi channels to operate as gpio.
Example using: SPI spi(P4_6, P4_7, P4_4);
I can no longer get
toggle = new DigitalOut(P1_2);
toggle = 1;
toggle = 0;
It works until I call.... spi.format, spi.frequency or spi.write After that it stops working....?