8 years, 1 month ago.  This question has been closed. Reason: Off Topic

digital pins creating initialization error on touchscreen

Im currently using an stm32f469i disco board. I have recently come across an issue where my digital pins D15 and D14 are creating an initialization error on my touchscreen. It only occurs under these two cinditions: 1) when either one or both of the pins are declared ( eg. DigitalIn op(D15 )) 2) when an input is made to those two pins.

However th pins function correctly without using a program that requires the touch screen ( eg. If ( op == 1 ) { Led_blue = 1;} )

The pins worked perfectly fine before hand even with using the touchscreen. I think it started givin this problem after i tried using those two inputs as interrupts. ( InterruptIn op(D15)).

I am rather new to mbed and still learn. Any help would be much appreciated. Thanks