Hi, last month I finish a project were a 16f15344 must receive data (13 bytes max) from 2 different devices via hardware uart1 & uart2 using interrupts, command HserReceive1 worked fine but HserReceive2 always stuck
after examine the asm file I found a wrong definition, HserReceive2 try to use uart1 instead of uart2. Please check all the HserReceiveX commands, especially the FN_HSERRECEIVE2 function, thanks
Hi, last month I finish a project were a 16f15344 must receive data (13 bytes max) from 2 different devices via hardware uart1 & uart2 using interrupts, command HserReceive1 worked fine but HserReceive2 always stuck
after examine the asm file I found a wrong definition, HserReceive2 try to use uart1 instead of uart2. Please check all the HserReceiveX commands, especially the FN_HSERRECEIVE2 function, thanks
Yes, agree. We have updated the USART.h library. Would you try the latest version?
https://sourceforge.net/p/gcbasic/discussion/579125/thread/a3d65cf769/ec61/attachment/usart.h