question18
swrc117
in the: io_multi_in_out.c
description section said:"...When a rising edge is detected on the P1_6, the ISR for that pin will be executed."
the soft continues..
// Generate interrupt on falling edge from port 1
PICTL |= PICTL_P1ICON;
so really is a falling edge detection interrup because PICTL_P1ICON=0x02
1)the P1_6 is configured as input,and the soft comments said as output
2)the interrupt detection as falling edge and the descrip said rising edge
--------------------
P1_1 but where??
on setup test stuff said:
* Setup test stuff
*
*/
// Initialize P1_1/3 for SRF04EB LED1/3
P1SEL &= ~(BIT3 | BIT0);
P1_0 = 1; P1_3 = 1;
P1DIR |= (BIT3 | BIT0);
there are only two leds or pins configured,P1_0,and P1_3
so where is the mentioned P1_1???