RB6 can use Interrupt on change, so yes you can use it.
It show one problem though, it will detect the Start-Bit... so there's big chance that SERIN/DEBUGIN/SERIN2 will not work as expected. But you could roll your own serial routine which will ignore the start-bit. This will work or not depending of your Baudrate and if you go on a ASM or PBP interrupt + home made serial routine. When using Darrel's instant interrupt with PBP type, it need some time to save/restore PBP systems var. Have a look at the following
http://darreltaylor.com/DT_INTS-14/kudos.html
If you create your own PC software, OR if you create your own transmitter with another PIC... then it open a few other possibilities.
But yeah, when at all possible, I prefer the USART interrupt as well.
Last edited by mister_e; - 29th April 2009 at 18:09.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks