1
µTasker general / Re: utasker
« on: September 22, 2017, 05:01:25 AM »
hi Mark,
1. The VS2017 is working now
2. regarding COM0COM for UART loopback: I changed
3. IRQ : I enabled the the interrupt on botth edges and i've modified the IRQ handler as follows
thanks for your help!!
1. The VS2017 is working now
2. regarding COM0COM for UART loopback: I changed
Code: [Select]
#define SERIAL_PORT_0 0 but I was unable open COM 0 on tera term .and simulate on VS am I missing something?3. IRQ : I enabled the the interrupt on botth edges and i've modified the IRQ handler as follows
Code: [Select]
case IRQ11_EVENT:
fnDebugMsg("11");
if (PORTGP & PORT_GP_BIT3)
fnDebugMsg("Low Edge");
else fnDebugMsg("High Edge");
break;
Code: [Select]
interrupt_setup.int_port_bit = 11; // the IRQ input connected (on all devices)
interrupt_setup.int_port_sense = IRQ_BOTH_EDGES;
I download the cod to the EVB and It detect both edges when I press the SW3 but I the debugger always print "Low Edge" . is it possible to read the BIt on PORT GP when we get the interrupt??thanks for your help!!