Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | Re: New to BasicX - Need info on BASIC programming Please!

Discussion forum for the BasicX family of microcontroller chips.

New to BasicX - Need info on BASIC programming Please! - eccentric_mofo - Sep 10 10:14:00 2002

Hello -

After reviewing what the BasicX had to offer over the Basic Stamp 2P,
I was sold. The BasicX has everything that I need - including ADC's
and an FPU. HOWEVER - now I need to learn how to program in BASIC.
Does anyone have any good books or sources on this? Thanks for your
help!!





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: New to BasicX - Need info on BASIC programming Please! - Mark Newell - Sep 10 13:42:00 2002

Hey,

Does the BasicX have a true FPU(Floating Point Unit)
or is it done by software subroutines. And as a side
question what is the opinion for a good small
processor or co-processor that has a true FPU in it?

Mark
--- eccentric_mofo <> wrote:
> Hello -
>
> After reviewing what the BasicX had to offer over
> the Basic Stamp 2P,
> I was sold. The BasicX has everything that I need -
> including ADC's
> and an FPU. HOWEVER - now I need to learn how to
> program in BASIC.
> Does anyone have any good books or sources on this?
> Thanks for your
> help!!

__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute






(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: New to BasicX - Need info on BASIC programming Please! - Mike Corson - Sep 10 14:20:00 2002


This is a great question! I am also new to the BX24 and would like some good reference material on programming them. However, independently, I have had little luck on finding good sources of self training material.
-Mike
eccentric_mofo wrote: Hello -

After reviewing what the BasicX had to offer over the Basic Stamp 2P,
I was sold. The BasicX has everything that I need - including ADC's
and an FPU. HOWEVER - now I need to learn how to program in BASIC.
Does anyone have any good books or sources on this? Thanks for your
help!!

---------------------------------
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost

[Non-text portions of this message have been removed]




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: New to BasicX - Need info on BASIC programming Please! - v8fd - Sep 10 15:09:00 2002

The floats are done in software. For me it seems to be 1.5 to 2 times
slower than ints.
What are you trying to do, that needs fast floats?
-Les
--- In basicx@y..., Mark Newell <m_l_newell@y...> wrote:
> Hey,
>
> Does the BasicX have a true FPU(Floating Point Unit)
> or is it done by software subroutines. And as a side
> question what is the opinion for a good small
> processor or co-processor that has a true FPU in it?
>
> Mark
> --- eccentric_mofo <eccentric_mofo@y...> wrote:
> > Hello -
> >
> > After reviewing what the BasicX had to offer over
> > the Basic Stamp 2P,
> > I was sold. The BasicX has everything that I need -
> > including ADC's
> > and an FPU. HOWEVER - now I need to learn how to
> > program in BASIC.
> > Does anyone have any good books or sources on this?
> > Thanks for your
> > help!!
> >
> > __________________________________________________
> Yahoo! - We Remember
> 9-11: A tribute to the more than 3,000 lives lost
> http://dir.remember.yahoo.com/tribute





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: New to BasicX - Need info on BASIC programming Please! - Stephen - Sep 10 15:43:00 2002

Here's a good site for some dead reckoning and IR reading using a
BX24...
He's published his source which is the best way I *try* to learn
coding.
I'm starting with his concept and changing it around for my own setup.
I hope to add a PID routine to the motor driver sub and change it
over to my locked anit-phase setup soon.

http://www.k7on.com/robotics/max.htm

--- In basicx@y..., "eccentric_mofo" <eccentric_mofo@y...> wrote:
> Hello -
>
> After reviewing what the BasicX had to offer over the Basic Stamp
2P,
> I was sold. The BasicX has everything that I need - including
ADC's
> and an FPU. HOWEVER - now I need to learn how to program in
BASIC.
> Does anyone have any good books or sources on this? Thanks for
your
> help!!




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Re: New to BasicX - Need info on BASIC programming Please! - Mark Newell - Sep 10 15:57:00 2002

Les,
Processing input from 6 sensors at 50-100hz and
running the data through math algorithms(matrix math
and inversions) that may envolve 500 - 1000 floating
point operations. This is only one subsystem. Another
part of the process is to make decisions as a result
of the above and drive out put controls.

Mark

--- v8fd <> wrote:
> The floats are done in software. For me it seems to
> be 1.5 to 2 times
> slower than ints.
> What are you trying to do, that needs fast floats?
> -Les >
> --- In basicx@y..., Mark Newell <m_l_newell@y...>
> wrote:
> > Hey,
> >
> > Does the BasicX have a true FPU(Floating Point
> Unit)
> > or is it done by software subroutines. And as a
> side
> > question what is the opinion for a good small
> > processor or co-processor that has a true FPU in
> it?
> >
> > Mark
> > --- eccentric_mofo <eccentric_mofo@y...> wrote:
> > > Hello -
> > >
> > > After reviewing what the BasicX had to offer
> over
> > > the Basic Stamp 2P,
> > > I was sold. The BasicX has everything that I
> need -
> > > including ADC's
> > > and an FPU. HOWEVER - now I need to learn how
> to
> > > program in BASIC.
> > > Does anyone have any good books or sources on
> this?
> > > Thanks for your
> > > help!!
> > >
> > >
> >
> >
> > __________________________________________________
> > Yahoo! - We Remember
> > 9-11: A tribute to the more than 3,000 lives lost
> > http://dir.remember.yahoo.com/tribute

__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute






(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: New to BasicX - Need info on BASIC programming Please! - v8fd - Sep 10 18:00:00 2002

The data collection would be no problem, but the math would be too
slow on it.
Try a 'steroid stamp' , they cost $169 and run a MC68HC16Z1 at 25
Mhz. 8 ten bit ADC's at 100 KHz and a bunch of other stuff.
The dev system costs a bit , $500, but not too much.
Real compiled code, C

-Les

--- In basicx@y..., Mark Newell <m_l_newell@y...> wrote:
> Les,
> Processing input from 6 sensors at 50-100hz and
> running the data through math algorithms(matrix math
> and inversions) that may envolve 500 - 1000 floating
> point operations. This is only one subsystem. Another
> part of the process is to make decisions as a result
> of the above and drive out put controls.
>
> Mark
>
> --- v8fd <lesd@e...> wrote:
> > The floats are done in software. For me it seems to
> > be 1.5 to 2 times
> > slower than ints.
> > What are you trying to do, that needs fast floats?
> > -Les
> >
> >
> >
> > --- In basicx@y..., Mark Newell <m_l_newell@y...>
> > wrote:
> > > Hey,
> > >
> > > Does the BasicX have a true FPU(Floating Point
> > Unit)
> > > or is it done by software subroutines. And as a
> > side
> > > question what is the opinion for a good small
> > > processor or co-processor that has a true FPU in
> > it?
> > >
> > > Mark
> > > --- eccentric_mofo <eccentric_mofo@y...> wrote:
> > > > Hello -
> > > >
> > > > After reviewing what the BasicX had to offer
> > over
> > > > the Basic Stamp 2P,
> > > > I was sold. The BasicX has everything that I
> > need -
> > > > including ADC's
> > > > and an FPU. HOWEVER - now I need to learn how
> > to
> > > > program in BASIC.
> > > > Does anyone have any good books or sources on
> > this?
> > > > Thanks for your
> > > > help!!
> > > >
> > > >
> > >
> > >
> > > __________________________________________________
> > > Yahoo! - We Remember
> > > 9-11: A tribute to the more than 3,000 lives lost
> > > http://dir.remember.yahoo.com/tribute
> >
> > __________________________________________________
> Yahoo! - We Remember
> 9-11: A tribute to the more than 3,000 lives lost
> http://dir.remember.yahoo.com/tribute




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: New to BasicX - Need info on BASIC programming Please! - Frank Manning - Sep 11 0:02:00 2002

From: "Mike Corson" <>
>
> eccentric_mofo wrote: Hello -
>>
>> After reviewing what the BasicX had to offer over
>> the Basic Stamp 2P, I was sold. The BasicX has
>> everything that I need - including ADC's and an
>> FPU. HOWEVER - now I need to learn how to program
>> in BASIC. Does anyone have any good books or
>> sources on this? Thanks for your help!!
>
> This is a great question! I am also new to the BX24
> and would like some good reference material on
> programming them. However, independently, I have had
> little luck on finding good sources of self training
> material.

Well, if it's a question of learning the language itself, I think
probably the easiest thing is to get a VB6 compiler, since the
BasicX language is subset compatible with VB6. And there are tons
of books on Visual Basic.

As much as I like to plug BasicX, I don't think it's a very good
idea to learn how to write computer programs by using a cross
compiler targeted to a microcontroller, regardless of how good the
microcontroller is.

-- Frank Manning
-- NetMedia, Inc.





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: New to BasicX - Need info on BASIC programming Please! - eccentric_mofo - Sep 11 6:13:00 2002

So visual basic would work for programming the basicx? I thought
that visual basic might be a different "subset" of standard basic
(after all, it is a MS product!). If that's the case than I'll try
to pick up a copy of VB6......Let me know! Thanks...

--- In basicx@y..., "Frank Manning" <fmanning@n...> wrote:
> From: "Mike Corson" <knucklehead1002002@y...>
> >
> > eccentric_mofo wrote: Hello -
> >>
> >> After reviewing what the BasicX had to offer over
> >> the Basic Stamp 2P, I was sold. The BasicX has
> >> everything that I need - including ADC's and an
> >> FPU. HOWEVER - now I need to learn how to program
> >> in BASIC. Does anyone have any good books or
> >> sources on this? Thanks for your help!!
> >
> > This is a great question! I am also new to the BX24
> > and would like some good reference material on
> > programming them. However, independently, I have had
> > little luck on finding good sources of self training
> > material.
>
> Well, if it's a question of learning the language itself, I think
> probably the easiest thing is to get a VB6 compiler, since the
> BasicX language is subset compatible with VB6. And there are tons
> of books on Visual Basic.
>
> As much as I like to plug BasicX, I don't think it's a very good
> idea to learn how to write computer programs by using a cross
> compiler targeted to a microcontroller, regardless of how good the
> microcontroller is.
>
> -- Frank Manning
> -- NetMedia, Inc.





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Remember Today... - ffolkes - Sep 11 7:23:00 2002

Hello-

I'm a member of this mailing list, but I rarely contribute to it due to my
lack of knowledge. ;)

While this may be "off-topic," I think it's fitting we take the time out of
our busy schedules to say a few words about the events that took place one
year ago.

Fortunately no one I know perished, even though I live near New York City,
but I'm sure others on this mailing list lost a friend, colleague, or
family member on that tragic day. It is to those people I send my
condolences. I have no doubt in my mind that they are in a "better place"
now, looking down upon you, watching over you, and protecting you - doing
their very best to prevent you from encountering a fate similar to theirs.

I remember my feelings from last year as clearly as if it were yesterday...

I remember the horror as I turned on the TV just in time to see the second
plane hit the South tower.
I vividly remember the shock and disbelief as I saw two mighty structures
I've seen all my life, crumble right before my very eyes.
I remember staring blankly at the TV for hours, as it endlessly replayed
the footage of the collapse, trying to comprehend the loss of life.
I remember feeling puzzled as I looked at the pile of rubble that the Twin
Towers were reduced to - "Where'd they go?" I thought, "How could they just
be gone? So fast?"
I remember, for the first time in my life, seriously having to pinch my
cheek to determine if I was dreaming. Up until that point, I was absolutely
sure I was having some sort of nightmare - devastation of this magnitude
could only happen in a dream. I felt as if I would wake up any minute to
see the World Trade Center still standing. I wasn't dreaming.

May all those who died in New York City, Pennsylvania, and the Pentagon
rest in everlasting peace. And may their families take comfort in knowing
their loved ones will be watching over them. Always.

God Bless America.

ffolkes




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Re: New to BasicX - Need info on BASIC programming Please! - Tony Brenke - Sep 11 8:35:00 2002

you can download a copy of VB6 "control creation edition"
for free from microsoft.

and
basic-x is a subset of VB.
this means that only part of the VB functions are inside the basic-x language.

BUT it is still the best place to start.
I program all my bx code inside VB so i can step through it to see if I have it working the way I
want.

you still have to compile your code with the BX compiler. --- eccentric_mofo <> wrote:
> So visual basic would work for programming the basicx? I thought
> that visual basic might be a different "subset" of standard basic
> (after all, it is a MS product!). If that's the case than I'll try
> to pick up a copy of VB6......Let me know! Thanks...
>
> --- In basicx@y..., "Frank Manning" <fmanning@n...> wrote:
> > From: "Mike Corson" <knucklehead1002002@y...>
> > >
> > > eccentric_mofo wrote: Hello -
> > >>
> > >> After reviewing what the BasicX had to offer over
> > >> the Basic Stamp 2P, I was sold. The BasicX has
> > >> everything that I need - including ADC's and an
> > >> FPU. HOWEVER - now I need to learn how to program
> > >> in BASIC. Does anyone have any good books or
> > >> sources on this? Thanks for your help!!
> > >
> > > This is a great question! I am also new to the BX24
> > > and would like some good reference material on
> > > programming them. However, independently, I have had
> > > little luck on finding good sources of self training
> > > material.
> >
> > Well, if it's a question of learning the language itself, I think
> > probably the easiest thing is to get a VB6 compiler, since the
> > BasicX language is subset compatible with VB6. And there are tons
> > of books on Visual Basic.
> >
> > As much as I like to plug BasicX, I don't think it's a very good
> > idea to learn how to write computer programs by using a cross
> > compiler targeted to a microcontroller, regardless of how good the
> > microcontroller is.
> >
> > -- Frank Manning
> > -- NetMedia, Inc. >

__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Re: New to BasicX - Need info on BASIC programming Please! - Frank Manning - Sep 11 15:02:00 2002

From: "eccentric_mofo" <>

> So visual basic would work for programming the basicx?
> I thought that visual basic might be a different
> "subset" of standard basic (after all, it is a MS
> product!).

I think "standard Basic" is an oxymoron. Although I've heard there
is such a thing as an ANSI standard BASIC, I'm not sure there are
any major implementations of it. Anybody, including Microsoft, can
pretty much make up any language they want and call it Basic.

> If that's the case than I'll try to pick up a copy of
> VB6......Let me know! Thanks...

A VB6 compiler won't directly produce code for BasicX -- you still
have to use a BasicX compiler. But it is possible to write
programs that are portable between VB6 and BasicX at the source
code level.

-- Frank Manning
-- NetMedia, Inc.




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )