In SX Microcontrollers, SX/B Compiler and SX-Key Tool, stef wrote: Hi Thanks to you guy's I solved my latest problem with the resonator. So I could back again focus on the sx/b program. Today I created the code for the dtmf decoding and that wend all well. I programd an output (relay is connected) that wen sombody dials *9# on his phone the relay is aktivated for 10 sec. Did the same for *7# and a second relay. That is working. Now I want to read also from a serial connection to a pc and reakt on it. So I used serin RC.2, T9600, data, 100, nochar. That is reading a byte in the data var. If nothing is recieving it is exiting the command after 100 milsec to nochar label. I did it because else the serin command is blocking my program. I'm using a max 233 betwien the sx and the pc. It seems like I never recieve any byte on it. I double cheked with a scoop on the rc.2 pin and thier I see the pinchange happen when thier is something send. (from hyperterminal on other pc puched on the a or b or c key). Rc.2 is getting back high if noting is going on. So the bits ar on rc.2. Why do I get nothing on the data byte?? Some sugestions. Stef ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=193796 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)