In SX Microcontrollers, SX/B Compiler and SX-Key Tool, George Frame wrote: Hi, I have worked with the Basic Stamp for a few years now and have recently started to work with the SX chip utilizing SX/B. The program that I have been working on (attached) utilizes a 12-bit A/D (MAX 187) to read a analog voltage and display the scaled result on a 16x2 LCD in 4-bit Mode. I do have this program operating, however, I would like to make some improvements. In particular I have trouble making two subroutines work by first setting them up in the Subroutine Declarations. It seems that I am only sending 1 byte to the sub, but when try to complie it I get "Invalid Number of Parameters". The program will operate if I use "gosub" prior to these subs. Any help on the subject would be appreciated. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=190165 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)