Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20613

BASCOM-AVR Old versions : Atmega128 Uart0 and Uart1 both Interupt reception howto? : REPLY

$
0
0
Hi Kimmi.. I have tested the code, but what i already expected.. the Flush code.. also flushes the bytes i need.. On my other thread i have posted a link to a video that describes the problem.. For anyone else about my question on this thread,, here is the answer i have found [code:1:eed67ec3eb] Enable Interrupts Config Com1 = 4800 , Synchrone = 0 , Parity = None , Stopbits = 2 , Databits = 8 , Clockpol = 0 Config Com2 = 4800 , Synchrone = 0 , Parity = None , Stopbits = 2 , Databits = 8 , Clockpol = 0 'Port 0 Enable Urxc : On Urxc Usart0_rxc_isr 'allow interrupts on USART0 receive complete 'Port 1 Enable Urxc1 : On Urxc1 Usart1_rxc_isr 'allow interrupts on USART1 receive complete do ----//---- code ----//---- loop Usart0_rxc_isr: Return Usart1_rxc_isr: Return [/code:1:eed67ec3eb]

Viewing all articles
Browse latest Browse all 20613

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>