In SX Microcontrollers, SX/B Compiler and SX-Key Tool, kehnan wrote: Hi Bean, I do attach a 10k resistor on /MCLR to vdd. The purpose of my code is to send data to a COM port by routing through MAX232 driver. The same code is doing by BS2 very well, and doing correctly on SX debug mode. Here is code below, sending out characters a~z via Max 232, it's just a test. ----------------------------------------------------------------------------------------------- Start: tris_a.0=1 tris_a.1=0 tris_a.2=1 tris_a.3=1 i VAR Byte char VAR Byte (1) i=0 inchar(0)=0 Main: char(0)=i+"a" SEROUT RA.1 ,T2400,char(0) PAUSE 200 toggle rb.0 i=i+1 i = i // 26 GOTO Main ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=156919#m156989 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)