Yahoo Groups archive

SynthModules

Index last updated: 2026-04-28 23:14 UTC

Message

Re: A Bug?

2004-05-05 by Mike Marsh

Thanks for this, Brice.  I think I will convert my little CALCNOTE 
template to LONGs and see what happens...

I also re-read the Good Doctor's 96 and understood much of what he 
said more fully.  Especially the IF/THEN syntax thing that DROVE ME 
FRICKIN NUTS for about twenty minutes until I rediscovered the issue.

Is there any documentation for the IDE, BTW?  I haven't seen it on 
the site or in the download...

Mike

--- In SynthModules@yahoogroups.com, "Brice D. Hornback" 
<synthmodules@s...> wrote:
> Correct.
> 
> P4 is the START Button
> P5 is the STOP Button
> 
> I have a template I'll be uploading later tonight or tomorrow that 
has all
> the corrections and some suggestions, tips, etc.  The problem 
is... there
> were some typos in the first few pieces of code put online and 
then folks
> just started using them as templates and kept repeating the same 
mistakes.
> Sorry about that.  The AUX port is protected.  I know a lot of the 
code
> shows it as digital I/O and unbuffered.  The REV1.0b boards had 
the fix on
> the jacks.  The new REV1.0c boards have the fix on the PCB.
> 
> Here's another example...
> 
> DIRS sets the direction of all 16 I/O pins. Note: this is opposite 
of the
> standard Atom and BASIC Stamp.  It should be (for example):
> 
> DIRS = %1111110000000000 ' Configure Pins    0=input  1=output
> 
> One of these days... I'll take *all* the code offline and fix it 
all then
> re-upload it.  Currently, I'm working on making a few of the 
subroutines run
> faster and will incorporate those changes as well.  The variable 
types LONG
> and FLOAT process *MUCH* faster than WORD, BYTE, NIB (which is 
fixed in IDE
> version 7.2.0.3), and BIT!  So... by making all the variables that 
are
> currently WORD or BYTE into LONG will speed up the processing.  
This only
> becomes an issue when we run out of the 2K of RAM and have to start
> optimizing the code for space instead of speed.
> 
> Also... yes... I'm saving questions and answers and putting 
together a FAQ.
> I've just been REALLY busy building modules (Henry Ford I'm 
*not*! -
> However... you can have any color faceplate you like as long as 
it's black.
> hehe) and haven't had time to write/fix code or the FAQ or just 
about
> anything else.
> 
> Thanks,
> Brice
> http://www.SynthModules.com
> 
> ----- Original Message ----- 
> From: "Mike Marsh" <mmarsh@w...>
> To: <SynthModules@yahoogroups.com>
> Sent: Wednesday, May 05, 2004 5:20 PM
> Subject: [SynthModules] A Bug?
> 
> 
> > There might be a bug in the standard variables code that's in 
most
> > of the sample programs.  Though I haven't seen anybody use these
> > variables, if they do it could cause a problem.  Or maybe I'm
> > mistaken?
> >
> > BSTART CON 5 ' Start Button - IS THIS A BUG? Should be Stop?
> > BSTOP CON 4 ' Stop  Button - IS THIS A BUG? Should be Start?
> >
> > Mike
> >
> >
> >
> >
> > Be sure to check out the primary Web site at:
> > http://www.SynthModules.com
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.