In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: I checked the sx using this program. And it works fine, I measured 10KHz on RC.0 and 78Hz on RC.7 So it seems it is a debugger bug ;) ;---------------------- DEVICE SX28L,OSCHS2,TURBO,STACKX,OPTIONX IRC_CAL IRC_SLOW RESET Initialize FREQ 1_000_000 ORG 0 BREAK INC RC MOV W,#-50 RETIW Initialize MODE $0F MOV !RC,#0 ; All outputs CLR RC MOV !OPTION,#%10011111 ;enable rtcc interrupt Main :loop JMP :loop ;--------------------------- Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=92453#m92520 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)