AEK-MCU-C4MLIT1 - How to read from first push Button? - LLD readpad
Hi,
I tried to make an easy test of this board. when the button sw3 is pushed, LED 2 shall start blinking.
Sadly it looks like my if statement equals always 0.
Measuring the voltage on the testpin it looks like my MCU is sinking the complete voltage, no matter if the button is pressed or not.
How do i configure the GPIO in a way that I could read from it without it to sink all the current?
And where do I find this SIUL Documentation I should read before dealing with the advanced settings?
if(pal_lld_readpad(PORT_F, sw3) == 1){
pal_lld_togglepad(PORT_F,led2);
osalThreadDelayMilliseconds(50);
};
sw3 = PF13 = Pin84

