Hi. Using the FRDM KE02 for developing a project (using CWIDE + processor expert), the following problem came up:
The program consists of the following: when pressing a button, the last pressed button, is saved in the variable (unsigned char last_pressed_button). That works correctly. What I want to do is to save this pressed buttons in a string (char * pressed_buttons). The problem is that when I want save the pressed buton (using: pressed_buttons[i] = last_pressed_button) the MCU misteriously stops running.
What am I doing something wrong?