hi for_ro
thank you
but my problem is "unwanted interrupt"
means i must write this code?
[code:1:63038498f6]
$regfile = "m16def.dat"
$crystal = 12000000
$baud = 9600
Config Portb = Output
Enable Interrupts
Enable Udre
On Udre Code
Do
Loop
End
Code:
Disable Udre
Toggle Portb.0
Wait 1
Enable Udre
Return
[/code:1:63038498f6]
but i test it and portb.0 still be toggle every 1 secend
how you write a program that do same job ?( if micro recive a carecter toggle portb.0 and wait 1 secend)
↧