So I'm writing this program to write into hyperterminal using button presses and here is a snippet of my code
I want it to wait until [button]=1 (ie the button is released) before doing it's next actionCode:if (button1==0)//button is pressed { uart_transmit('L'); } if (button2==0) { uart_transmit('U'); } if (button3==0) { uart_transmit('K'); } if (button4==0) { uart_transmit('E'); }
How would I do this?