Hi,
Greetings.
Our customer found an error in the example 'msp430g2xx2_pinosc_01.c ' which was downloaded using this link http://www.ti.com/lit/zip/slac467
I've copied the part that has an error.
starting from line 159:
if (delta_cnt > j) // Determine if each key is pressed
{ // per a preset threshold
j = delta_cnt;
key_pressed = 1; // key pressed
}
else
key_pressed = 1;
The 'key_pressed' should be '0' when the condition is not met. Am I correct on this?
I appreciate your feedback on this matter.
Thank you and have a great day.
Regards,
Cedrick